i have build the releases 0.5x “graphhopper-tools-0.5-SNAPSHOT-jar-with-dependencies.jar” until now in the tool subdirectory with success
call mvn install -DskipTests=true assembly:single
with the new Snapshot from graphhopper-0.6 the build fails.
…
[INFO]
[INFO] — maven-jar-plugin:2.6:jar (default-jar) @ graphhopper-tools —
[INFO] ----------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ----------------------------------------------------------------------
[INFO] Total time: 2.500 s
[INFO] Finished at: 2016-01-27T19:35:03+01:00
[INFO] Final Memory: 11M/27M
[INFO] ----------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:
(default-jar) on project graphhopper-tools: Error assembling JAR: Failed to
ermine inclusion status for: S:_BuildProject_graphhopper\Snapshot\graphhopp
0.6\tools\pom.xml: S:_BuildProject_graphhopper\Snapshot\graphhopper-0.6\too
pom.xml: Unzulõssige Funktion. → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e s
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecuti
xception
…
Excuse: I have Windows and not Linux …
…
in the root
call mvn clean
call mvn build
has the following Error no jars…
[INFO] Building GraphHopper Parent Project 0.6.0-RC1
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GraphHopper Parent Project … FAILURE [ 0.016 s]
[INFO] GraphHopper Tools LGPL licensed … SKIPPED
[INFO] GraphHopper … SKIPPED
[INFO] GraphHopper Tools … SKIPPED
[INFO] GraphHopper Web … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.359 s
[INFO] Finished at: 2016-01-27T20:39:30+01:00
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase “build”. You must specify a valid lifecycle phas
e or a goal in the format : or :[:]:. Available lifecycle phases are: validate,
initialize, generate-sources, process-sources, generate-resources, process-resou
rces, compile, process-classes, generate-test-sources, process-test-sources, gen
erate-test-resources, process-test-resources, test-compile, process-test-classes
, test, prepare-package, package, pre-integration-test, integration-test, post-i
ntegration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site
, site, post-site, site-deploy. → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhase
NotFoundException
S:_BuildProject_graphhopper\Snapshot\graphhopper-0.6\tools>mvn -DskipTests ins
tall assembly:single
[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GraphHopper Tools 0.6.0-RC1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-enforcer-plugin:1.2:enforce (enforce-maven) @ graphhopper-tools
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ graphhoppe
r-tools —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] — maven-compiler-plugin:3.3:compile (default-compile) @ graphhopper-too
ls —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ gr
aphhopper-tools —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory S:_BuildProject_graphhopper\Snapsho
t\graphhopper-0.6\tools\src\test\resources
[INFO]
[INFO] — maven-compiler-plugin:3.3:testCompile (default-testCompile) @ graphho
pper-tools —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — maven-surefire-plugin:2.18.1:test (default-test) @ graphhopper-tools
[INFO] Tests are skipped.
[INFO]
[INFO] — maven-jar-plugin:2.6:jar (default-jar) @ graphhopper-tools —
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.218 s
[INFO] Finished at: 2016-01-27T22:39:20+01:00
[INFO] Final Memory: 11M/27M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar
…
Hmmh, but it can’t say the same as there are two different commands (mvn build vs mvn … install) and the 3rd post says something due to the ‘build’ command not known
[INFO]
[INFO] — maven-jar-plugin:2.6:jar (default-jar) @ graphhopper —
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:04 min
[INFO] Finished at: 2016-01-29T11:33:01+01:00
[INFO] Final Memory: 8M/27M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project graphhopper: Error assembling JAR: Failed to determine inclusion status for: S:_BuildProject_graphhopper\Snapshot\graphhopper-0.6\core\pom.xml: S:_BuildProject_graphhopper\Snapshot\graphhopper-0.6\core\pom.xml: Unzulässige Funktion. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
In the IDE has the pom.xml shows an error "Plugin org.apache.maven.plugins:maven-gpg-plugin:1.6 not found"
I have MAVEN 3.2.5
…
maven-gpg-plugin
1.6
…
It looks like it does not find the gpg plugin … that should not be necessary for just installing the jars. Strange. Did you follow the intelliJ instructions?
thanks for all answers. Now i can build the JARS. The errors occur only when I want to make that in the Virtual Box with Shared Drives (comandline and Intellij). Why??
I have now made this in my origin system (No Internet connection, but i have copied the .m2 Dir). This works very well.
Thanks
Achim