Re: When Maven build dies...

2009-04-03 Thread Stevo Slavić
There are no hs_err.* file(s), no custom code is being executed, I have no problems reproducing it with this one project, using -X not telling much - log either ends with compiler:compile configuring Output directory or with surefire:test forking. Will try to find the pattern and/or upload debug

project layout, multiple inter-dependent modules

2009-04-03 Thread gerhard presser
hi all i'm new to using maven. i'm developing a huge java enterprise application. up to now, we are using ant to compile, pack and distribute our sources. we also have some kind of module architecture. we have several source folders which are ordered as a 'stack', so lower 'modules' must not

Re: antrun tasks called twice in install phase

2009-04-03 Thread Dan Tran
by invoking install and deploy build lifecycle, your antrun is called twice. remove 'install' will solve the issue -D On Thu, Apr 2, 2009 at 8:17 PM, Mitesh Patel pmite...@yahoo.com wrote: Hi, I have a project which have antrun plugin tasks to call ant file to prepare the build files.

Re: How to use maven-dependency-plugin to unpack-dependencies for 2 artifacts?

2009-04-03 Thread Stephen Connolly
I have this working no problem but I am on vacation til monday, so do not have access to a sample pom 2009/4/2 David Hoffer dhoff...@gmail.com I did use excludeTransitive but did not help so I just can't fall back to unpack-dependencies. I'm in trouble if unpack has trouble with the

Re: When Maven build dies...

2009-04-03 Thread Jörg Schaible
Wayne Fay wrote at Donnerstag, 2. April 2009 18:44: What to do when Maven build, out of nowhere, just dies, without exception thrown, no build failure message, nothing, maven process just ends and command line cursor appears? I've never, ever seen that happen. Did someone else on your

Re: project layout, multiple inter-dependent modules

2009-04-03 Thread Wayne Fay
how can i set up our project with maven? do i really have to set up a project for each of your modules and define the dependencies Yes, this is the best/right way to use Maven. Pick the smallest/lowest artifact and turn it into a Maven project. Repeat for all of the items in the bottom of your

Re: project layout, multiple inter-dependent modules

2009-04-03 Thread gerhard presser
ok...and what's the best way to create ONE jar-file with all sources in the end? Wayne Fay wrote: how can i set up our project with maven? do i really have to set up a project for each of your modules and define the dependencies Yes, this is the best/right way to use Maven. Pick the

Re: project layout, multiple inter-dependent modules

2009-04-03 Thread Wayne Fay
ok...and what's the best way to create ONE jar-file with all sources in the end? I simply wouldn't do that. But if you had to, you could use dependency:unpack to grab all the sources, unpack into a common target, and then repackage it. Wayne

Re: project layout, multiple inter-dependent modules

2009-04-03 Thread gerhard presser
the problem is that it's not really at my hand to choose that. the module-structure is just an internal decision our customers may not have to know about. Wayne Fay wrote: ok...and what's the best way to create ONE jar-file with all sources in the end? I simply wouldn't do that. But if

Re: build error

