Re: mvn validate -Pdb,mysql , failed

2011-12-22 Thread Wayne Fay
> In a tutorial  the first step was : > mvn validate -Pdb,mysql -Dimpex.dba.password=[dbapassword] What tutorial are you talking about?? What is the url etc? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: mvn validate -Pdb,mysql , failed

2011-12-22 Thread Barrie Treloar
> 'org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.3.2-kuali-2' This is not a valid plugin 'org.apache.maven.plugins:maven-jar-plugin' is, but missing the version details. I suspect you have errors in you pom.xml file that you need to fix. --

mvn validate -Pdb,mysql , failed

2011-12-22 Thread mlotfi
Hi, In a tutorial the first step was : mvn validate -Pdb,mysql -Dimpex.dba.password=[dbapassword] I got this , it fails : C:\maj\kcDoc\KualiRice\db\impex\master>mvn validate -Pdb,oracle -Dimpex.url=jdbc :oracle:thin:@localhost:1521:XE -Dimpex.dba.password=password [INFO] Scanning for projects..

Re: Use mvnsh with already installed Maven - how?

2011-12-22 Thread Daniel Serodio
Lewis, Eric wrote: Hi I'm looking into mvnsh right now, after having installed Maven 3.0.3 Is there a way to let mvnsh use the installed Maven instead of its own bundled version 3.0.2? Did you try replacing the maven-* JARs in mvnsh's lib directory? Regards, Daniel Serodio --

Re: mvn javadoc:javadoc failing on only ONE Module project

2011-12-22 Thread Wayne Fay
> You are absolutely right, I tried using JDK 1.7 version and i am able to > complete it successfully. But if i execute "mvn -X javadoc:javadoc"  i can ... > But do you know is there any work around for JDK 1.6 version to fix this > issue, As we might not able to change JDK version for our Producti

Re: mvn javadoc:javadoc failing on only ONE Module project

2011-12-22 Thread Ron Wheeler
On 22/12/2011 1:11 PM, Daivish Shah wrote: HI Wayne, You are absolutely right, I tried using JDK 1.7 version and i am able to complete it successfully. But if i execute "mvn -X javadoc:javadoc" i can see it still gives me warning for my Annotation values which is really strange still looks like

Re: mvn javadoc:javadoc failing on only ONE Module project

2011-12-22 Thread Daivish Shah
HI Wayne, You are absolutely right, I tried using JDK 1.7 version and i am able to complete it successfully. But if i execute "mvn -X javadoc:javadoc" i can see it still gives me warning for my Annotation values which is really strange still looks like javadoc doesn't able to find those JAR in th

Re: Overwritting parent war-plugin webresources

2011-12-22 Thread Cem Koc
Hi Olivier, Brilliant solution :) I have totally forgotten such kind of features. [1] By the way, I would like to thank you for your all contributions by this opportunity. I really like your blog and articles. :) Thanks [1]: http://www.sonatype.com/people/2011/01/maven-how-to-merging-plugin-con

Re: Overwritting parent war-plugin webresources

2011-12-22 Thread Olivier Lamy
Maybe just an idea (not tested) in your child pom 2011/12/22 Cem Koc : > Hi I have a dozen projects utilizing common war configuration at my parent > pom pluginManagement as this: > >   >     >        ${ui-dir-jsp} >         >           ${jsp-for-war} >         >     >   > > > However this

Re: Maven eclipse not fully functional

2011-12-22 Thread Ron Wheeler
If you can move to the STS version of Eclipse, you might find that these problems go away since it comes ready to go with Maven. Ron On 21/12/2011 8:42 PM, Barrie Treloar wrote: On Thu, Dec 22, 2011 at 11:16 AM, Apache Omega wrote: I'm using the Maven Apache plug in for eclipse because I'm t

Overwritting parent war-plugin webresources

2011-12-22 Thread Cem Koc
Hi I have a dozen projects utilizing common war configuration at my parent pom pluginManagement as this: ${ui-dir-jsp} ${jsp-for-war} However this configuration is not applicable for new project. I would like to overwrite this configuration

Effective scope of transitive dependencies when taking type into consideration?

2011-12-22 Thread Me Self
I have a project A that depends on project B that depends on project C. If the scope of the project B dependency is "provided" and the scope of the project C dependency is also "provided" then according to http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-project-dependenc

Re: Maven plugin for dependency resolution

2011-12-22 Thread Marek Psiuk
Hi Karl, thanks for help. Yes I spotted this depedency-plugin and managed to write simple POC which works (to some extent). The thing is that I wanted also to sort of "run" my plugin from standalone java application (Eclipse -> Run As -> Java Application). Aether is great for such kind of things.

Re: Maven plugin for dependency resolution

2011-12-22 Thread Karl Heinz Marbaise
Hi, have you taken a look into the maven-dependency-plugin code ? This works as well in M2 as well in M3 ... Aether is intended only for M3 world...within a plugin you can get the Dependencies via: this.project.getArtifacts(); if you inject the MavenProject on your plugin parameters: /** * The