On Tue, Feb 3, 2009 at 4:20 AM, Oleg Gusakov
<[email protected]> wrote:
> I guess, I phrased my question incorrectly: maven trunk depends on mercury
> 1.0.0-alpha-2, where did you get that error? Building what?
>
> Thanks,
> Oleg
I was trying to build maven from trunk. (At revision 740247.)
Here is the modules sequence:
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Maven
[INFO] Maven Lifecycle Model
[INFO] Maven Reporting API
[INFO] Maven Model
[INFO] Maven Compat
[INFO] Maven Plugin API
[INFO] Maven Project Builder
[INFO] Maven Project
[INFO] Maven Mercury
[INFO] Maven Core
[INFO] Maven Toolchains
[INFO] Maven Embedder
[INFO] Maven Distribution
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
The last one (Maven Distribution) gives me error:
Missing:
----------
1) org.apache.maven.mercury:mercury-event:jar:1.0.0-alpha-4-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.mercury
-DartifactId=mercury-event -Dversion=1.0.0-alpha-4-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.maven.mercury
-DartifactId=mercury-event -Dversion=1.0.0-alpha-4-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven:apache-maven:jar:3.0-SNAPSHOT
2) org.sonatype.mercury:mercury-mp3-cli:jar:1.0-alpha-1
3) org.sonatype.mercury:mercury-mp3-delta:jar:1.0-alpha-1
4) org.sonatype.mercury:mercury-mp3-api:jar:1.0-alpha-1
5) org.apache.maven.mercury:mercury-event:jar:1.0.0-alpha-4-SNAPSHOT
This is related to (in /maven/apache-maven/pox.xml):
<dependency>
<groupId>org.sonatype.mercury</groupId>
<artifactId>mercury-mp3-cli</artifactId>
</dependency>
</dependencies>
Georgy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]