[ 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
