Hi,

I tested the latest maven-3.0-alpha-4 release with the apache openjpa trunk
code, and this fails with the following message. But the same works with
maven-2.2.1

>>$ mvn install

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   The project org.apache.openjpa:openjpa-persistence:2.0.0-SNAPSHOT
(/home/user/snapshots/openjpa/openjpa-persistence/pom.xml) has 1 error
[ERROR]     Failed to determine activation for profile jdk6-compiler: For
input string: "0_16"
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

The pom contains profile activation like this: 
    <activation>
           <jdk>[1.6,)</jdk>
     </activation>

My maven & jdk version details:

>>$ mvn -version

Apache Maven 3.0-alpha-4 (r835944; 2009-11-14 02:06:31+0800)
Java version: 1.6.0_16
Java home: /usr/lib/jvm/java-6-sun-1.6.0.16/jre
Default locale: en_SG, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-14-generic" arch: "i386" Family: "unix"

Hope this helps in finding the solution for this issue.

Regards,
Prashant

-- 
View this message in context: 
http://old.nabble.com/apache-openjpa-trunk-doesn%27t-work-with-maven-3.0-alpha-4-tp26404401p26404401.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to