You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dain Sundstrom (JIRA)" <ji...@codehaus.org> on 2005/11/01 04:00:45 UTC

[jira] Created: (MEV-163) Groovy pom has invalid dependencies

Groovy pom has invalid dependencies
-----------------------------------

         Key: MEV-163
         URL: http://jira.codehaus.org/browse/MEV-163
     Project: Maven Evangelism
        Type: Bug
 Reporter: Dain Sundstrom


The groovy pom seems to be a blind conversion from the maven 1 project.xml file, as there are no pom.xml files in the groovy cvs repository.  There are two classes of problems with the groovy pom, bad version numbers and missing dependencies.  The dependency list is excessive and I'd guess that most of the dependencies are either optional or test only dependencies.  

Error detail
---------------
o classworlds 1.1-alpha-2-SNAPSHOT-NO-SYSTEM-EXIT does not exist in the repo but 1.1-alpha-2 should work
o xpp3 version 1.1.3.4-RC8_min does not exist in the repo but 1.1.3.4-RC8 should work
o tonic:jarjar:0.5:jar does not exist in the repo.  I doubt this is a runtime dependency.
o mockobjects artifactId and version are wrong. Should be:
     <dependency>
       <groupId>mockobjects</groupId>
       <artifactId>mockobjects-core</artifactId>
       <version>0.09</version>
     </dependency>
o cglib artifactId and version are wrong. Should be:
     <dependency>
       <groupId>cglib</groupId>
       <artifactId>cglib-nodep</artifactId>
       <version>2.1</version>
     </dependency>

Here is a diff that worked for me:

--- /Users/dain/groovy-1.0-jsr-03.pom	2005-10-31 18:27:36.000000000 -0800
+++ /Users/dain/.m2/repository/groovy/groovy-1.0-jsr/03/groovy-1.0-jsr-03.pom	2005-10-31 18:40:30.000000000 -0800
@@ -404,7 +404,7 @@
     <dependency>
       <groupId>classworlds</groupId>
       <artifactId>classworlds</artifactId>
-      <version>1.1-alpha-2-SNAPSHOT-NO-SYSTEM-EXIT</version>
+      <version>1.1-alpha-2</version>
     </dependency>
     <dependency>
       <groupId>commons-cli</groupId>
@@ -443,8 +443,8 @@
     </dependency>
     <dependency>
       <groupId>cglib</groupId>
-      <artifactId>cglib</artifactId>
-      <version>nodep-2.1</version>
+      <artifactId>cglib-nodep</artifactId>
+      <version>2.1</version>
     </dependency>
     <dependency>
       <groupId>asm</groupId>
@@ -478,8 +478,8 @@
     </dependency>
     <dependency>
       <groupId>mockobjects</groupId>
-      <artifactId>mockobjects</artifactId>
-      <version>core-0.09</version>
+      <artifactId>mockobjects-core</artifactId>
+      <version>0.09</version>
     </dependency>
     <dependency>
       <groupId>openejb</groupId>
@@ -544,13 +544,13 @@
     <dependency>
       <groupId>xpp3</groupId>
       <artifactId>xpp3</artifactId>
-      <version>1.1.3.4-RC8_min</version>
+      <version>1.1.3.4-RC8</version>
     </dependency>
-    <dependency>
+    <!--dependency>
       <groupId>tonic</groupId>
       <artifactId>jarjar</artifactId>
       <version>0.5</version>
-    </dependency>
+    </dependency-->
   </dependencies>
   <distributionManagement>
     <repository>
@@ -564,4 +564,4 @@
       <url>scp://beaver.codehaus.org//home/projects/groovy/public_html</url>
     </site>
   </distributionManagement>
-</project>
\ No newline at end of file
+</project>


-- 
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
-
For more information on JIRA, 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


[jira] Closed: (MEV-163) Groovy pom has invalid dependencies

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-163?page=all ]
     
Carlos Sanchez closed MEV-163:
------------------------------

     Assign To: Carlos Sanchez
    Resolution: Fixed

