Open GoogleCodeExporter opened 9 years ago
[INFO] ------------------------------------------------------------------------ [INFO] Building powermock [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] ----------------------------------------------------- this realm = app0.child-container[org.apache.maven.plugins:maven-javadoc-plugin:2.6] urls[0] = file:/C:/Users/me/.m2/repository/org/apache/maven/plugins/maven-javadoc-plugin/2 .6/maven-javadoc-plugin-2.6.jar urls[1] = file:/C:/Users/me/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.8/plexus-u tils-1.5.8.jar urls[2] = file:/C:/Users/me/.m2/repository/commons-httpclient/commons-httpclient/3.1/commo ns-httpclient-3.1.jar urls[3] = file:/C:/Users/me/.m2/repository/commons-logging/commons-logging/1.0.4/commons-l ogging-1.0.4.jar urls[4] = file:/C:/Users/me/.m2/repository/org/apache/maven/maven-archiver/2.3/maven-archi ver-2.3.jar urls[5] = file:/C:/Users/me/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9 /plexus-archiver-1.0-alpha-9.jar urls[6] = file:/C:/Users/me/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.9/mav en-invoker-2.0.9.jar urls[7] = file:/C:/Users/me/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0/ doxia-site-renderer-1.0.jar urls[8] = file:/C:/Users/me/.m2/repository/org/apache/maven/doxia/doxia-core/1.0/doxia-cor e-1.0.jar urls[9] = file:/C:/Users/me/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plex us-i18n-1.0-beta-7.jar urls[10] = file:/C:/Users/me/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexu s-velocity-1.1.7.jar urls[11] = file:/C:/Users/me/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.j ar urls[12] = file:/C:/Users/me/.m2/repository/commons-collections/commons-collections/3.2/com mons-collections-3.2.jar urls[13] = file:/C:/Users/me/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4. jar urls[14] = file:/C:/Users/me/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar urls[15] = file:/C:/Users/me/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1 .0/doxia-decoration-model-1.0.jar urls[16] = file:/C:/Users/me/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0/dox ia-module-apt-1.0.jar urls[17] = file:/C:/Users/me/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0/dox ia-module-fml-1.0.jar urls[18] = file:/C:/Users/me/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0/do xia-module-xdoc-1.0.jar urls[19] = file:/C:/Users/me/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0/d oxia-module-xhtml-1.0.jar urls[20] = file:/C:/Users/me/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1 .2.jar urls[21] = file:/C:/Users/me/.m2/repository/com/thoughtworks/qdox/qdox/1.9.2/qdox-1.9.2.jar Number of imports: 10 import: org.codehaus.classworlds.Entry@a6c57a42 import: org.codehaus.classworlds.Entry@12f43f3b import: org.codehaus.classworlds.Entry@20025374 import: org.codehaus.classworlds.Entry@f8e44ca4 import: org.codehaus.classworlds.Entry@92758522 import: org.codehaus.classworlds.Entry@ebf2705b import: org.codehaus.classworlds.Entry@bb25e54 import: org.codehaus.classworlds.Entry@bece5185 import: org.codehaus.classworlds.Entry@3fee8e37 import: org.codehaus.classworlds.Entry@3fee19d8 this realm = plexus.core urls[0] = file:/C:/kits/java/maven/apache-maven-2.2.1/bin/../lib/maven-2.2.1-uber.jar Number of imports: 10 import: org.codehaus.classworlds.Entry@a6c57a42 import: org.codehaus.classworlds.Entry@12f43f3b import: org.codehaus.classworlds.Entry@20025374 import: org.codehaus.classworlds.Entry@f8e44ca4 import: org.codehaus.classworlds.Entry@92758522 import: org.codehaus.classworlds.Entry@ebf2705b import: org.codehaus.classworlds.Entry@bb25e54 import: org.codehaus.classworlds.Entry@bece5185 import: org.codehaus.classworlds.Entry@3fee8e37 import: org.codehaus.classworlds.Entry@3fee19d8 ----------------------------------------------------- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6:jar': Unable to load the mojo 'org.apache.mave n.plugins:maven-javadoc-plugin:2.6:jar' in the plugin 'org.apache.maven.plugins:maven-javadoc-plugin'. A required class is missing: org/codehaus/plexus/comp onents/io/fileselectors/FileInfo [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13 seconds [INFO] Finished at: Mon Oct 12 14:10:47 EEST 2009 [INFO] Final Memory: 21M/47M [INFO] ------------------------------------------------------------------------ I don't really understand why.. It also happens with maven 2.1.1 After commenting out maven-javadoc-plugin: powermock\reflect\src\test\java\org\powermock\reflect\WhiteBoxTest.java:186: unexpected type found : java.lang.Object required: reference assertTrue(Whitebox.invokeMethod(new ClassWithUniquePrivateMethods(), 8.2d, 8.3d, null) instanceof Object); Trying again, without tests: powermock\tests\utils\src\main\java\samples\expectnew\ExpectNewOfFinalSystemClas sDemo.java:22: cannot find symbol symbol : method isEmpty() location: class java.lang.String return myString.isEmpty(); After fixing this, I get: powermock\modules\module-impl\junit4-legacy\src\main\java\org\powermock\modules\ junit4\legacy\internal\impl\testcas eworkaround\PowerMockJUnit4LegacyTestMethodRunner.java:86: java.lang.Object cannot be dereferenced if (TestCase.class.isAssignableFrom(Whitebox.getInternalState(this, "fTest").getClass())) { It doesn't help to skip javadoc generation.
Original issue reported on code.google.com by johan.ha...@gmail.com on 12 Oct 2009 at 12:07
johan.ha...@gmail.com
Issue 184 has been merged into this issue.
Original comment by johan.ha...@gmail.com on 12 Oct 2009 at 6:36
Original comment by johan.ha...@gmail.com on 22 Jul 2010 at 9:17
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 12 Oct 2009 at 12:07