I would like to host a mirror of the maven repository. How can I do it?

2010-05-13 Thread Ivan Avdeyev
I would like to host a mirror of the maven repository. How can I do it?

Re: inheriting and reusing the same plugin for different purposes? doesn't seem to find the right executions

2010-05-13 Thread Kalpak Gadre
I have never tried declaring the same plugin twice, but you can simply define more executions in the same plugin declaration like, executions execution idone/id . . /execution execution idtwo/id . . /execution /executions Thanks, Kalpak Here's my

Re: I would like to host a mirror of the maven repository. How can I do it?

2010-05-13 Thread Kalpak Gadre
Do you mean the local mirror or the public mirror? Anyway there are some open source products available. Look at, Nexus: http://nexus.sonatype.org/ Artifactory: http://nexus.sonatype.org/ Thanks, Kalpak I would like to host a mirror of the maven repository. How can I do it?

Re: I would like to host a mirror of the maven repository. How can I do it?

2010-05-13 Thread Yoav Landman
Actually, Artifactory is located at: http://artifactory.jfrog.org (+ live demo: http://repo.jfrog.org) I think we'll keep it there for a while ;) Yoav On Thu, May 13, 2010 at 11:57 AM, Kalpak Gadre kalpa...@gmail.com wrote: Do you mean the local mirror or the public mirror? Anyway there

Re: I would like to host a mirror of the maven repository. How can I do it?

2010-05-13 Thread Jason van Zyl
On May 13, 2010, at 4:57 AM, Kalpak Gadre wrote: Do you mean the local mirror or the public mirror? Anyway there are some open source products available. Look at, Nexus: http://nexus.sonatype.org/ Artifactory: http://nexus.sonatype.org/ Perfect! These are the only links you need,

Re: I would like to host a mirror of the maven repository. How can I do it?

2010-05-13 Thread Deng Ching
There's also Archiva: http://archiva.apache.org/ :) -Deng On Thu, May 13, 2010 at 4:57 PM, Kalpak Gadre kalpa...@gmail.com wrote: Do you mean the local mirror or the public mirror? Anyway there are some open source products available. Look at, Nexus: http://nexus.sonatype.org/

Re: I would like to host a mirror of the maven repository. How can I do it?

2010-05-13 Thread Kalpak Gadre
LOL.. did not try to be biased... :) Apologies Artifactory guys.. - Kalpak On May 13, 2010, at 4:57 AM, Kalpak Gadre wrote: Do you mean the local mirror or the public mirror? Anyway there are some open source products available. Look at, Nexus: http://nexus.sonatype.org/ Artifactory:

gmaven plugin compile order

2010-05-13 Thread fachhoch
I recently started using groovy.My maven project has both groovy and java files. I have compiler plugin to compile my java files plugin artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration source1.6/source

Re: inheriting and reusing the same plugin for different purposes? doesn't seem to find the right executions

2010-05-13 Thread Shan Syed
Thanks, but the problem is that when I do that, both executions occur, even when I specify inheritance=false. I basically need to use the same plugin for two different purposes, without either of them affecting the other; I tried to specify different versions for the mvn dep plugin (i.e. in one

Re: inheriting and reusing the same plugin for different purposes? doesn't seem to find the right executions

2010-05-13 Thread Timothy Mcginnis
What about using profiles? Define 3 profiles; one for wsdl only, one for javascript only, and one for both. Then have the war project activate the one it needs. Tim McGinnis 717 720-1962 Web Development AES/PHEAA From: Shan Syed shan...@gmail.com To: Maven Users List

Integrating persistence (sub)module into web app

2010-05-13 Thread Dan King
Hi all, How can I get maven to automatically copy (or move) my persistence.xml file from my persistence module's meta-inf directory to the web app's meta-inf directory? I have a persistence module that contains, among other things, entity classes and the persistence.xml file. I've stored the

Re: [Solved] Integrating persistence (sub)module into web app

2010-05-13 Thread Dan King
I have a persistence module that contains, among other things, entity classes and the persistence.xml file. I've stored the persistence.xml file in src/main/resources/meta-inf. When I build the app from the parent directory (directory that contains the parent pom), the persistence.xml file is

Deployment of non-jar artifacts

2010-05-13 Thread Jason Winnebeck
What is the best way to deploy a non-jar file built with a plugin? I have a jar project I build in Maven, which works nicely to build and deploy jar, javadocs, and sources artifacts. I've written my own plugin that generates a deb into target directory (I'm aware of existing deb plugins, but

Re: Deployment of non-jar artifacts

2010-05-13 Thread Kalle Korhonen
So the deb is a secondary artifact in the same module? Use the buildhelper plugin, see the last example at http://mojo.codehaus.org/build-helper-maven-plugin/usage.html Kalle On Thu, May 13, 2010 at 9:44 AM, Jason Winnebeck jpw...@rit.edu wrote: What is the best way to deploy a non-jar file

Re: inheriting and reusing the same plugin for different purposes? doesn't seem to find the right executions

2010-05-13 Thread Shan Syed
thanks - how would I set this up? I tried to specify two profiles in my parent POM, each with their own pluginManagement blocks, containing a maven-dependency-plugin configuration, and then activated the profile in the WAR projects' POMs, but there is no result I basically want my plugins' meta

Re: inheriting and reusing the same plugin for different purposes? doesn't seem to find the right executions

2010-05-13 Thread Timothy Mcginnis
Are you defining the plugin in your WAR POM also? Using the pluginManagement I believe you also need to call out the use of the plugin in the WAR POM, but don't define any of the execution/configuration data, that is provided by the pluginManagement in the profile. Profile provides this:

Re: inheriting and reusing the same plugin for different purposes? doesn't seem to find the right executions

2010-05-13 Thread Shan Syed
I tried this (in my WAR POM): build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId /plugin /plugins /build profiles profile

Re: Integrating persistence (sub)module into web app

2010-05-13 Thread Jemos Infra
Dan, I don't understand the requirement here. Why would you need the persistence.xml file in the WEBAPP/meta-inf folder? Why not to have the webapp which includes the persistence module as a dependency, thus the persistence module will be placed under webapp/lib and the classes will be available

Re: Deployment of non-jar artifacts

2010-05-13 Thread Jason Winnebeck
I took a look at the source code for the build-helper-maven-plugin execution you showed me. It's basically just a shell around attachArtifact, but with one small difference. It calls attach artifact on the project and not the execution project. I modified my plugin to do it that exact way and

Re: inheriting and reusing the same plugin for different purposes? doesn't seem to find the right executions

2010-05-13 Thread Timothy Mcginnis
Try this. In your WAR POM remove all the maven-dependency-plugin and put this in properties unpack-javascripttrue/unpack-javascript /properties build plugins plugin artifactIdmaven-dependency-plugin/artifactId

Can't get multi-project javadocs generated based on documentation

2010-05-13 Thread Bernstein, Brian J.
Hi, We have a project that generates several smaller projects that are individually versioned, released, etc. as they're common components. We have one project that is a client library for a larger system and it depends on a few of these smaller projects. I'm having a hard time trying to figure

buildnumber-maven-plugin, git

2010-05-13 Thread Adam Monsen
Some awesome folks have created a patch to the buildnumber-maven-plugin that supports Git. Apparently it works, but the integration tests do not pass. Is anyone interested in helping make the tests pass? If not, perhaps someone could offer some advice on how to debug plugin integration tests?