You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Aaron Mulder (JIRA)" <ji...@apache.org> on 2006/08/04 20:42:23 UTC

[jira] Created: (AMQ-862) POM error means I can't use a dependency on 4.1-incubator-SNAPSHOT

POM error means I can't use a dependency on 4.1-incubator-SNAPSHOT
------------------------------------------------------------------

                 Key: AMQ-862
                 URL: https://issues.apache.org/activemq/browse/AMQ-862
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 4.1
            Reporter: Aaron Mulder
            Priority: Critical


I'm trying to build jencks, which has a dependency on ActiveMQ 4.1-incubator-SNAPSHOT.  I get the following unresolved dependencies:

org.apache.activemq:activemq-core:jar:4.1-incubator-SNAPSHOT
org.apache.activemq:activemq-core:test-jar:tests:4.1-incubator-SNAPSHOT

What it's actually trying to download is:

http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-core/4.1-incubator-SNAPSHOT/activemq-core-4.1-incubator-20060801.170356-6.jar
http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-core/4.1-incubator-SNAPSHOT/activemq-core-4.1-incubator-20060801.170356-2-tests.jar

Those are invalid versions.  When I asked about this on the maven IRC, I was told:

the problem is here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-parent/4.1-incubator-SNAPSHOT/activemq-parent-4.1-incubator-20060804.071007-16.pom
In the dependencyManagement they're using, they have expressions for the versions.  Those resolve to the current POM's (the one specifying the dependencies) version, instead of resolving them as snapshots.  It's a common problem when using that expression for shortcuts.


It would be great if this could be fixed so that I could build jencks.  Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (AMQ-862) POM error means I can't use a dependency on 4.1-incubator-SNAPSHOT

Posted by "james strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-862?page=comments#action_36719 ] 
            
james strachan commented on AMQ-862:
------------------------------------

Do you know how to fix this? A patch would be nice :)

> POM error means I can't use a dependency on 4.1-incubator-SNAPSHOT
> ------------------------------------------------------------------
>
>                 Key: AMQ-862
>                 URL: https://issues.apache.org/activemq/browse/AMQ-862
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1
>            Reporter: Aaron Mulder
>            Priority: Critical
>
> I'm trying to build jencks, which has a dependency on ActiveMQ 4.1-incubator-SNAPSHOT.  I get the following unresolved dependencies:
> org.apache.activemq:activemq-core:jar:4.1-incubator-SNAPSHOT
> org.apache.activemq:activemq-core:test-jar:tests:4.1-incubator-SNAPSHOT
> What it's actually trying to download is:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-core/4.1-incubator-SNAPSHOT/activemq-core-4.1-incubator-20060801.170356-6.jar
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-core/4.1-incubator-SNAPSHOT/activemq-core-4.1-incubator-20060801.170356-2-tests.jar
> Those are invalid versions.  When I asked about this on the maven IRC, I was told:
> the problem is here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-parent/4.1-incubator-SNAPSHOT/activemq-parent-4.1-incubator-20060804.071007-16.pom
> In the dependencyManagement they're using, they have expressions for the versions.  Those resolve to the current POM's (the one specifying the dependencies) version, instead of resolving them as snapshots.  It's a common problem when using that expression for shortcuts.
> It would be great if this could be fixed so that I could build jencks.  Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira