Re: Maven specifies wrong path value in site index.html ?

2008-05-30 Thread Wendy Smoak
On Fri, May 30, 2008 at 5:38 PM, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote: > When I click on C:\projects\target\site\index.html, the list of the > modules is displayed, but when I click on any one of them, the following > message is displayed: "Internet Explorer cannot display the webpage" You'r

Maven specifies wrong path value in site index.html ?

2008-05-30 Thread Tawfik, Sameh E
I'm using the following: C:\projects>mvn -version Maven version: 2.0.7 Java version: 1.6.0_02-ea OS name: "windows xp" version: "5.1" arch: "x86" I've a parent pom.xml and a number of sub modules, when I run the following command from the parent pom.xml level: mvn site Maven generates the targe

resolving snapshots

2008-05-30 Thread Dmitry Beransky
hi, it's probably friday talking, but I can't figure out what my builds stopped working all of a sudden. I get this message in the log: > Downloading: > http://newzealand/repository/maven2/com/csa/maven/web-app-parent/2-SNAPSHOT/web-app-parent-2-SNAPSHOT.pom why isn't SNAPSHOT in the pom file

Re: Building a Jar that includes library jars

2008-05-30 Thread Chris Boyer
Thanks. That worked great. --Chris On May 30, 2008, at 1:55 PM, Michael Prescott wrote: Try using the assembly plugin with the built-in descriptor format of jar-with-dependencies. Michael -Original Message- From: Chris Boyer [mailto:[EMAIL PROTECTED] Sent: May 30, 2008 4:52 PM To: Ma

RE: Building a Jar that includes library jars

2008-05-30 Thread Michael Prescott
Try using the assembly plugin with the built-in descriptor format of jar-with-dependencies. Michael -Original Message- From: Chris Boyer [mailto:[EMAIL PROTECTED] Sent: May 30, 2008 4:52 PM To: Maven Users List Subject: Building a Jar that includes library jars I can seem to find a way

Building a Jar that includes library jars

2008-05-30 Thread Chris Boyer
I can seem to find a way to build a Jar that includes the jars listed in the dependency section. Is there a way to do this? --Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Looking for Full time Maven Build Engineer

2008-05-30 Thread MikeJC
Qualcomm Inc needs a full time build engineer. Go to http://jobs.qualcomm.com/staffing/Staffing.asp?page=search enter the following number in the Requisition Number field and apply. N1803153 Posting Title: Source Code Management Release Software Engineer Job Description: In this role, you will p

RE: How to rename a jar dependency in assembly descriptor?

2008-05-30 Thread Michael Prescott
Yes, it seems to. Have a look at: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html Search for the text, "outputFileNameMapping". Michael -Original Message- From: Jiaqi Guo [mailto:[EMAIL PROTECTED] Sent: May 30, 2008 11:44 AM To: users@maven.apache.org Subject: How

Re: integration-test practices

2008-05-30 Thread Paul Davis
It looks like my original problem has been solved, it's an issue (bug?) with the latest version of the surefire plugin. http://www.nabble.com/Re%3A-Integration-testing-via-profile-fails-in-2.0.9-p17532410.html Maybe the plugin could use a little automated testing too ;-) On Tue, May 27, 2008 at

Re: Q4E and m2eclipse

2008-05-30 Thread Jason van Zyl
Ask on the m2e list. Eugene and Igor have tried several things but talk to them. On 30-May-08, at 9:38 AM, Rémy Sanlaville wrote: It's really a pain to manage the parent pom for a multi-modules project in eclipse. It would be nice to can solve this issue for instance : http://jira.codehaus.

Re: Q4E and m2eclipse

2008-05-30 Thread Rémy Sanlaville
It's really a pain to manage the parent pom for a multi-modules project in eclipse. It would be nice to can solve this issue for instance : http://jira.codehaus.org/browse/MNGECLIPSE-635 Many problem comes from the fact that eclipse do not manage nested project hierarchies. It seems that eclipse 4

Re: Q4E and m2eclipse

2008-05-30 Thread Jason van Zyl
On 30-May-08, at 8:51 AM, Rémy Sanlaville wrote: That's a good news for maven eclipse user. I also have the same questions than Nico. In iam project we can see SVN/CVS integration (2008-10 M3) what about m2eclipse ? It's not likely there is better support in IAM as speaking from a technica

Re: Q4E and m2eclipse

2008-05-30 Thread nicolas de loof
m2eclipse has support for both subversive and subclipse SVN eclispe plugins via optional extensions 2008/5/30 Rémy Sanlaville <[EMAIL PROTECTED]>: > That's a good news for maven eclipse user. > I also have the same questions than Nico. > > In iam project we can see SVN/CVS integration (2008-10 M3

Re: Q4E and m2eclipse

2008-05-30 Thread Rémy Sanlaville
That's a good news for maven eclipse user. I also have the same questions than Nico. In iam project we can see SVN/CVS integration (2008-10 M3) what about m2eclipse ? I think it's a major feature and it's really frustrating at the moment (parent pom hell with eclipse). Rémy

How to rename a jar dependency in assembly descriptor?

2008-05-30 Thread Jiaqi Guo
Is it possible to include a renamed jar dependency in assembly? For example project depends on xyz:xyz-1.0.jar, the assembly descriptor includes xyz:xyz using dependencySet but I want the actual jar file in distribution to be named xyz.jar instead of xyz-1.0.jar. Does assembly plugin support s

Re: To set a value written in a different file in the pom.xml, at runtime

2008-05-30 Thread Wayne Fay
Rather than showing us what you're doing, tell us what you are trying to do and why, and perhaps someone will have a suggestion on how to achieve it. Wayne On 5/30/08, Shikha.Somani <[EMAIL PROTECTED]> wrote: > > Hello, > I need to set a particular value in a tag in pom.xml at runtime. I tried to

Re: Q4E and m2eclipse

2008-05-30 Thread nicolas de loof
> > > Both plugins will not make it out of the incubator. Only one will survive > the incubation. One project will get culled or they will merge. So users are > not going to have to worry about always picking between the two because only > one will become a full fledged Eclipse project. > > I highl

RE: maven2 with Junit 4 ignores @Test annotations

2008-05-30 Thread Valluri, Sankar
Thank you all for your help. It turned out to be I have corrupted Junit/4.4 repository which I got it from our internal repository. When I pointed the POM file to maven central repository, everything started working. I am not sure why maven did not complain about the corrupted Junit folders. Th

Re: More one phase for the execution's plugin

2008-05-30 Thread Stefan Seidel
In addition to that, there is a section outside the section. If you have only these two invocations, this is also an option. Stefan Rémy Sanlaville wrote: In order to share your configurations plugins, have a look to the pluginManagment cf. http://blogs.sonatype.com/brian/2008/05/26/1211857

Re: More one phase for the execution's plugin

2008-05-30 Thread Rémy Sanlaville
In order to share your configurations plugins, have a look to the pluginManagment cf. http://blogs.sonatype.com/brian/2008/05/26/1211857049779.html HTH, Rémy

RE: MultiModule checkstyle config

2008-05-30 Thread Brian E. Fox
>Note how I've set them as dependencies of the plugin. This requires maven >2.0.9 (min) and is what Brian Fox suggested. It basically places them on >the classpath, so I've used the same technique to get them available for >the plugin. Adding dependencies to the plugin config worked for a whil

Re: More one phase for the execution's plugin

2008-05-30 Thread Thomas Champagne
I use the sql maven plugin to deploy a database for the test and integration-test phases. I have a lot of scripts and sql commands to execute and so this configuration is pretty big. And currently, I have duplicated this big part for this two phases. Do you think I must only deploy the database fo

[ANN] Maven Invoker Plugin 1.2 for Maven 2 Released

2008-05-30 Thread olamy
Hi, The Maven team is pleased to announce the release of the Maven Invoker Plugin, version 1.2. http://maven.apache.org/plugins/maven-invoker-plugin/ You can run mvn -up to get the latest version of the plugin, or specify the version in your project's plugin configuration: org.apache.maven.plu

Re: More one phase for the execution's plugin

2008-05-30 Thread Dirk Olmes
Thomas Champagne wrote: Hi Why is it not possible to put the execution's plugin in more on phase ? You must declare two executions of a plugin with the same configuration. Because you may want to have different configurations per execution? While I see the point in your example I'm pretty sur

Re: More one phase for the execution's plugin

2008-05-30 Thread [EMAIL PROTECTED]
Thomas Champagne schrieb: > Hi > > Why is it not possible to put the execution's plugin in more on phase > ? Because it is weird and no-one would want to do it? Why on earth would you want to run exactly the same execution of a plugin multiple times? Regards, Simon

More one phase for the execution's plugin

2008-05-30 Thread Thomas Champagne
Hi Why is it not possible to put the execution's plugin in more on phase ? You must declare two executions of a plugin with the same configuration. For example, you must define the plugin like this : org.example. example-plugin proces

Antwort: Re: how to separate Unit Tests from Integration-Tests with JUnit 4.x?

2008-05-30 Thread torsten . reinhard
Hi, yes i dont wanted to - place the integration-tests in a different module - thats because we already have up to 15 modules in our multi-module-build and I guess our developers won´t be happy if I move their tests around the world:-) - rename all the tests afterwards and introduce naming conv

RE: How to better manage cascading releases

2008-05-30 Thread Bracewell, Robert
In our organization it depends on the project but I have projects that release twice a week internally. Other groups or projects that are reliant on such artifacts can then decide as and when they want to depend on the new artifacts that were deployed. -Original Message- From: Geoffrey Wis

Re: Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-30 Thread Kent Närling
Actually, the "include the world" problem was me having a bad dependency to some stufff... :-( Does the shade plugin bundle all classes unpacked inside the jar? That usually becomes a bit clumsy... //Kent 2008/5/30 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Kent Närling schrieb: > > Hi! > > > > I

Re: Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-30 Thread [EMAIL PROTECTED]
Kent Närling schrieb: > Hi! > > I would like to be able to build a self-sufficient application package from > a project into a zip/tar, ie with all dependencies and a prepared scrip to > execute it. > > I have so far tried two approches: > > A, Using maven-assembly-plugin and creating my own assemb

Re: maven2 with Junit 4 ignores @Test annotations

2008-05-30 Thread Bouiaw
Sorry, I did'nt see the pom.xml in your message ;-) On Fri, May 30, 2008 at 9:33 AM, Bouiaw <[EMAIL PROTECTED]> wrote: > This problem usually come from older release of surefire plugin, try > to use the lastest (2.4.3) in you pom. > > On Fri, May 30, 2008 at 9:31 AM, Martin Höller <[EMAIL PROTECTE

Re: maven2 with Junit 4 ignores @Test annotations

2008-05-30 Thread Bouiaw
This problem usually come from older release of surefire plugin, try to use the lastest (2.4.3) in you pom. On Fri, May 30, 2008 at 9:31 AM, Martin Höller <[EMAIL PROTECTED]> wrote: > On Friday 30 May 2008 Martin wrote: >> Looks like you'll need TestDecorator class from junit-4.1 >> http://www.jdo

Re: maven2 with Junit 4 ignores @Test annotations

2008-05-30 Thread Martin Höller
On Friday 30 May 2008 Martin wrote: > Looks like you'll need TestDecorator class from junit-4.1 > http://www.jdocs.com/junit/4.1/junit/extensions/TestDecorator.html No, you don't need this! Your code and POM looks ok, where did you put your test-classes? Should be in src/test/java. What did yo