Re: mvn dependency:get trying to get artifact from internal repo instead of artifact

2012-01-16 Thread Wayne Fay
> I did indeed read the manual and even search the web for examples before > posting on this list; My mvn installation (3.0.3) doesn't: > > * Recognize repositoryUrl, I get an 'repositoryUrl' for goal > org.apache.maven.plugins:maven-dependency-plugin:2.1:get are missing or > invalid' > * remoteRep

Re: MVN Site doesn't bring Project Modules structure properly

2012-01-16 Thread Benson Margulies
you list the javadoc plugin as a reporting plugin, either in or in the config of the site plugin. On Mon, Jan 16, 2012 at 5:50 PM, Daivish Shah wrote: > Yes i know there is a plugin for java doc. > > But i am looking how to integrate JAVADOC with maven site ? I mean on MAVEN > generated site i w

Re: MVN Site doesn't bring Project Modules structure properly

2012-01-16 Thread Daivish Shah
Yes i know there is a plugin for java doc. But i am looking how to integrate JAVADOC with maven site ? I mean on MAVEN generated site i want to provide JAVA DOC link how can i do that ? Thanks. On Mon, Jan 16, 2012 at 2:28 PM, Dennis Lundberg wrote: > That'd be the Javadoc Plugin: > > http:

Re: mvn dependency:get trying to get artifact from internal repo instead of artifact

2012-01-16 Thread Jose Vicente Nunez Zuleta
Wayne, I did indeed read the manual and even search the web for examples before posting on this list; My mvn installation (3.0.3) doesn't: * Recognize repositoryUrl, I get an 'repositoryUrl' for goal org.apache.maven.plugins:maven-dependency-plugin:2.1:get are missing or invalid' * remoteReposi

Re: mvn dependency:get trying to get artifact from internal repo instead of artifact

2012-01-16 Thread Wayne Fay
> I'm trying to download an artifact from my release repository (called > stupidzombie) but instead mvn tries to get it from the internal repository. > Any ideas why the repoUrl is being twisted?' > > Macintosh:walker josevnz$ mvn dependency:get > -DrepoUrl=http://localhost:8080/archiva/repository/

Re: MVN Site doesn't bring Project Modules structure properly

2012-01-16 Thread Dennis Lundberg
That'd be the Javadoc Plugin: http://maven.apache.org/plugins/maven-javadoc-plugin/ On 2012-01-16 22:36, Daivish Shah wrote: > Thanks Dennis for your quick reply on this... > > > And how to associate JAVADOC with this MVN submodule project ? As all > submodules has JAVADOC and i want to associa

[ANN] Maven EAR Plugin 2.7 Released

2012-01-16 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven EAR Plugin, version 2.7 The most noteworthy in this release is the support for skinny WAR files. It is one of the most voted on issues in our JIRA with 50 votes. We would love to hear your feedback on this new feature. The plugin ge

mvn dependency:get trying to get artifact from internal repo instead of artifact

2012-01-16 Thread Jose Vicente Nunez Zuleta
Hello All, I'm trying to download an artifact from my release repository (called stupidzombie) but instead mvn tries to get it from the internal repository. Any ideas why the repoUrl is being twisted?' The output of my attempts below. Macintosh:walker josevnz$ mvn dependency:get -DrepoUrl=ht

Re: MVN Site doesn't bring Project Modules structure properly

2012-01-16 Thread Daivish Shah
Thanks Dennis for your quick reply on this... And how to associate JAVADOC with this MVN submodule project ? As all submodules has JAVADOC and i want to associate those with MVN SITE, How can i do that ? Thanks. On Mon, Jan 16, 2012 at 12:18 PM, Dennis Lundberg wrote: > > http://maven.apache.o

Re: MVN Site doesn't bring Project Modules structure properly

2012-01-16 Thread Dennis Lundberg
http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why_dont_the_links_between_parent_and_child_modules_work_when_I_run_mvn_site On 2012-01-16 21:04, Daivish Shah wrote: > I have project like this. > > MainProject > > SubProject1 > > --- SubProject2 > > SubPro

MVN Site doesn't bring Project Modules structure properly

2012-01-16 Thread Daivish Shah
I have project like this. MainProject SubProject1 --- SubProject2 SubProject3 And i am trying to execute MVN SITE command. I am able to setup all other section in Project Information Section. All sub module's POM.XML have SubProject1 entry for this, that's why i am

Re: maven-plugin-tools-ant custom parameter

2012-01-16 Thread Robert Scholte
Yes you're missing something. If we keep it very simple: you can use properties to set the configuration, but you can't use configuration to set a property. I'm wondering why you're using Ant and not just making an Mojo. Please check http://www.sonatype.com/books/mvnref-book/reference/writin

Re: mavem-war-plugin packagingExcludes regex not working

2012-01-16 Thread Stephen Connolly
find() just means that there is a partial match, but you need a complete match (i.e. the match() column needs to say yes) On 16 January 2012 15:49, mschipperheyn wrote: > Your suggestion doesn't work. BTW, I do see a Yes in the column find() in the > example you are referring to, or am I reading

Re: mavem-war-plugin packagingExcludes regex not working

2012-01-16 Thread mschipperheyn
Your suggestion doesn't work. BTW, I do see a Yes in the column find() in the example you are referring to, or am I reading this wrong? -- View this message in context: http://maven.40175.n5.nabble.com/mavem-war-plugin-packagingExcludes-regex-not-working-tp5139981p5149055.html Sent from the Mave

Re: Settings-file and invoker-plugin

2012-01-16 Thread Stephen Connolly
Please try mrm-maven-plugin... you'll be pleasantly surprised... best example is the current trunk of versions-maven-plugin @ mojo On 16 January 2012 15:08, Asmann, Roland wrote: > My use-case is also running integration tests. However, I don't want to > have several different settings.xml files

Re: Settings-file and invoker-plugin

2012-01-16 Thread Asmann, Roland
My use-case is also running integration tests. However, I don't want to have several different settings.xml files (unless it becomes necessary). So, I created one that works for me (user/pw on servers, proxy, repositories -- especially using the 'normal' local repo as a remote for the invoker)

Re: 'version' contains an expression but should be a constant. Better way to add a new version?

2012-01-16 Thread Ron Wheeler
It looks like you are trying to use releases when you want SNAPSHOTS. Releases should come with a warranty and a specification (written or implied). SNAPSHOTS do not. Ron On 15/01/2012 8:00 PM, Jose Vicente Nunez Zuleta wrote: Hello Stephen, mvn versions:set -DnewVersion=0.1 mvn versions:c

Re: maven-plugin-tools-ant custom parameter

2012-01-16 Thread Maxime Carpentier
yes, but i'm not sure about my hello.mojos.xml : *Person.java :* package my.test.maven; public class Person { /** * @parameter expression="${cvs.name}" */ private String name; public String getName() { return name; } public void setName(String name) {

Re: Settings-file and invoker-plugin

2012-01-16 Thread Stephen Connolly
Most people use invoker to run integration tests of their maven plugins. As such, when running integration tests, you typically will have a test settings.xml so that the test environment will be constant. There is the issue of when you are behind a proxy, to solve this issue (as sometimes you nee

Settings-file and invoker-plugin

2012-01-16 Thread Asmann, Roland
Hi all, When running my projects on Jenkins, I need to set the settings-file (-s /path/to/settings.xml). I've hit my toes a couple of times now on the fact that I than also have to set the settings-file for the invoker-plugin (-Dinvoker.settingsFile=/path/to/settings.xml). Why doesn't the invo