Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile using Maven 3.3.9 #2

Open
adamwight opened this issue Jan 10, 2017 · 0 comments
Open

Can't compile using Maven 3.3.9 #2

adamwight opened this issue Jan 10, 2017 · 0 comments

Comments

@adamwight
Copy link

This looks like a great tool, and I'd like to use it but lack the Java foo. So far, I tried "mvn compile" and "mvn package", but no sources are build. When I apply the following patch,

--- a/pom.xml
+++ b/pom.xml
@@ -45,4 +45,11 @@
             <version>2.5.3</version>
         </dependency>
     </dependencies>
+    <build>
+        <sourceDirectory>src</sourceDirectory>
+    </build>
+    <properties>
+        <maven.compiler.source>1.8</maven.compiler.source>
+        <maven.compiler.target>1.8</maven.compiler.target>
+    </properties>
 </project>

The next error is:

[ERROR] Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider org.kohsuke.args4j.apt.AnnotationProcessorImpl could not be instantiated: java.lang.NullPointerException

However, I'd like to check with you before digging any further, I assume I'm just not running the right command or version of Maven or JDK? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant