Re: Install project with dependencies

2010-09-01 Thread marcelo
Assembly and Shade putz all the source code into the jar file. Is there a way to have maven create a jar file and point to the /.m2/repository for the dependencies ?? -- View this message in context: http://maven.40175.n5.nabble.com/Install-project-with-dependencies-tp2798374p2798583.html

Surefire - can you print TestNG results to stdout?

2010-09-01 Thread Bogdan Calmac
In the old ant world, the testng plugin would print the test results to stdout (in addition to the HTML report). This was very convenient when running the build from eclipse; I could see the failures right in the console window and click on the links for stacktraces. In contrast, the surefire

archetype-catalog.xml and its properties and goals elements, what populates them?

2010-09-01 Thread Luke Patterson
archetype-catalog.xml[1] has support for adding properties and goals I'm especially interested in the goals portion. I have some setup logic that should always be executed after archetype creation. If I manually create the archetype-catalog.xml file and add goals, the archetype:generate CLI

Re: Install project with dependencies

2010-09-01 Thread Wendy Smoak
On Tue, Aug 31, 2010 at 3:35 PM, marcelo d2olive...@gmail.com wrote: Is there a way to have maven create a jar file and point to the /.m2/repository for the dependencies ?? What are you actually trying to do with this code? (Not 'create a jar file' ... what problem are you trying to solve?)

Re: Surefire - can you print TestNG results to stdout?

2010-09-01 Thread Wim Deblauwe
Have you tried configuring this? http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#redirectTestOutputToFile http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#redirectTestOutputToFile 2010/8/31 Bogdan Calmac bcal...@gmail.com In the old ant world, the

mvn site - inherit src/site/site.xml in child modules instead of copy/paste?

2010-09-01 Thread torsten . reinhard
Hi, I have some (test)modules, containing only a few test sources and their pom.xml: src\ TS_xx_1\pom.xml \src\test\java TS_xx_2 ... TS_xx_n I now want an overall-view (site), especially about the test-results, therefore I put a pom,.xml to

Maven Resource plugin help

2010-09-01 Thread Meenakshi Khatri
Hello everyone, In my maven pom, I have profiles defined and I have a environment file which changes a variable according to the profile name. When I build maven within my SpringSource Tool Suite, in my target folder, the variable defined in the environment file doesnt not change according to

RE: maven-dependency-plugin (version 2.1) question

2010-09-01 Thread EJ Ciramella
snip Actually, it very specifically says nothing about dependencies under the copy goal. It merely says artifacts. There is a difference... /snip This is why maven is so polarizing - either you love it or hate it. specifically saying nothing - it should be explicit... Thanks again all for the

using other compilers for the maven compiler plugin

2010-09-01 Thread Andrew Eisenberg
Hi all, I have a small extension to the Eclipse JDT compiler that I would like to start using as an alternative compiler for the Maven compiler plugin. My understanding is that this is possible to do. I looked at http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.ht ml

Release of the site plugin?

2010-09-01 Thread Steve Jerman
Hi, I have tried out Maven-3 Beta-3, and the site plugin is failing due to a API change from beta-2 to beta-3. Does anyone know if/when a release of the site plugin will be made to match the Beta-3 API? Steve [INFO]

Re: Release of the site plugin?

2010-09-01 Thread Olivier Lamy
Hi, This is something I will do when 3.0-beta-3 release will be out. BTW you can try with 3.0-beta-2-SNAPSHOT of the site plugin to ensure everything is still fine. 2010/9/1 Steve Jerman stjer...@cisco.com: Hi, I have tried out Maven-3 Beta-3, and the site plugin is failing due to a API

Re: Surefire - can you print TestNG results to stdout?

2010-09-01 Thread Bogdan Calmac
redirectTestOutputToFile is false by default so the output already goes to the console, just as I want. However this does not include the test results. The solution is useFile=false (I missed this). However, this is a misnomer, it should be called enableConsoleTestResults, because the HTML test

Re: Dependency:sources skipping files

2010-09-01 Thread C. Benson Manica
I see, that explains it, although I'm a little sad that -U doesn't force it to download the sources again. On Tue, Aug 31, 2010 at 4:15 PM, Brian Fox bri...@infinity.nu wrote: They don't exist and the dependency plugin has remembered this fact. It stores marker files in /target/dependency so

Invoke exec-maven-plugin only for package and release:perform

2010-09-01 Thread C. Benson Manica
I have a Maven project whose sole purpose is to synthesize a deployable artifact by executing some time-consuming Java code. I'd like it to build this artifact on package and deploy, but I really don't want it to build it once for release:prepare and again for release:perform. How can I

Re: mvn site - inherit src/site/site.xml in child modules instead of copy/paste?

2010-09-01 Thread Dennis Lundberg
See the section called Inheritance at http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html On 2010-09-01 14:36, torsten.reinh...@gi-de.com wrote: Hi, I have some (test)modules, containing only a few test sources and their pom.xml: src\ TS_xx_1\pom.xml

RE: Install project with dependencies

2010-09-01 Thread Adkins, Michael J.
Actually Marcelo, what you want is fairly simple. Use either appassembler:assemble (which autopackages everything and includes a .bat to run it with), or if you want more control, use dependencies:copy-dependencies to copy the dependencies to the location of your choice. You could then use