yong-hu / objenesis

Automatically exported from code.google.com/p/objenesis
0 stars 0 forks source link

Objenesis source does not build correctly #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Check out source using "svn checkout 
http://objenesis.googlecode.com/svn/trunk/ objenesis-read-only"
2. Using Terminal, issue this command at the top of objenesis-read-only> mvn 
clean install

What is the expected output? What do you see instead?
I expect the project to build successfully and install the artifacts in my 
local maven repo.

Instead, I get a bunch of errors. See below for output.

What version of the product are you using? On what operating system?
Maven 3.0.3, JDK 1.6.0_35, Mac OS X 10.8.2

Please provide any additional information below.

EP-ML-0235:objenesis-read-only mbishop$ mvn clean install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.objenesis:objenesis:jar:1.2
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-javadoc-plugin is missing. @ 
org.objenesis:objenesis-parent:1.2, 
/Users/mbishop/Projects/objenesis-read-only/pom.xml, line 138, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ 
org.objenesis:objenesis-parent:1.2, 
/Users/mbishop/Projects/objenesis-read-only/pom.xml, line 105, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-site-plugin is missing. @ 
org.objenesis:objenesis-parent:1.2, 
/Users/mbishop/Projects/objenesis-read-only/pom.xml, line 150, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-jar-plugin is missing. @ 
org.objenesis:objenesis-parent:1.2, 
/Users/mbishop/Projects/objenesis-read-only/pom.xml, line 124, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-source-plugin is missing. @ 
org.objenesis:objenesis-parent:1.2, 
/Users/mbishop/Projects/objenesis-read-only/pom.xml, line 112, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.objenesis:objenesis-tck:jar:1.2
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 141, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ 
org.objenesis:objenesis-parent:1.2, 
/Users/mbishop/Projects/objenesis-read-only/pom.xml, line 105, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-site-plugin is missing. @ 
org.objenesis:objenesis-parent:1.2, 
/Users/mbishop/Projects/objenesis-read-only/pom.xml, line 150, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-jar-plugin is missing. @ line 117, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-source-plugin is missing. @ 
org.objenesis:objenesis-parent:1.2, 
/Users/mbishop/Projects/objenesis-read-only/pom.xml, line 112, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.objenesis:objenesis-parent:pom:1.2
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 138, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 105, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-site-plugin is missing. @ line 150, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-jar-plugin is missing. @ line 124, column 15
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-source-plugin is missing. @ line 112, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Objenesis parent project
[INFO] Objenesis
[INFO] Objenesis TCK
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Objenesis parent project 1.2
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ objenesis-parent ---
[INFO] 
[INFO] >>> maven-source-plugin:2.2:jar (attach-sources) @ objenesis-parent >>>
[INFO] 
[INFO] <<< maven-source-plugin:2.2:jar (attach-sources) @ objenesis-parent <<<
[INFO] 
[INFO] --- maven-source-plugin:2.2:jar (attach-sources) @ objenesis-parent ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9:jar (attach-javadocs) @ objenesis-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
objenesis-parent ---
[INFO] Installing /Users/mbishop/Projects/objenesis-read-only/pom.xml to 
/Users/mbishop/.m2/repository/org/objenesis/objenesis-parent/1.2/objenesis-paren
t-1.2.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Objenesis 1.2
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ objenesis ---
[INFO] Deleting /Users/mbishop/Projects/objenesis-read-only/main/target
[INFO] 
[INFO] --- maven-timestamp-plugin:1.0:create (year) @ objenesis ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.0:process (default) @ objenesis ---
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
objenesis ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ objenesis ---
[WARNING] File encoding has not been set, using platform encoding MacRoman, 
i.e. build is platform dependent!
[INFO] Compiling 30 source files to 
/Users/mbishop/Projects/objenesis-read-only/main/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ 
objenesis ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
objenesis ---
[WARNING] File encoding has not been set, using platform encoding MacRoman, 
i.e. build is platform dependent!
[INFO] Compiling 3 source files to 
/Users/mbishop/Projects/objenesis-read-only/main/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ objenesis ---
[INFO] Surefire report directory: 
/Users/mbishop/Projects/objenesis-read-only/main/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.objenesis.ObjenesisExceptionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.objenesis.ObjenesisTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.objenesis.SerializingInstantiatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ objenesis ---
[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ objenesis ---
[INFO] Adding existing MANIFEST to archive. Found under: 
/Users/mbishop/Projects/objenesis-read-only/main/target/classes/META-INF/MANIFES
T.MF
[INFO] Building jar: 
/Users/mbishop/Projects/objenesis-read-only/main/target/objenesis-1.2.jar
[INFO] 
[INFO] >>> maven-source-plugin:2.2:jar (attach-sources) @ objenesis >>>
[INFO] 
[INFO] --- maven-timestamp-plugin:1.0:create (year) @ objenesis ---
[INFO] 
[INFO] <<< maven-source-plugin:2.2:jar (attach-sources) @ objenesis <<<
[INFO] 
[INFO] --- maven-source-plugin:2.2:jar (attach-sources) @ objenesis ---
[INFO] Building jar: 
/Users/mbishop/Projects/objenesis-read-only/main/target/objenesis-1.2-sources.ja
r
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9:jar (attach-javadocs) @ objenesis ---
[WARNING] Source files encoding has not been set, using platform encoding 
MacRoman, i.e. build is platform dependent!
[INFO] 
Loading source files for package org.objenesis.instantiator.basic...
Loading source files for package org.objenesis.instantiator.gcj...
Loading source files for package org.objenesis.instantiator.jrockit...
Loading source files for package org.objenesis.instantiator...
Loading source files for package org.objenesis.instantiator.perc...
Loading source files for package org.objenesis.instantiator.sun...
Loading source files for package org.objenesis...
Loading source files for package org.objenesis.strategy...
Constructing Javadoc information...
Standard Doclet version 1.6.0_35
Building tree for all the packages and classes...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//AccessibleInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//ConstructorInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//NewInstanceInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//ObjectInputStreamInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//ObjectStreamClassInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//GCJInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//GCJInstantiatorBase.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//GCJSerializationInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/jrockit//JRockit131Instantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/jrockit//JRockitLegacyInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//NullInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//ObjectInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//SerializationInstantiatorHelper.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/perc//PercInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/perc//PercSerializationInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//Sun13Instantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//Sun13InstantiatorBase.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//Sun13SerializationInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//SunReflectionFactoryInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//SunReflectionFactorySerializationInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//O
bjenesis.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//O
bjenesisBase.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//O
bjenesisException.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//O
bjenesisHelper.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//O
bjenesisSerializer.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//O
bjenesisStd.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//BaseInstantiatorStrategy.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//InstantiatorStrategy.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//SerializingInstantiatorStrategy.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//StdInstantiatorStrategy.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/overview-frame.h
tml...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//p
ackage-frame.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//p
ackage-summary.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//p
ackage-tree.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//package-frame.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//package-summary.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//package-tree.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//package-frame.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//package-summary.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//package-tree.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//package-frame.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//package-summary.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//package-tree.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/jrockit//package-frame.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/jrockit//package-summary.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/jrockit//package-tree.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/perc//package-frame.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/perc//package-summary.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/perc//package-tree.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//package-frame.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//package-summary.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//package-tree.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//package-frame.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//package-summary.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//package-tree.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/constant-values.
html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/serialized-form.
html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//class-use/ObjectStreamClassInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//class-use/ObjectInputStreamInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//class-use/NewInstanceInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//class-use/ConstructorInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//class-use/AccessibleInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//class-use/GCJSerializationInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//class-use/GCJInstantiatorBase.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//class-use/GCJInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/jrockit//class-use/JRockitLegacyInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/jrockit//class-use/JRockit131Instantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//class-use/SerializationInstantiatorHelper.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//class-use/ObjectInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//class-use/NullInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/perc//class-use/PercSerializationInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/perc//class-use/PercInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//class-use/SunReflectionFactorySerializationInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//class-use/SunReflectionFactoryInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//class-use/Sun13SerializationInstantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//class-use/Sun13InstantiatorBase.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//class-use/Sun13Instantiator.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//c
lass-use/ObjenesisStd.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//c
lass-use/ObjenesisSerializer.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//c
lass-use/ObjenesisHelper.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//c
lass-use/ObjenesisException.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//c
lass-use/ObjenesisBase.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//c
lass-use/Objenesis.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//class-use/StdInstantiatorStrategy.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//class-use/SerializingInstantiatorStrategy.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//class-use/InstantiatorStrategy.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//class-use/BaseInstantiatorStrategy.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis//p
ackage-use.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator//package-use.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/basic//package-use.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/gcj//package-use.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/jrockit//package-use.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/perc//package-use.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/in
stantiator/sun//package-use.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/org/objenesis/st
rategy//package-use.html...
Building index for all the packages and classes...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/overview-tree.ht
ml...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/index-all.html..
.
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/deprecated-list.
html...
Building index for all classes...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/allclasses-frame
.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/allclasses-nofra
me.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/index.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/overview-summary
.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/help-doc.html...
Generating 
/Users/mbishop/Projects/objenesis-read-only/main/target/apidocs/stylesheet.css..
.
[INFO] Building jar: 
/Users/mbishop/Projects/objenesis-read-only/main/target/objenesis-1.2-javadoc.ja
r
[INFO] 
[INFO] --- maven-license-plugin:1.4.0:check (check) @ objenesis ---
[INFO] Checking licenses...
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/assembly.xml
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
basic/AccessibleInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
basic/ConstructorInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
basic/NewInstanceInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
basic/ObjectInputStreamInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
basic/ObjectStreamClassInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
gcj/GCJInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
gcj/GCJInstantiatorBase.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
gcj/GCJSerializationInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
NullInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
ObjectInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
perc/PercInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
perc/PercSerializationInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
SerializationInstantiatorHelper.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
sun/Sun13Instantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
sun/Sun13InstantiatorBase.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
sun/Sun13SerializationInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
sun/SunReflectionFactoryInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/instantiator/
sun/SunReflectionFactorySerializationInstantiator.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/Objenesis.jav
a
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/ObjenesisBase
.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/ObjenesisExce
ption.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/ObjenesisHelp
er.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/ObjenesisSeri
alizer.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/ObjenesisStd.
java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/strategy/Base
InstantiatorStrategy.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/strategy/Inst
antiatorStrategy.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/strategy/Seri
alizingInstantiatorStrategy.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/src/org/objenesis/strategy/StdI
nstantiatorStrategy.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/test/org/objenesis/ObjenesisExc
eptionTest.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/test/org/objenesis/ObjenesisTes
t.java
[INFO] Missing header in: 
/Users/mbishop/Projects/objenesis-read-only/main/test/org/objenesis/SerializingI
nstantiatorTest.java
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Objenesis parent project .......................... SUCCESS [1.695s]
[INFO] Objenesis ......................................... FAILURE [7.398s]
[INFO] Objenesis TCK ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.015s
[INFO] Finished at: Mon Sep 24 14:55:13 PDT 2012
[INFO] Final Memory: 19M/81M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "ep-defaults" could not be activated because it 
does not exist.
[WARNING] The requested profile "tomcat-developer" could not be activated 
because it does not exist.
[WARNING] The requested profile "ep-developer" could not be activated because 
it does not exist.
[ERROR] Failed to execute goal 
com.google.code.maven-license-plugin:maven-license-plugin:1.4.0:check (check) 
on project objenesis: Some files do not have the expected license header -> 
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :objenesis

Original issue reported on code.google.com by m...@thebishops.org on 24 Sep 2012 at 9:55

GoogleCodeExporter commented 9 years ago
Ignore the "The requested profile" lines, they are not relevant.

Original comment by m...@thebishops.org on 24 Sep 2012 at 9:56

GoogleCodeExporter commented 9 years ago
This is caused by the copyright date which wasn't updated to 2012 in the file 
headers

Original comment by henri.tr...@gmail.com on 24 Sep 2012 at 10:01

GoogleCodeExporter commented 9 years ago
Copyright updated on the head

Original comment by henri.tr...@gmail.com on 24 Sep 2012 at 10:41

GoogleCodeExporter commented 9 years ago
Sorry Henri, this still isn't resolved. The TCK fails to build:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Objenesis parent project .......................... SUCCESS [2.593s]
[INFO] Objenesis ......................................... SUCCESS [7.364s]
[INFO] Objenesis TCK ..................................... FAILURE [0.186s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.171s
[INFO] Finished at: Tue Sep 25 08:44:30 PDT 2012
[INFO] Final Memory: 20M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project objenesis-tck: Could not resolve 
dependencies for project org.objenesis:objenesis-tck:jar:1.2: Could not find 
artifact org.eclipse.osgi:org.eclipse.osgi:jar:3.2.2 in elasticpath-psi 
(http://maven.elasticpath.net/nexus/content/groups/psi) -> [Help 1]

Original comment by m...@thebishops.org on 25 Sep 2012 at 3:45

GoogleCodeExporter commented 9 years ago
I am very glad to see your testing regime is so thorough. You may want to 
consider refreshing all of your dependencies to the latest versions to 
future-proofing.

Original comment by m...@thebishops.org on 25 Sep 2012 at 3:47

GoogleCodeExporter commented 9 years ago
In order to repro, you will need to blow away your local ~/.m2/repository 
directory to remove the old dependencies.

Original comment by m...@thebishops.org on 25 Sep 2012 at 4:00

GoogleCodeExporter commented 9 years ago
Yes. The project hasn't been refreshed for a while (it's quite stable). Spring 
has moved some dependencies from their repository.

I'll upgrade everything ASAP (which means not before Thursday).

If you only need the TCK (without the OSGi part) you can just remove these 
dependencies.

Original comment by henri.tr...@gmail.com on 25 Sep 2012 at 5:02

GoogleCodeExporter commented 9 years ago
Ok. It should be fine now. All OSGi was upgraded to use real dependencies

Original comment by henri.tr...@gmail.com on 25 Sep 2012 at 8:59

GoogleCodeExporter commented 9 years ago
Success! thanks:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Objenesis parent project .......................... SUCCESS [3.147s]
[INFO] Objenesis ......................................... SUCCESS [12.356s]
[INFO] Objenesis TCK ..................................... SUCCESS [1:00.252s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

Original comment by m...@thebishops.org on 25 Sep 2012 at 11:25

GoogleCodeExporter commented 9 years ago

Original comment by henri.tr...@gmail.com on 14 Aug 2013 at 11:48