java - MVN Package Build Failure -


i trying package java project using maven. i've done before on old computer, can't seem make work on new computer.

here error:

`

(env)kyle@thinkpad ~/code/simplefilehosting $ mvn -version apache maven 3.0.5 maven home: /usr/share/maven java version: 1.7.0_95, vendor: oracle corporation java home: /usr/lib/jvm/java-7-openjdk-amd64/jre default locale: en_us, platform encoding: utf-8 os name: "linux", version: "3.16.0-38-generic", arch: "amd64", family: "unix" (env)kyle@thinkpad ~/code/simplefilehosting $ java -version java version "1.7.0_95" openjdk runtime environment (icedtea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.1) openjdk 64-bit server vm (build 24.95-b01, mixed mode) (env)kyle@thinkpad ~/code/simplefilehosting $ javac -version javac 1.7.0_95 (env)kyle@thinkpad ~/code/simplefilehosting $  

here version information java, javac , mvn:

(env)kyle@thinkpad ~/code/simplefilehosting $ mvn -version apache maven 3.0.5 maven home: /usr/share/maven java version: 1.7.0_95, vendor: oracle corporation java home: /usr/lib/jvm/java-7-openjdk-amd64/jre default locale: en_us, platform encoding: utf-8 os name: "linux", version: "3.16.0-38-generic", arch: "amd64", family: "unix" (env)kyle@thinkpad ~/code/simplefilehosting $ java -version java version "1.7.0_95" openjdk runtime environment (icedtea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.1) openjdk 64-bit server vm (build 24.95-b01, mixed mode) (env)kyle@thinkpad ~/code/simplefilehosting $ javac -version javac 1.7.0_95 (env)kyle@thinkpad ~/code/simplefilehosting $  

i tried looking @ online , add plugin mvn never realized plugins tag or else. , haven't changed pom.xml last time able package it.

without actual error message diagnose (i think intended include didn't)...but few things:

-check m2_home , java_home variables , make sure correct -make sure settings.xml in ~/.m2 or $m2_home/config directories -on old machine, delete entire ~/.m2/repository directory , see if builds, if upgraded maven along way there might have maven3 can't reason download -consider upgrading, 3.0.5 intermediate version between old maven2 , maven3 artifact resolution, major differences, different behavior, knows have.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -