Hi, You have to setup your repository with maven.repo.remote=http://www.ibiblio.org/maven,http://your_host/your_dir
plugin:download will check in the above appending /groupId/plugins/artifactId-version.jar First http://www.ibiblio.org/maven/groupId/plugins/artifactId-version.jar Second http://your_host/your_dir/groupId/plugins/artifactId-version.jar Regards Carlos Sanchez A Coru�a, Spain Oness Project http://oness.sourceforge.net > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Peter Nabbefeld > Sent: Sunday, July 11, 2004 2:48 PM > To: [EMAIL PROTECTED] > Subject: Deploying plugins > > > Hi, > > I've tried to write a plugin and deploy it with my local web > server (on W2k), placing it in > ${docroot}/repository/maven/plugins/myplugin-0.1.jar. Now > I've tried to install it using '"%maven_home%\bin\maven" > plugin:download -DgroupId=maven -DartifactId=myplugin > -Dversion=0.1'. The strange thing is, that it first does not > look in the plugins tree, but in the jars tree and fails. > I've changed then the name of the directory to jars, but now > it looks in plugins. After back-renaming, it works. > > The strange thing here is, that Maven obviously looks in jars > the first time (and only the first time), then it has learned > that the file is a plugin and looks in the plugins tree. > > From this all it seems to me, that I'd to put something > (possibly a project description?) into the jars tree, and the > right destination would probably be the plugins tree. > > So my question is: What does Maven expect to find in the jars > tree (other than a duplicate of the file)? How do I have to > install my plugin an my local server? > > Kind regards > > Peter Nabbefeld > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
