Re: is confusing me..

2011-04-10 Thread Tim Kettler
The documentation is a little bit ambigious. What it means is: In you specify the default configuration and versions of plugins used unless explicitly overwritten. Think of it as a template. No plugin goal is executed just because you mention it in section. To actually execute a plugin you

Re: is confusing me..

2011-04-10 Thread amaresh mourya
hi All, Plugins defined in pluginManagement sections are applicable to that POM or not? --Amaresh On Mon, Apr 11, 2011 at 11:48 AM, amaresh mourya wrote: > But its in section. maven documentation says it won't be > available to child POM unless I specify that plugin in section. > > Please see

Re: Testing MDB's (integration / junit) how?

2011-04-10 Thread Aldrin Leal
To test an MDB you need a container. Either wrap as an integration test (probably using FailSafe) and/or, better yet: Use OpenEJB and plain JUnit for that. -- -- Aldrin Leal, / http://www.leal.eng.br/mnemetica/ On Mon, Apr 11, 2011 at 1:16 AM, Andrew Hughes wrote: > Howdy, > > I want to be a

Re: is confusing me..

2011-04-10 Thread amaresh mourya
But its in section. maven documentation says it won't be available to child POM unless I specify that plugin in section. Please see following lines in my previous discussions: *PluginManagement does ONE THING ONLY (essentially). It provides a central location for all of your plugin versioning a

Re: is confusing me..

2011-04-10 Thread Charles Williams
amaresh, you include the plugin in the "Parent" therefore it is automatically available in the child. chuck On 04/11/2011 08:08 AM, amaresh mourya wrote: Hi I have a parent pom and a child POM. *Parent POM is like : * http://maven.apache.org/POM/4.0.0";> 4.0.0 Application6

is confusing me..

2011-04-10 Thread amaresh mourya
Hi I have a parent pom and a child POM. *Parent POM is like : * http://maven.apache.org/POM/4.0.0";> 4.0.0 Application6 Application6 1.0-SNAPSHOT mavenProj pom MyPlugins hiPlugin

Re: How to generate javadocs for only some projects in a multiproject?

2011-04-10 Thread Lucas Persson
Only some jars contains API meant to be used by customers. No point in having Javadoc for internal code, that will be confusing for the customer. For our internal use we are using Eclipse and having "projects dependencies" in the .classpath file instead o

Re: maven-dependency-plugin uses target dir instead of artifacts from repository

2011-04-10 Thread Lucas Persson
But when I do mvn install on the multiprojet then I will get a JAR but when doing mvn site on the multiproject I get target/classes. That seems to be the opposite to what you have described? /Lucas On 04/08/2011 07:52 PM, Brian Fox wrot

Re: Testing MDB's (integration / junit) how?

2011-04-10 Thread Thomas Sundberg
Hi! I wrote a little about integration testing an EJB a while ago. It doesn't test an MDB, but it builds a Stateless ejb, deploys it on a JBoss and tests it. It could perhaps be used as a hint for you and how to solve your problem. http://thomassundberg.wordpress.com/2010/12/21/automatically-inte

Testing MDB's (integration / junit) how?

2011-04-10 Thread Andrew Hughes
Howdy, I want to be able to check that the MDB's created actually execute and behave as expected. For reference, the EE5 tutorial ( http://download.oracle.com/javaee/5/tutorial/doc/bnbpq.html) covers two equivalent "tests" : - *Building, Deploying, and Running the simplemessage Application Us

Re: [eclipse-plugin] Dependency to workspace projects

2011-04-10 Thread Barrie Treloar
On Sat, Apr 9, 2011 at 7:54 PM, Jörg Schaible wrote: > Ludwig Magnusson wrote: > >> Hello! >> >> I know that the maven-eclipse-plugin somehow can figure out that a >> dependency actually exists as a project in workspace and therefore add >> that project to the build path instead of trying to downl

Re: [FWD: How to run main program with maven?]

2011-04-10 Thread Ryan Connolly
Might this do the trick? http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html On Apr 10, 2011 2:32 PM, wrote: > > Let's suppose I have main GUI program with lots of dependencies and some > unit tests. Maven will run my unit tests just fine. But suppose I want > to run the main program and tr

[FWD: How to run main program with maven?]

2011-04-10 Thread siegfried
Let's suppose I have main GUI program with lots of dependencies and some unit tests. Maven will run my unit tests just fine. But suppose I want to run the main program and try my GUI out -- maybe run a manual test of the GUI. How do I do this with maven? I've seen it done in the sample code f