Antwort: eclipse plugin has a POM of its own

2012-03-05 Thread Thorsten Heit
Hi, build sourceDirectoryC:\RSA75Workspace\workspace\finAppWeb\src/sourceDirectory scriptSourceDirectoryC:\RSA75Workspace\workspace\finAppWeb\src\main \scripts/scriptSourceDirectory testSourceDirectoryC:\RSA75Workspace\workspace\finAppWeb\src\test \java/testSourceDirectory

Re: Added source directory still allows for compile errors

2012-03-05 Thread Stephane-3
Hello, Yes, there are lots of source files in this generated directory. They were generated with the command wsdl2java -- View this message in context: http://maven.40175.n5.nabble.com/Added-source-directory-still-allows-for-compile-errors-tp5501630p5536890.html Sent from the Maven - Users

mvn install (Access is denied) problem

2012-03-05 Thread Jehan Badshah
Dear All I am using windows 7, when installing a library using command *mvn install:install-file -DgroupId=com.google.gdata -DartifactId=gdata-docs -Dversion=3.0 -Dpackaging=jar -Dfile=C:\Users\admin\rsmart-gdoc\gdata\java\lib -DgeneratePom=true* then getting following error [INFO] Scanning

Re: eclipse plugin has a POM of its own

2012-03-05 Thread sarmahdi
Thanks Anders, Yes you are right the plugin that installed with eclipse was different than the one i installed with netbeans(thats what i was using outside the IDE as well) but here is the thing now, whihc is ticking me off with eclipse plugin for maven. I dont know why but now when I am

Re: Antwort: eclipse plugin has a POM of its own

2012-03-05 Thread sarmahdi
Thanks Thorsten, Yeah thats a good suggestion. Also can you tell me how to remove the C:\RSA75Workspace\workspace/ blah blah to some thing relative to workspace?? so that the POM is portable to another workspace. Thanks Syed... -- View this message in context:

Re: Antwort: eclipse plugin has a POM of its own

2012-03-05 Thread sarmahdi
Thanks Thorsten, Yeah thats a good suggestion. Also can you tell me how to remove the C:\RSA75Workspace\workspace/ blah blah to some thing relative to workspace?? so that the POM is portable to another workspace. Thanks Syed... -- View this message in context:

Re: Antwort: eclipse plugin has a POM of its own

2012-03-05 Thread sarmahdi
Thanks Thorsten, Yeah thats a good suggestion. Also can you tell me how to remove the C:\RSA75Workspace\workspace/ blah blah to some thing relative to workspace?? so that the POM is portable to another workspace. Thanks Syed... -- View this message in context:

mvn install (Access is denied) problem

2012-03-05 Thread jehan
Dear All I am using windows 7, when installing a library using command *mvn install:install-file -DgroupId=com.google.gdata -DartifactId=gdata-docs -Dversion=3.0 -Dpackaging=jar -Dfile=C:\Users\admin\rsmart-gdoc\gdata\java\lib -DgeneratePom=true* then getting following error [INFO] Scanning

Re: mvn install (Access is denied) problem

2012-03-05 Thread John Patrick
Looks like a client side issue with your local environment. Double check the -Dfile option as it looks like your referring to a directory, instead of a file. Can you confirm the following is what you are executing: mvn install:install-file -DgroupId=com.google.gdata -DartifactId=gdata-docs

Re: mvn install (Access is denied) problem

2012-03-05 Thread jehan
Thanks and resolved On Mon, Mar 5, 2012 at 3:20 PM, John Patrick [via Maven] ml-node+s40175n5537110...@n5.nabble.com wrote: Looks like a client side issue with your local environment. Double check the -Dfile option as it looks like your referring to a directory, instead of a file. Can you

Re: Re: Antwort: eclipse plugin has a POM of its own

2012-03-05 Thread Thorsten Heit
Hi Syed, Yeah thats a good suggestion. Also can you tell me how to remove the C:\RSA75Workspace\workspace/ blah blah to some thing relative to workspace?? so that the POM is portable to another workspace. According to your initial post the effective pom lets me guess that you're using the

