Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: Sprint 4.1.3
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:WebUI
-
HD-Enabler:Real Virtual Interaction
Description
Responsible: fiware@ulpgc.es
Tested GE(s): 2D-3D capture GE
Environment:
- Local
Operating System: Ubuntu 14.04.1 (64 bits)
Virtualization software: VirtualBox 4.3.18
Host Operating System: Windows 8 (64 bits)
Description:
In the Installation of the server section from the Installation and
Administration Guide we are told to install the tomcat server with maven in
order to execute the demos in the User Guide. However, the installation
fails reporting errors of hard-coded paths and missing plugins. The error
can be seen in the console output below.
Console output:
$ mvn clean compile tomcat7:deploy -Dtomcat.username=admin
-Dtomcat.password=admin
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.FIware.cyber.web:TwoDThreeDCapture:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for
com.googlecode.json-simple:json-simple:jar should use a variable instead of
a hard-coded path /home/tharanga/Software/json_simple-1.1.jar @ line 34,
column 18
[WARNING] 'dependencies.dependency.systemPath' for pngj:pngj-2.0.0.jar:jar
should use a variable instead of a hard-coded path
/home/tharanga/Software/pngj-2.0.0.jar @ line 41, column 18
[WARNING] 'build.plugins.plugin.version' for
org.apache.tomcat.maven:tomcat7-maven-plugin is missing. @ line 92, column
13
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 85,
column 11
[WARNING] 'dependencies.dependency.scope' for org.mockito:mockito-core:jar
must be one of [provided, compile, runtime, test, system] but is
'testCompile'. @ line 27, column 12
[WARNING] 'dependencies.dependency.systemPath' for
com.googlecode.json-simple:json-simple:jar refers to a non-existing file
/home/tharanga/Software/json_simple-1.1.jar @ line 34, column 18
[WARNING] 'dependencies.dependency.systemPath' for pngj:pngj-2.0.0.jar:jar
refers to a non-existing file /home/tharanga/Software/pngj-2.0.0.jar @ line
41, column 18
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building TwoDThreeDCapture Maven Webapp 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.894s
[INFO] Finished at: Thu Nov 06 11:54:38 WET 2014
[INFO] Final Memory: 5M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project TwoDThreeDCapture: Could not
resolve dependencies for project
org.FIware.cyber.web:TwoDThreeDCapture:war:1.0-SNAPSHOT: The following
artifacts could not be resolved:
com.googlecode.json-simple:json-simple:jar:1.1,
pngj:pngj-2.0.0.jar:jar:2.0.0: Could not find artifact
com.googlecode.json-simple:json-simple:jar:1.1 at specified path
/home/tharanga/Software/json_simple-1.1.jar -> [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:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help
Activity
- All
- Comments
- History
- Activity
- Transitions
Missing plugins fixed and GIT updated. Also documentation is updated to help manual deployment. Fix can be verified now.