Errors in pom.xml files

7,118 views
Skip to first unread message

Ioanna Herakleous

unread,
Sep 21, 2013, 4:52:43 PM9/21/13
to dcm...@googlegroups.com
Hello,


However, in pom.xml files there are errors, as you can see in the attached image.

Can you help me?

Thanks in advance,

Ioanna Herakleous




issue.PNG

Ioanna Herakleous

unread,
Sep 22, 2013, 3:32:37 AM9/22/13
to dcm...@googlegroups.com
Moreover, when I run the project the following errors appears.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] weasis-parent
[INFO] Parent of Core Plug-ins [weasis-core-parent]
[INFO] Weasis Core API [weasis-core-api]
[INFO] Weasis UI API (j2se) [weasis-core-ui]
[INFO] Core Plug-ins [weasis-core]
[INFO] Parent of ImageIO Plug-ins [weasis-imageio-parent]
[INFO] ImageIO Codec [weasis-imageio-codec]
[INFO] ImageIO native Windows x86 codec
[INFO] ImageIO native Linux x86 codec
[INFO] ImageIO native Linux amd64 codec
[INFO] ImageIO Plug-ins [weasis-imageio]
[INFO] Parent of Default Plug-ins [weasis-base-parent]
[INFO] Weasis Base UI [weasis-base-ui]
[INFO] Media Explorer [weasis-base-explorer]
[INFO] Image Viewer [weasis-base-viewer2d]
[INFO] Default Plug-ins [weasis-base]
[INFO] Parent of DICOM Plug-ins [weasis-dicom-parent]
[INFO] DICOM Codec [weasis-dicom-codec]
[INFO] DICOM Data Explorer [weasis-dicom-explorer]
[INFO] 2D DICOM Viewer [weasis-dicom-viewer2d]
[INFO] DICOM Plug-ins [weasis-dicom]
[INFO] Weasis Launcher (Felix) [weasis-launcher]
[INFO] weasis-framework
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.3.1: Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.0: Plugin org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.0
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.1: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.1
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-release-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.4.1
[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): null to http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): null to http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): null to http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): null to http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] weasis-parent ..................................... SKIPPED
[INFO] Parent of Core Plug-ins [weasis-core-parent] ...... SKIPPED
[INFO] Weasis Core API [weasis-core-api] ................. SKIPPED
[INFO] Weasis UI API (j2se) [weasis-core-ui] ............. SKIPPED
[INFO] Core Plug-ins [weasis-core] ....................... SKIPPED
[INFO] Parent of ImageIO Plug-ins [weasis-imageio-parent]  SKIPPED
[INFO] ImageIO Codec [weasis-imageio-codec] .............. SKIPPED
[INFO] ImageIO native Windows x86 codec .................. SKIPPED
[INFO] ImageIO native Linux x86 codec .................... SKIPPED
[INFO] ImageIO native Linux amd64 codec .................. SKIPPED
[INFO] ImageIO Plug-ins [weasis-imageio] ................. SKIPPED
[INFO] Parent of Default Plug-ins [weasis-base-parent] ... SKIPPED
[INFO] Weasis Base UI [weasis-base-ui] ................... SKIPPED
[INFO] Media Explorer [weasis-base-explorer] ............. SKIPPED
[INFO] Image Viewer [weasis-base-viewer2d] ............... SKIPPED
[INFO] Default Plug-ins [weasis-base] .................... SKIPPED
[INFO] Parent of DICOM Plug-ins [weasis-dicom-parent] .... SKIPPED
[INFO] DICOM Codec [weasis-dicom-codec] .................. SKIPPED
[INFO] DICOM Data Explorer [weasis-dicom-explorer] ....... SKIPPED
[INFO] 2D DICOM Viewer [weasis-dicom-viewer2d] ........... SKIPPED
[INFO] DICOM Plug-ins [weasis-dicom] ..................... SKIPPED
[INFO] Weasis Launcher (Felix) [weasis-launcher] ......... SKIPPED
[INFO] weasis-framework .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.709s
[INFO] Finished at: Sun Sep 22 10:28:12 EEST 2013
[INFO] Final Memory: 8M/167M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'install' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\user\.m2\repository), central (http://repo.maven.apache.org/maven2)] -> [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:

Can anyone help me?


Ioanna Herakleous

unread,
Sep 22, 2013, 10:25:33 AM9/22/13
to dcm...@googlegroups.com
Finally I think all the above issues are related to the maven installation.
In command line i run "mvn clean install" and the result is a hundred errors as you see in the attached image.
It seems easy but i have done everything!
Please help me!
mvn install.PNG

nicolas...@gmail.com

unread,
Sep 23, 2013, 4:07:32 AM9/23/13
to dcm...@googlegroups.com
It seems Maven cannot download any packages. If you are behind a proxy server, follow the instructions in "Configure m2eclipse" item.

Ioanna Herakleous

unread,
Sep 25, 2013, 12:38:21 PM9/25/13
to dcm...@googlegroups.com
Thanks Nicolas,

However, I am new on Weasis/maven and i am working in my pc. How can i found out ifi am behind a server.

Thank you in advance

nicolas...@gmail.com

unread,
Sep 29, 2013, 4:16:29 AM9/29/13
to dcm...@googlegroups.com
Try to start by building a simple maven project.

I guess your are not behind a proxy, otherwise you will know that.

JDK 7 can be an issue in some situations, prefer to use JDK 6.

christian chatelain

unread,
Jan 14, 2014, 11:21:20 AM1/14/14
to dcm...@googlegroups.com
I confirm : JDK 7 can be an issue. I had the same problem and the use of JDK 6 has been the solution. It was not a proxy problem but the incompatibility of JDK7
-----------------------------------------
Reply all
Reply to author
Forward
0 new messages