-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
Low
Since moving to Git, JOPR plugin does not build due to Git not tracking folders but files. So src/main/resources/META-INF dir is not there any more:
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots//org/infinispan/infinispan-tools/4.2.0-SNAPSHOT/infinispan-tools-4.2.0-20101111.211704-5-tests.jar
8K uploaded (infinispan-tools-4.2.0-20101111.211704-5-tests.jar)
[INFO] [bundle:deploy
]
[INFO] Remote OBR update disabled (enable with -DremoteOBR)
[INFO] ------------------------------------------------------------------------
[INFO] Building Infinispan JOPR Plugin
[INFO] task-segment: [clean, deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean
]
[INFO] [enforcer:enforce
]
[INFO] [resources:resources
]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/mmarkus/code/ispn/git/my_repo/jopr-plugin/src/main/resources
[INFO] [dependency:copy
]
[INFO] Configured Artifact: org.infinispan:infinispan-core:4.2.0-SNAPSHOT:jar
[INFO] Copying infinispan-core-4.2.0-SNAPSHOT.jar to /Users/mmarkus/code/ispn/git/my_repo/jopr-plugin/target/classes/lib/infinispan-core-4.2.0-SNAPSHOT.jar
[INFO] [compiler:compile
]
[INFO] Compiling 4 source files to /Users/mmarkus/code/ispn/git/my_repo/jopr-plugin/target/classes
[INFO] Preparing javadoc:javadoc
[WARNING] Removing: javadoc from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce
]
[INFO] [javadoc:javadoc
]
Loading source files for package org.infinispan.jopr...
Constructing Javadoc information...
1 error
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - log4j:WARN No appenders could be found for logger (org.infinispan.util.ClassFinder).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
java.io.FileNotFoundException: ../../../src/main/resources/META-INF/rhq-plugin.xml (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at java.io.FileWriter.<init>(FileWriter.java:73)
at org.rhq.helpers.pluginGen.PluginGen.createFile(PluginGen.java:347)
at org.infinispan.tools.jopr.RhqPluginXmlGenerator.start(RhqPluginXmlGenerator.java:131)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
at com.sun.tools.javadoc.Start.begin(Start.java:128)
at com.sun.tools.javadoc.Main.execute(Main.java:41)
at com.sun.tools.javadoc.Main.main(Main.java:31)
javadoc: error - In doclet class org.infinispan.tools.jopr.RhqPluginXmlGenerator, method start has thrown an exception java.lang.reflect.InvocationTargetException
java.io.FileNotFoundException: ../../../src/main/resources/META-INF/rhq-plugin.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.infinispan.tools.jopr.RhqPluginXmlGenerator.copyFile(RhqPluginXmlGenerator.java:138)
at org.infinispan.tools.jopr.RhqPluginXmlGenerator.start(RhqPluginXmlGenerator.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
at com.sun.tools.javadoc.Start.begin(Start.java:128)
at com.sun.tools.javadoc.Main.execute(Main.java:41)
at com.sun.tools.javadoc.Main.main(Main.java:31)
Command line was:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javadoc @options @packages
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 minutes 19 seconds
[INFO] Finished at: Thu Nov 11 21:33:19 GMT 2010
[INFO] Final Memory: 126M/528M
[INFO] ------------------------------------------------------------------------