maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Deleted: (MAVEN-690) Torque plugin woes
Date Mon, 01 Dec 2003 15:17:37 GMT
Message:

  The following issue has been deleted from JIRA.

---------------------------------------------------------------------

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-690
    Summary: Torque plugin woes
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven

   Assignee: 
   Reporter: dion gillard

    Created: Mon, 18 Aug 2003 8:21 PM
    Updated: Mon, 15 Sep 2003 11:33 PM

Description:
Hi,

I seem to be the only one actually using this plugin. Or everyone else
never really rebuilds maven from scratch and keeps old plugins laying
around so that some pathes and / or jar dependencies work by accident.

The following patch is needed for me to get the maven-torque-plugin
functional again in the MAVEN_RC1_STABLE branch when building maven
into a fresh $MAVEN_HOME from scratch. Please apply.

- correct the dependency names for xml-apis and torque:torque-gen
  (didn't load before, worked by accident if the project had the same
   jars on its classpath.)

- Load the plugin.properties from the _right_ path.  The plugin is under
  3.2-SNAPSHOT, not 3.1

- The "latest and greatest" Velocity-1.4-dev seems to have huge problems
  loading its templates from the classpath. Go back to 1.3.1 which works
  fine.

With this patch, I'm actually able to build the current Turbine base again
with a current maven. All changes are obvious. Please apply.

		 Regards
		 		 Henning


diff -urb maven/src/plugins-build/torque/plugin.jelly /home/henning/.maven/plugins/maven-torque-plugin-3.2-SNAPSHOT/plugin.jelly
--- maven/src/plugins-build/torque/plugin.jelly		 2003-08-07 19:00:54.000000000 +0200
+++ /home/henning/.maven/plugins/maven-torque-plugin-3.2-SNAPSHOT/plugin.jelly		 2003-08-18
23:42:00.000000000 +0200
@@ -31,8 +31,8 @@
       <pathelement path="${plugin.getDependencyPath('velocity')}"/>
       <pathelement path="${plugin.getDependencyPath('village')}"/>
       <pathelement path="${plugin.getDependencyPath('xercesImpl')}"/>
-      <pathelement path="${plugin.getDependencyPath('xmlParserAPIs')}"/>
-      <pathelement path="${plugin.getDependencyPath('torque-gen')}"/>
+      <pathelement path="${plugin.getDependencyPath('xml-apis')}"/>
+      <pathelement path="${plugin.getDependencyPath('torque:torque-gen')}"/>
       <pathelement path="${pom.getDependencyClasspath()}"/>
       <path refid="maven.dependency.classpath"/>
     </path>
@@ -42,7 +42,7 @@
 
          Note: I have no idea why this file is not already processed by the plugin..
       -->
-    <property file="${maven.plugin.dir}/maven-torque-plugin-3.1/plugin.properties"/>
+    <property file="${maven.plugin.dir}/maven-torque-plugin-3.2-SNAPSHOT/plugin.properties"/>
 
     <!-- Define all of the tasks -->
     <taskdef
diff -urb maven/src/plugins-build/torque/project.xml /home/henning/.maven/plugins/maven-torque-plugin-3.2-SNAPSHOT/project.xml
--- maven/src/plugins-build/torque/project.xml		 2003-07-25 08:35:27.000000000 +0200
+++ /home/henning/.maven/plugins/maven-torque-plugin-3.2-SNAPSHOT/project.xml		 2003-08-18
23:41:28.000000000 +0200
@@ -123,7 +123,7 @@
     </dependency>
     <dependency>
       <id>velocity</id>
-      <version>1.4-dev</version>
+      <version>1.3.1</version>
       <properties>
         <classloader>root</classloader>
       </properties>
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message