Re: [jetty-user] jetty-maven-plugin looking in wrong places for artifacts
Jan Bartel <[email protected]> Thu, 24 Nov 2011 10:27:40 +1100
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <CALg=VpgNja+ip7LL4GmnR5eU90D-3d8A+YGLOfLCXJNXaXXQvg@mail.gmail.com> |
I think this question is probably best asked on the maven list. If you drop back a version of maven and leave jetty at 7.5.3 that would confirm that it is something to do with your maven config. cheers Jan On 24 November 2011 07:30, David Hoffer <[email protected]> wrote: > I have a multi-module maven project where the UI is Flex and the > backend Java/Jetty. I'm using maven-jetty-plugin to host in Jetty and > it was working with version 6.1.25, i.e. I could run the run/etc goals > in my war maven module. > > I have one maven module that creates the swf and another that creates the war. > > However now I have upgraded to maven 3.x and Jetty/jetty-maven-plugin > version 7.5.3.v20111011. and now those same goals fail with this > error: > > [ERROR] Failed to execute goal on project webapp-war-flex: Could not > resolve dependencies for project > com.inc.app:webapp-war-flex:war:4.3-SNAPSHOT: Could not find artifact > com.inc.app:webapp-flex:swf:4.3-SNAPSHOT in nexus > (https://maven.inc.com/nexus/content/groups/public) -> [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 > > The problem seems to be that the new version of the plugin insists on > finding the swf dependency in the corporate repo which it isn't going > to find because it was not deployed there yet. However it should not > be looking there as the swf was already assembled in the war. And for > goals that create the war it should look in my local repo for the swf > before it tries to find it in the corporate repo. > > How can I fix this? > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email