Maven build

39 views
Skip to first unread message

Emiliano

unread,
Jul 16, 2013, 1:14:26 PM7/16/13
to red5in...@googlegroups.com
Hello to all.
I'm trying to follow the instructions given by Paul to the following link:

http://screencast.com/t/2sgjMevf9

The Maven build command will fail. It seems that it can not download the dependencies and I get a number of these errors:

Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.6 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-utils:jar:3.0.9, org.apache.maven.shared:file-management:jar:1.2.1, org.apache.maven.shared:maven-shared-io:jar:1.1, org.codehaus.plexus:plexus-io:jar:2.0.6: Could not transfer artifact org.codehaus.plexus:plexus-utils:jar:3.0.9 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.9/plexus-utils-3.0.9.jar
    at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:215)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:353)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:321)
    at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:175)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:78)
    ... 20 more



Can you tell me where I'm wrong?
Thank you very much and greetings.

Emiliano

Mondain

unread,
Jul 16, 2013, 5:22:16 PM7/16/13
to red5in...@googlegroups.com
I just built last night, if this indicates what I think it does it may mean that they removed that plexus jar or your connection has an issue retrieving it. Have you tried deleting your .m2 directory? Which will make maven re-download everything.



--
 
---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
http://gregoire.org/
http://code.google.com/p/red5/

Emiliano

unread,
Jul 17, 2013, 6:14:34 AM7/17/13
to red5in...@googlegroups.com
Hello, Paul.
It works: I deleted my .m2 directory and the result was as follows:

-------------------------------------------------- ----------------------
[INFO] BUILD SUCCESS
[INFO] ----------------------------------------------- -------------------------
[INFO] Total time: 13:24.882 s
[INFO] Finished at: Wed Jul 17 11:03:24 EDT 2013
[INFO] Final Memory: 21M/138M
[INFO] ----------------------------------------------- -------------------------

Now I continue to analyze and apply your video tutorial.
Thank you very much.
Greetings.

Emiliano

Mondain

unread,
Jul 17, 2013, 9:51:51 AM7/17/13
to red5in...@googlegroups.com
Glad that got it working for you; it sucks that there isn't an option to force Maven to clean up the local repo, fyi -U doesn't work for me.
Reply all
Reply to author
Forward
0 new messages