Skip to content

Can't compile using Maven 3.3.9 #2

@adamwight

Description

@adamwight

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions