james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: [VOTE] Release Apache James jSPF 1.0.0
Date Sat, 26 Nov 2011 20:18:41 GMT
> [X] -1 Something is wrong

I can't build using Java 1.5, looks like 
org.apache.felix:maven-bundle-plugin:2.3.5 has a problem using Java-1.5


[felix@asgard apache-jspf-project-1.0.0]$ svn info
Path: .
URL: 
https://svn.apache.org/repos/asf/james/jspf/tags/apache-jspf-project-1.0.0
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1206575
Node Kind: directory
Schedule: normal
Last Changed Author: norman
Last Changed Rev: 1206512
Last Changed Date: 2011-11-26 18:42:23 +0100 (Sat, 26 Nov 2011)
[felix@asgard apache-jspf-project-1.0.0]$
[felix@asgard apache-jspf-project-1.0.0]$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)
[felix@asgard apache-jspf-project-1.0.0]$ mvn clean install
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache JAMES jSPF
[INFO] Apache JAMES OpenSPF Tester
[INFO] Apache JAMES jSPF Resolver
[INFO] Apache JAMES jSPF Assembly
[INFO] 

[INFO] 
------------------------------------------------------------------------
[INFO] Building Apache JAMES jSPF 1.0.0
[INFO] 
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
apache-jspf-project ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ 
apache-jspf-project ---
[INFO]
[INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ 
apache-jspf-project ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
apache-jspf-project ---
[INFO] Installing /tmp/apache-jspf-project-1.0.0/pom.xml to 
/home/felix/.m2/repository/org/apache/james/apache-jspf-project/1.0.0/apache-jspf-project-1.0.0.pom
[INFO] Installing 
/tmp/apache-jspf-project-1.0.0/target/apache-jspf-project-1.0.0-site.xml 
to 
/home/felix/.m2/repository/org/apache/james/apache-jspf-project/1.0.0/apache-jspf-project-1.0.0-site.xml
[INFO] 

[INFO] 
------------------------------------------------------------------------
[INFO] Building Apache JAMES OpenSPF Tester 1.0.0
[INFO] 
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
apache-jspf-tester ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ 
apache-jspf-tester ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
apache-jspf-tester ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
apache-jspf-tester ---
[INFO] Compiling 6 source files to 
/tmp/apache-jspf-project-1.0.0/tester/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:2.3.5:manifest (bundle-manifest) @ 
apache-jspf-tester ---
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache JAMES jSPF ................................. SUCCESS [0.897s]
[INFO] Apache JAMES OpenSPF Tester ....................... FAILURE [0.847s]
[INFO] Apache JAMES jSPF Resolver ........................ SKIPPED
[INFO] Apache JAMES jSPF Assembly ........................ SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2.394s
[INFO] Finished at: Sat Nov 26 21:14:58 CET 2011
[INFO] Final Memory: 26M/981M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.felix:maven-bundle-plugin:2.3.5:manifest (bundle-manifest) on 
project apache-jspf-tester: Execution bundle-manifest of goal 
org.apache.felix:maven-bundle-plugin:2.3.5:manifest failed: An API 
incompatibility was encountered while executing 
org.apache.felix:maven-bundle-plugin:2.3.5:manifest: 
java.lang.NoSuchMethodError: 
java.lang.String.getBytes(Ljava/nio/charset/Charset;)[B
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.apache.felix:maven-bundle-plugin:2.3.5
[ERROR] strategy = 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/home/felix/.m2/repository/org/apache/felix/maven-bundle-plugin/2.3.5/maven-bundle-plugin-2.3.5.jar
[ERROR] urls[1] = 
file:/home/felix/.m2/repository/biz/aQute/bndlib/1.43.0/bndlib-1.43.0.jar
[ERROR] urls[2] = 
file:/home/felix/.m2/repository/org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar
[ERROR] urls[3] = 
file:/home/felix/.m2/repository/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar
[ERROR] urls[4] = 
file:/home/felix/.m2/repository/org/easymock/easymock/2.4/easymock-2.4.jar
[ERROR] urls[5] = 
file:/home/felix/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.7/maven-reporting-api-2.0.7.jar
[ERROR] urls[6] = 
file:/home/felix/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
[ERROR] urls[7] = 
file:/home/felix/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[8] = 
file:/home/felix/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
[ERROR] urls[9] = 
file:/home/felix/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[10] = 
file:/home/felix/.m2/repository/org/apache/maven/maven-archiver/2.4.1/maven-archiver-2.4.1.jar
[ERROR] urls[11] = 
file:/home/felix/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0/plexus-archiver-1.0.jar
[ERROR] urls[12] = 
file:/home/felix/.m2/repository/org/codehaus/plexus/plexus-io/1.0/plexus-io-1.0.jar
[ERROR] urls[13] = 
file:/home/felix/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar
[ERROR] urls[14] = 
file:/home/felix/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
[ERROR] urls[15] = 
file:/home/felix/.m2/repository/org/codehaus/plexus/plexus-utils/2.1/plexus-utils-2.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm 
ClassRealm[project>org.apache.james.jspf:apache-jspf-tester:1.0.0, 
parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
[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/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn <goals> -rf :apache-jspf-tester

>
> Thanks,
> Norman
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message