Re: ant build for maven 2.2 source code failed

2011-01-21 Thread Benjamin Bentmann
Rich chen wrote: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6 This jar is not even available when I use maven to build it. The JAR is out there: http://uk.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/ E:\Work\MavenBuild22\maven-2.2.x_ant>ant -Dht

ant build for maven 2.2 source code failed

2011-01-21 Thread Rich chen
I tried to build maven 2.2 source, the maven build is good. But when I use ant the build, I was blocked due to org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6 This jar is not even available when I use maven to build it. Thanks E:\Work\MavenBuild22\maven-2.2.x_ant>ant -Dhttp.proxyHo

Archetype multi module

2011-01-21 Thread Marcus Vinicius
> Hello, > > > > I'm developing a multi module archetype. But i would like to offer to users > of my archetypes a option to choose which modules wants use, on runtime. > > > > For example, when the user execute: > > mvn archetype:generate > > > > I could ask to user whats modules he

Re: ArtifactRepository creation

2011-01-21 Thread Bernd Vogt
> ArtifactRepositoryFactory.createArtifactRepository(). Sometimes, things are so easy. :) FYI: http://jira.codehaus.org/browse/MNG-4991 -- View this message in context: http://maven.40175.n5.nabble.com/ArtifactRepository-creation-tp3351150p3351796.html Sent from the Maven Developers mailing l

Re: How to add a custom ProfileActivator in Maven3?

2011-01-21 Thread Benjamin Bentmann
Xie Jilei wrote: I'm create a new ProfileActivator like: You can't, it's not supported. Benjamin - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org

Re: ArtifactRepository creation

2011-01-21 Thread Benjamin Bentmann
Bernd Vogt wrote: is it intended that non proxy host settings are not evaluated by LegacyRepositorySystem#injectProxy(List, List)" ? No, please fill a bug at http://jira.codehaus.org/browse/MNG Is there another convenient way to create a fully configured ArtifactRepository (even when the Moj

ArtifactRepository creation

2011-01-21 Thread Bernd.Vogt
Hi, is it intended that non proxy host settings are not evaluated by LegacyRepositorySystem#injectProxy(List, List)" ? Is there another convenient way to create a fully configured ArtifactRepository (even when the Mojo doesn't require a project)? Best regards Bernd Vogt