[
https://issues.apache.org/jira/browse/ACE-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028976#comment-13028976
]
Hadrian Zbarcea commented on ACE-94:
------------------------------------
I usually build with mvn 3.0.3, but I tried 2.2.1.
Iirc, versions prior to maven-2.2.1 had known problems related to signing
artifacts. If anybody will call me on this, I'll have to do some digging. So
the minimum recommended version should be 2.2.1. Which is what Marcel added in
r1076071.
So I build with both 3.0.3 and 2.2.1 on a Linux box. @Marcel, what is the
problem you experienced, maybe I could help. That said, I would be strongly in
favor of moving the minimum requirement to 3.0.2 or 3.0.3. Not only 3.x has
better reporting and it's much easier to identify build system issues, but it
also has nifty features like building in multiple threads. With ACE having so
many modules, it really makes a difference. For me (on a quad core) it cut the
build time by 40%+.
> Build requires maven version greater then 2.0.11 but this is not declared
> --------------------------------------------------------------------------
>
> Key: ACE-94
> URL: https://issues.apache.org/jira/browse/ACE-94
> Project: Ace
> Issue Type: Improvement
> Components: Maven Build
> Environment: Apache Maven 2.0.11 (r909250; 2010-02-12 06:55:50+0100)
> Java version: 1.6.0_21
> Java home: C:\Program Files (x86)\Java\jdk1.6.0_21\jre
> Default locale: nl_NL, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"
> Reporter: Bram de Kruijff
> Assignee: Marcel Offermans
> Priority: Minor
> Fix For: 0.8.0
>
> Attachments: ACE_maven2011_cleaninstall.txt
>
>
> When you try to build the trunk at r1022542 using Maven 2.0.11 you get the
> following non-helpfull error right at the start of the build:
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to initialise extensions
> Component descriptor role: 'org.apache.maven.wagon.CommandExecutor',
> implementation:
> 'org.apache.maven.wagon.providers.ssh.external.ScpExternalCommandExecutor',
> role hint: 'scpexe' has a hint, but there are other implementations that
> don't
> It seems the build requires a Maven version greater then 2.0.11 (not sure
> which one exactly) but this message does not make that clear for the average
> Jonh Doe. Therefore I suggest adding a small prerequisites section in the
> root pom that will make people happy. This will still cause the build to
> fail, but this time with the nice and informative message:
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to build project 'c:\bramk\amdatu\svn\ace-trunk\pom.xml; it
> requires Maven version 2.2.1
> The relevant snippet to add would (assuming 2.2.1) be:
> <prerequisites>
> <maven>2.2.1</maven>
> </prerequisites>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira