|
From: zalym <moh...@gm...> - 2007-04-30 13:25:50
|
I had the same problem with eclipse plugin as well. When I deleted my local repository, it worked. When do I know I have to delete a repository to get a plugin and when do i really know that it is an error. I know this is a maven question, but I am wondering why this happens. --Saleem Thorsten Heit-3 wrote: > > Hi, > >> Creating the pom is not that tough right. Once i downloaded the required >> archetypes, I imported my local repository into artifactory. :) >> >> I have an issue when downloading the jetty plugin. It is not there in >> the >> local repo, but its supposed to download from the central repo right? >> Unable to figure this out... > > According to the hints at http://jetty.mortbay.org/maven-plugin/howto.html > and using the following minimal pom.xml I had no problems downloading the > Jetty plugin: > > > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <packaging>jar</packaging> > > <build> > <plugins> > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > > > Maven downloaded a lot of stuff via Artifactory and finally stopped with > an expected error message because I don't have any (re-)sources with the > above pom.xml: > > > [INFO] [jetty:run] > [INFO] Configuring Jetty for project: Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Webapp source directory C:\cygwin\home\H2841\asd\src\main\webapp > does not exist > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 28 seconds > [INFO] Finished at: Wed Apr 25 11:00:24 CEST 2007 > [INFO] Final Memory: 5M/11M > [INFO] > ------------------------------------------------------------------------ > > > HTH > > Thorsten > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Artifactory-users mailing list > Art...@li... > https://lists.sourceforge.net/lists/listinfo/artifactory-users > > -- View this message in context: http://www.nabble.com/Initial-setup-tf3636461.html#a10253460 Sent from the Artifactory-Users mailing list archive at Nabble.com. |