Re: webappsource location in POM

2012-03-05 Thread sarmahdi
I added the location in the war plugin :D plugins plugin artifactIdmaven-war-plugin/artifactId version2.2/version executions execution iddefault-war/id phasepackage/phase goals goalwar/goal

Re: webappsource location in POM

2012-03-05 Thread Robert Scholte
Hi, Two suggestions: - remove the executions-section, since you've already configured it in the (global-)plugin configuration - don't use absolute paths. Now it is bound to your system. Either use webappDirectoryWebContentwebappDirectory or

Re: Added source directory still allows for compile errors

2012-03-05 Thread Wayne Fay
Yes, there are lots of source files in this generated directory. They were generated with the command wsdl2java Is there no plugin for wsdl2java that you could leverage? Generally Maven plugins tell Maven about new source files to be compiled once they are created, such that your usage of the

Re: multi module checkout

2012-03-05 Thread xiubinzheng
Hi fellow developers, I have a web application that relies on several modules. So to build it, I have a master pom.xml file. What I want this pom file to do is to checkout out all the modules. below is my pom file. project define modelVersion4.0.0/modelVersion

Master pom file to checkout all modules of a project

2012-03-05 Thread xiubinzheng
Hi fellow developers, I have a web application that relies on several modules. So to build it, I have a master pom.xml file. What I want this pom file to do is to checkout out all the modules. below is my pom file. scm configuration

Re: EventSpy not registered?

2012-03-05 Thread Olivier Lamy
Did you add you jar in $M2_HOME/lib/ext/ ? 2012/3/5 Tim Drury tdr...@gmail.com: I wrote a class that extends maven 3.0.4 AbstractEventSpy and simply writes to a java.util.logging.Logger at info level (and System.out) when each method is called.  I run it via: mvn

Re: EventSpy not registered?

2012-03-05 Thread Tim Drury
No, I hadn't but I just did and same result - nothing in the output logs. -tim On Mon, Mar 5, 2012 at 5:56 PM, Olivier Lamy ol...@apache.org wrote: Did you add you jar in $M2_HOME/lib/ext/ ? 2012/3/5 Tim Drury tdr...@gmail.com: I wrote a class that extends maven 3.0.4 AbstractEventSpy and

Re: EventSpy not registered?

2012-03-05 Thread Stuart McCulloch
On 5 Mar 2012, at 23:04, Tim Drury wrote: No, I hadn't but I just did and same result - nothing in the output logs. Did you mark your spy implementation as a @Component? Does your jar contain a META-INF/plexus/components.xml generated by the plexus-component-metadata plugin? -tim On

Re: EventSpy not registered?

2012-03-05 Thread Jason van Zyl
Here's a working example of an event spy. You can build it and drop it into the ${m2_home}/lib/ext directory: https://github.com/etesla/tesla-profiler On Mar 5, 2012, at 6:04 PM, Tim Drury wrote: No, I hadn't but I just did and same result - nothing in the output logs. -tim On Mon, Mar

Re: EventSpy not registered?

2012-03-05 Thread Tim Drury
I was missing plexus/components.xml. Got it working now. Thanks, all. -tim On Mon, Mar 5, 2012 at 6:47 PM, Jason van Zyl ja...@tesla.io wrote: Here's a working example of an event spy. You can build it and drop it into the ${m2_home}/lib/ext directory:

Re: Master pom file to checkout all modules of a project

2012-03-05 Thread Karl Heinz Marbaise
Hi, Hi fellow developers, I have a web application that relies on several modules. So to build it, I have a master pom.xml file. What I want this pom file to do is to checkout out all the modules. below is my pom file. scm configuration

Re: Master pom file to checkout all modules of a project

2012-03-05 Thread Barrie Treloar
On Tue, Mar 6, 2012 at 2:32 PM, Karl Heinz Marbaise khmarba...@gmx.de wrote: [del] That sounds like a misuse/misunderstanding of Maven... [del] Kind regards Karl Heinz Marbaise Good advice Karl, I normally also include the links to the freely available books at