2009-04-03 Thread Carlos Palop
That was all, many thanks wayne!!! Already theres another error whit the pom.xml but i have one in the directory [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [package]

Additional dependecy scope

2009-04-03 Thread Uldis Karlovs-Karlovskis
Hello! From documentation I see there are scopes for managing dependency artifacts. However, I need more of them. These are only to manage packaging and control one tests package, but I have different tests per project (unit, integration, selenium etc) and every of them should have some

[ANN] SCM Changelog Maven Plugin 1.2 Released

2009-04-03 Thread Rémy Sanlaville
The SCM Changelog Maven Plugin team is pleased to announce the scmchangelog-maven-plugin-1.2 release This release contains fixes, documentation improvements and enhancements : * We have introduced support for Buzilla style grammar and tracker. * The refactoring asked by Mark Struberg has been

Relative images location and the pdf-plugin

2009-04-03 Thread Marco Huber
Hi folk, I tried the maven-pdf-plugin generating a pdf from our site information. The text and all is generated correctly, but I got sometimes problems with images. We have a part of our documentation in sub folders under the apt folder and refers to the image relative way like: (file

Re: Relative images location and the pdf-plugin

2009-04-03 Thread Lukas Theussl
It works if you start the relative link with ../ instead of ./../. The latter should work as well though, please open an issue: http://jira.codehaus.org/browse/MPDF Cheers, -Lukas Marco Huber wrote: Hi folk, I tried the maven-pdf-plugin generating a pdf from our site information. The

RE: filtering site resources?

2009-04-03 Thread Nord, James
Thanks, Did something very similar that worked (below for future reference).. /James build filters filtersrc/main/filters/filter.properties/filter /filters !-- hack to get the php files filtered correctly for the site --

Re: build error

2009-04-03 Thread Carlos Palop
Thx 4 all Wayne it was a path error! 2009/4/3 Carlos Palop cpa...@gmail.com That was all, many thanks wayne!!! Already theres another error whit the pom.xml but i have one in the directory [INFO] Scanning for projects... [INFO]

RE: Central index redirect

2009-04-03 Thread Hayes, Peter
We are using Nexus so I added the 'exist' repository as a mirror to central. The download indexes scheduled task though still receives an error but I can't tell if it is actually trying to download from central or the mirror. -Original Message- From: Brian E. Fox

Re: Relative images location and the pdf-plugin

2009-04-03 Thread Marco Huber
Hi Lukas, I opened an issue (http://jira.codehaus.org/browse/MPDF-7). Your suggestion about the ../ seems also not to work :-( But I added a sample project to the jira, which both relative link versions in the corresponding apt file. -Marco Lukas Theussl wrote: It works if you start the

Re: How to use maven-dependency-plugin to unpack-dependencies for 2 artifacts?

2009-04-03 Thread David Hoffer
Please send sample when you get back. Dave Hoffer - sent via G1 On Apr 3, 2009 12:51 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: I have this working no problem but I am on vacation til monday, so do not have access to a sample pom 2009/4/2 David Hoffer dhoff...@gmail.com

RE: Using release plugin to build scm project

2009-04-03 Thread Todd Thiessen
He did :-) with the cli parameters. hehe. Thanks for the response Oliver. This at least tells me that their isn't something wrong with what I am doing. There still seems to be a disconnect, however, regarding when an install is required. Ah well. I guess do what works for now.

Re: [ANN] Maven 2.1.0 Released

2009-04-03 Thread Karl Heinz Marbaise
Hi, i've found a little issue based on an incompatibiliry of MVN 2.0.10/9 and MVN 2.1 I've defined some properties in my settings.xml: activeProfiles activeProfilehomeoffice/activeProfile activeProfiledevn-oracle-test/activeProfile /activeProfile and based on that in my profiles.xml

create a jar file and then call java class from created jar

2009-04-03 Thread Reddem, Polireddy
Hi, I am not able to make pom.xml to run maven jar and then maven exec: java goals. Here I can create jar file using packagingjar/packaging in pom.xml. In pom.xml there is exec-maven-plugin to java program from jar file. I am not able do them in a single call and can do them in two

Re: create a jar file and then call java class from created jar

2009-04-03 Thread Wendy Smoak
On Fri, Apr 3, 2009 at 7:12 AM, Reddem, Polireddy polireddy.red...@bankofamerica.com wrote: Hi, I am not able to  make pom.xml  to  run  maven jar and then maven exec: java goals. Paste a snippet from your pom that's not working, and someone can probably help you fix it. My guess is that you

maven-ear-plugin: jarModule or ejbModule

2009-04-03 Thread Jean-Claude
Hi, I want to build an EAR file with modules. All EJB modules have been defined as jar (packagingjar/packaging). What is the best way: 1). Include those EJB modules in the EAR file using jarModule or 2). Change the packaging of all EJB modules to ejb (packagingejb/packaging) and then include

Re: Is IBIBLIO down?

2009-04-03 Thread logachandru . x . rajamanickam
Hi, I tried executing the maven build in offline mode, even still I get some errors as below. How can I build without accessing ibiblio site or the central repo site. Please advise. [DEBUG] Artifact not found - using stub model: Unable to determine the latest version

Re: [ANN] Flexmojos 3.1 Released

2009-04-03 Thread Marvin Froeder
Hi Geoffrey, I still getting adapted to using jira, confluence and this kind of stuff I didn't have before Sonatype Forge. Basically we have 2 changes. 1 - Removed inherit on archetypes from flexmojos-parent-pom. 2 - New unit test launcher. This new launcher was developed to be able to

Re: maven-ear-plugin: jarModule or ejbModule

2009-04-03 Thread Stephane Nicoll
You need to provide good metadata for your projects. Maven defaulting principles work quite fine if you respect that. If you project builds an ejb, the packaging type must be ejb. If you don't, Maven can't understand in other modules (that depend on it) what to do with the dependency. Typically,

RE: Is IBIBLIO down?

2009-04-03 Thread Edelson, Justin
Don't use the LATEST version identifier. If you use LATEST or RELEASE, Maven needs to access the repository to discover what the latest version is. But is Central really down? Working for me. Justin -Original Message- From: logachandru.x.rajamanic...@jpmchase.com

maven and linux and cannot find artefact

2009-04-03 Thread _eric_
Hello list, I have the following problem just unter Linux (Kubuntu): My project refers to an parent-POM. With mvn -compile maven tries to download this parent pom from the right repositories, but cannot find it. The printed Downloading location links are perfect. Here is some stacktrace:

RE: Central index redirect

2009-04-03 Thread Brian E. Fox
I find it amazing that there were 224 million downloads of a single file in Central last month! That sounds more like the total usage of Central, astounding. (Curious is you have those numbers available too...) You're right, I had the wrong number in my head. 224m was the central hit, 4m is

RE: Is IBIBLIO down?

2009-04-03 Thread Brian E. Fox
But is Central really down? Working for me. Central is not. Ibiblio was last I checked (last night). Central != Ibiblio and hasn't been for several years now. Ibiblio is just one of the mirrors. - To unsubscribe, e-mail:

Help with patching a release?

2009-04-03 Thread David C. Hicks
Hi gang, I need to apply a small patch to a project that has already been released. In general, I understand that I need to branch the tag under which the code was released, make the change, then create a new release. I'm running into a problem, I guess with the release plugin, though.

RE: Help with patching a release?

2009-04-03 Thread Brian E. Fox
Easiest thing is to roll the poms to a snapshot and then do a traditional release. This assumes that the project you are patching is your own and the scm info is correct. -Original Message- From: David C. Hicks [mailto:dhi...@i-hicks.org] Sent: Friday, April 03, 2009 12:32 PM To: Maven

RE: Help with patching a release?

2009-04-03 Thread Todd Thiessen
If you don't own the project, it is a bit more involved. In that case you would have to export the project and then import it to your svn repo and then update the scm and distribution management sections accordingly. Also remember to change the version of the project to distinguish it from the

RE: Help with patching a release?

2009-04-03 Thread Brian E. Fox
Yep, it's similar to what is described here: http://www.sonatype.com/people/2009/01/best-practices-for-releasing-with -3rd-party-snapshot-dependencies/ -Original Message- From: Todd Thiessen [mailto:thies...@nortel.com] Sent: Friday, April 03, 2009 1:31 PM To: Maven Users List Subject:

Visiting non-standard Signature object

2009-04-03 Thread Jerry Thome
In the last couple of weeks, we started seeing the below messages during the dependency report generation of site. I see a hundred or so of these messages in our project. I saw related posts speaking of BCEL and Jar Analyzer updates, but I'm not able to connect the dots as to how to take

Re: Help with patching a release?

2009-04-03 Thread David C. Hicks
I had assumed that it would probably involve some manual steps to get the version tags set up correctly. I do own the project, so that's not a problem. I just didn't want to waste time editing pom settings if there were a more automagic way to handle. Thanks to both of you! Dave Todd

RE: JSP Precompile and WebSphere

2009-04-03 Thread Jerry Thome
BTW, thanks for the info Martin. To follow-up, we had to add a couple dependencies to the WAR in order for the precompiled JSPs to work under WebSphere. That's it. The JSP servlets generated from WebSphere were a bit different than what's generated by our Maven2 project. The source extends

axis:axis:1.4 vs. org.apache.axis:axis:1.4

2009-04-03 Thread David Weintraub
I mentioned this before, but received no reply. We have a project that was using the org.apache.axis:axis:1.4 artifact. This was not downloading axis-saaj-1.4.jar even though axis-1.4.jar is dependent upon that particular jar (and it ends up axis-jaxrpc-1.4.jar too). When I switched to the

Re: Help with patching a release?

2009-04-03 Thread David C. Hicks
I also discovered the release:branch goal. Don't know how I missed that one, previously. That made the job quite quick and painless. Thanks again! Brian E. Fox wrote: Yep, it's similar to what is described here: http://www.sonatype.com/people/2009/01/best-practices-for-releasing-with

Maven Embedder and phase bindings

2009-04-03 Thread Ford, Mark
I am attempting to execute a clean and install for a project through the Maven Embedder (3.0-alpha-2). The build runs without any error but there are a number of mojo's that are never executed. For example: resources, compile, jar, etc. I only see the output for clean and install but nothing in

Re: axis:axis:1.4 vs. org.apache.axis:axis:1.4

2009-04-03 Thread Wayne Fay
Is this an error in the org.apache.axis:axis:1.4 POM? I almost replied to your first one, and then held off. You really need to ask this on the Axis user/dev list since they own these artifacts. Wayne - To unsubscribe, e-mail:

Maven site distributionManagement issues on multi-module project

2009-04-03 Thread Mike Key
I've seen a couple of like posts on issues similar to this one, however I've not seen a resolution and hoping someone can shed some light or at least confirm this should be filed as a jira. Using maven 2.0.9 and site plugin 2.0 with a multi-module project. The parent pom defines

Maven 2.0 project versions, dependency versions, and perpetual releasing

2009-04-03 Thread Zac Thompson
I also posted this question on stackoverflow, but I wanted to go to the source, as it were. How should we manage the project and dependency versions in our POM hierarchy? I apologize for the length of the message. The first paragraph is probably all that's needed, but I'm not good at

Re: Maven Embedder and phase bindings

2009-04-03 Thread Jason van Zyl
On 3-Apr-09, at 12:24 PM, Ford, Mark wrote: I am attempting to execute a clean and install for a project through the Maven Embedder (3.0-alpha-2). The build runs without any error but there are a number of mojo's that are never executed. For example: resources, compile, jar, etc. I only

Re: [mojo-dev] [vote] idlj-maven-plugin v 1.1

2009-04-03 Thread Arnaud HERITIER
On Fri, Apr 3, 2009 at 5:34 PM, Benjamin Bentmann benjamin.bentm...@udo.edu wrote: Arnaud HERITIER wrote: I propose to release the idlj plugin v 1.1. +0, not using it. Notes: mvn dependency:analyze reports issues with the proper declaration of plexus-utils. Also, the plugin's

RE: Maven 2.0 project versions, dependency versions, and perpetual releasing

2009-04-03 Thread Brian E. Fox
Use snapshots during your dev cycle and publish your non-developer-desktop builds as official releases. There is the dependency-maven-plugin that can ease the updates of cross dependencies, but if you structure your build tree effectively, this will be minimal. You're on the right track, but don't

Maven Archetype Plugin is Hosed --- and nobody cares

2009-04-03 Thread Howard Lewis Ship
Recently, the Maven archetype plugin has broken in an incompatible way. Documented here http://jira.codehaus.org/browse/ARCHETYPE-236. New archetypes (generated from the same source as previously working ones) no longer work. The problem is wide spread:

RE: Maven Archetype Plugin is Hosed --- and nobody cares

2009-04-03 Thread Martin Gainty
http://jira.codehaus.org/browse/ARCHETYPE-236 Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised

Re: Maven Archetype Plugin is Hosed --- and nobody cares

2009-04-03 Thread Howard Lewis Ship
Yes, that's the bug I added and mentioned in my posting to this mailing list. On Fri, Apr 3, 2009 at 5:22 PM, Martin Gainty mgai...@hotmail.com wrote: http://jira.codehaus.org/browse/ARCHETYPE-236 Martin __ Disclaimer and confidentiality note

Re: Maven 2.0 project versions, dependency versions, and perpetual releasing

2009-04-03 Thread Zac Thompson
I am willing to continue using snapshots during the dev cycle. I don't seek to eliminate them completely, but they are getting in my way. It's not SNAPSHOT versions of the projects themselves that is the obstacle, but SNAPSHOT dependencies. My challenge is that the dev cycle for a slice of the

RE: Maven 2.0 project versions, dependency versions, and perpetual releasing

2009-04-03 Thread Brian E. Fox
Forget about LATEST and RELEASE, these are not reproducible down the road. The way I like to manage my dependencies is that they stay using the release version until a change to it that I need occurs. Then that dependency is changed to use the new snapshot. Hopefully you are using properties