Fixed as groovy:1.0-jsr-03
It'd be nice to notify groovy developers

> Groovy pom has invalid dependencies
> -----------------------------------
>
>          Key: MEV-163
>          URL: http://jira.codehaus.org/browse/MEV-163
>      Project: Maven Evangelism
>         Type: Bug

>     Reporter: Dain Sundstrom
>     Assignee: Carlos Sanchez

>
>
> The groovy pom seems to be a blind conversion from the maven 1 project.xml file, as there are no pom.xml files in the groovy cvs repository.  There are two classes of problems with the groovy pom, bad version numbers and missing dependencies.  The dependency list is excessive and I'd guess that most of the dependencies are either optional or test only dependencies.  
> Error detail
> ---------------
> o classworlds 1.1-alpha-2-SNAPSHOT-NO-SYSTEM-EXIT does not exist in the repo but 1.1-alpha-2 should work
> o xpp3 version 1.1.3.4-RC8_min does not exist in the repo but 1.1.3.4-RC8 should work
> o tonic:jarjar:0.5:jar does not exist in the repo.  I doubt this is a runtime dependency.
> o mockobjects artifactId and version are wrong. Should be:
>      <dependency>
>        <groupId>mockobjects</groupId>
>        <artifactId>mockobjects-core</artifactId>
>        <version>0.09</version>
>      </dependency>
> o cglib artifactId and version are wrong. Should be:
>      <dependency>
>        <groupId>cglib</groupId>
>        <artifactId>cglib-nodep</artifactId>
>        <version>2.1</version>
>      </dependency>
> Here is a diff that worked for me:
> --- /Users/dain/groovy-1.0-jsr-03.pom	2005-10-31 18:27:36.000000000 -0800
> +++ /Users/dain/.m2/repository/groovy/groovy-1.0-jsr/03/groovy-1.0-jsr-03.pom	2005-10-31 18:40:30.000000000 -0800
> @@ -404,7 +404,7 @@
>      <dependency>
>        <groupId>classworlds</groupId>
>        <artifactId>classworlds</artifactId>
> -      <version>1.1-alpha-2-SNAPSHOT-NO-SYSTEM-EXIT</version>
> +      <version>1.1-alpha-2</version>
>      </dependency>
>      <dependency>
>        <groupId>commons-cli</groupId>
> @@ -443,8 +443,8 @@
>      </dependency>
>      <dependency>
>        <groupId>cglib</groupId>
> -      <artifactId>cglib</artifactId>
> -      <version>nodep-2.1</version>
> +      <artifactId>cglib-nodep</artifactId>
> +      <version>2.1</version>
>      </dependency>
>      <dependency>
>        <groupId>asm</groupId>
> @@ -478,8 +478,8 @@
>      </dependency>
>      <dependency>
>        <groupId>mockobjects</groupId>
> -      <artifactId>mockobjects</artifactId>
> -      <version>core-0.09</version>
> +      <artifactId>mockobjects-core</artifactId>
> +      <version>0.09</version>
>      </dependency>
>      <dependency>
>        <groupId>openejb</groupId>
> @@ -544,13 +544,13 @@
>      <dependency>
>        <groupId>xpp3</groupId>
>        <artifactId>xpp3</artifactId>
> -      <version>1.1.3.4-RC8_min</version>
> +      <version>1.1.3.4-RC8</version>
>      </dependency>
> -    <dependency>
> +    <!--dependency>
>        <groupId>tonic</groupId>
>        <artifactId>jarjar</artifactId>
>        <version>0.5</version>
> -    </dependency>
> +    </dependency-->
>    </dependencies>
>    <distributionManagement>
>      <repository>
> @@ -564,4 +564,4 @@
>        <url>scp://beaver.codehaus.org//home/projects/groovy/public_html</url>
>      </site>
>    </distributionManagement>
> -</project>
> \ No newline at end of file
> +</project>

-- 
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
-
For more information on JIRA, 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