Re: maven-eclipse-plugin Does not resolve workspace project name

2010-11-02 Thread Jörg Schaible
john.vint wrote: > > >> This is not m-e-p's problem. Stop renaming your projects if you want >> to use m-e-p and use it to regenerate the .project files. Keep the >> name as the artifactId, or change the artifactId in the pom to meet >> your needs. > > Lets assume a person is working on two dif

Inline Ant tasks not working - Namespace problem?

2010-11-02 Thread Hari shankar
I got a ant build.xml invoked properly via maven antrun plugin but when i define it inline, it doesn't work. Please assist. I think it has to do with xmlns but not sure where to define it properly. (To be specific am using a jacoco ant task for code coverage as described here

Continuous Delivery and Maven

2010-11-02 Thread stug23
I've been reading about Continuous Delivery and trying to understand how to best combine Maven and Continuous Delivery. There is a thread in the Continuous Delivery google group where this discussion has started:

RE: Maven 3.0 Deployment Problem

2010-11-02 Thread Harper, Brad
Thanks to the reply from Ryan Connolly [which unfortunately isn't reflected here]. Indeed, maven 3.x doesn't support the ssh file transport by default and I needed to add a build extension for the correct wagon artifact org.apache.maven.wagon wagon-ssh

Surefire NPE

2010-11-02 Thread Hinkle, Cameron
Greetings, I've been using Maven and Surefire on a project for about a year now and have sporadically seen a problem that I've always been able to get around but want to get to the bottom of. It's a null pointer exception sometimes when I run "mvn" and it tries to run all our tests. It happen

accessing settings.xml when specfiying user.home

2010-11-02 Thread c...@netzero.net
I am having trouble accessing the settings.xml when running the following command on my windows box: mvn -Duser.home=j:\joe_user compile where "j:\joe_user" is a samba mounted drive to my unix box in which the .m2 directory exists. I've run with the -X switch so I can see what's happening:

Re: Inline Ant tasks not working - Namespace problem?

2010-11-02 Thread Anders Hammar
http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks.html You need to define a plugin dependency to jacocoant.jar. If that artifact is not already in the repo, you need to ad it to your repo manager. /Anderfs On Tue, Nov 2, 2010 at 10:59, Hari shankar wrote: > I got a ant b

Re: how can i have two compile phases?

2010-11-02 Thread Leon Rosenberg
Well, my code generator is attached and it works, the problem is that the code generator itself has to be compiled first. regards Leon On Fri, Oct 29, 2010 at 11:10 PM, Paul Benedict wrote: > On Fri, Oct 29, 2010 at 4:03 PM, Leon Rosenberg > wrote: >> Hi, >> >> I have following requirement. I h

Re: how can i have two compile phases?

2010-11-02 Thread Leon Rosenberg
Sorry, I was not able to answer to this message in the previous three days... If I understand your replies correctly, I cannot split the compile phase into two with maven. This sounds pretty ... shitty ;-( regards Leon On Fri, Oct 29, 2010 at 11:07 PM, Manfred Moser wrote: > You could move the

Dependency problem with jasper

2010-11-02 Thread Clément TRUNG
Hi all, I've come accross the following problem recently: when downloading Jasperreports dependencies such as apache commons-xxx libraries with Maven, Jasper site doesn't send a 404 http code but a 202 code with a beautiful redesigned 404 html layered page (similar to this case http://www.mail-ar

Re: [ANN] Maven Release Plugin 2.1 Released

2010-11-02 Thread Frederic Camblor
+1 on this How could we re-open the issue ? Frédéric On Wed, Oct 20, 2010 at 6:25 PM, Lars Fischer wrote: > > [MRELEASE-128] - SCM properties being replaced during release:perform > > This is still not working for me: > http://jira.codehaus.org/browse/MRELEASE-128 > > Regards, > Lars >

Re: Dependency problem with jasper

2010-11-02 Thread Antonio Petrelli
2010/11/2 Clément TRUNG : > the maven-metadata file contains html code that Maven sure is unable to > read. Obviously, I'm not Jasper forge administrator and can't change the way > the site works, what are the solutions available to handle this kind of > situation ? Simple, call the Jasper forge a

Re: how can i have two compile phases?

2010-11-02 Thread Stephen Connolly
You are fighting the "Maven way" Drink the coolaid, split your "two phases" into two projects and you will actually end up with a cleaner project in the first place... and a simpler build process... and it will be doing what you want Maven is opinionated... you have hit a core opinion, either use

[m3] maven documentation - maven-site-plugin

2010-11-02 Thread Hauschel Fred Robert
Hey all, what is happening with the maven-site-plugin in future? Will it be supported for maven 3? I heard from any other plans keyword: "idiom: access wiki". Does anybody have some information? Actually my sit generation crashes ;-( Fredy

Re: how can i have two compile phases?

2010-11-02 Thread Justin Lee
I do something simliar but I use two modules. My very first module builds various build related tools such as apt plugins. Then subsequent modules depend on that first module. On Tue, Nov 2, 2010 at 7:25 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > You are fighting the "Mave

Re: how can i have two compile phases?

2010-11-02 Thread Stephen Connolly
On 2 November 2010 11:54, Justin Lee wrote: > I do something simliar but I use two modules.  My very first module builds > various build related tools such as apt plugins.  Then subsequent modules > depend on that first module. > And that is the "Maven way" > On Tue, Nov 2, 2010 at 7:25 AM, Step

Re: how can i have two compile phases?

2010-11-02 Thread Leon Rosenberg
Ok, first of all thank you for your time and let me understand what the "maven way" means for me in this case: I take the project and make 2 out of it, like xyz-generators module and xyz-generators-test module, as well as xyz-runtime module. Whenever I'm releasing xyz-generators they are actually

Re: how can i have two compile phases?

2010-11-02 Thread Stephen Connolly
I think you are structuring this all upside down have a root aggregator pom have child projects release all as one in one go On 2 November 2010 13:16, Leon Rosenberg wrote: > Ok, first of all thank you for your time and let me understand what > the "maven way" means for me in this case: > I ta

Re: accessing settings.xml when specfiying user.home

2010-11-02 Thread Vincent Latombe
Hello, when you type mvn -Duser.home=j:\joe_user compile, you provide user.home to maven. In your case, I think you want to provide this to the jvm that executes maven, so you should try set MAVEN_OPTS=-Duser.home=j:\joe_user compile Cheers, Vincent 2010/11/1 c...@netzero.net > I am having t

Re: Dependency problem with jasper

2010-11-02 Thread Andrew Close
On Tue, Nov 2, 2010 at 6:02 AM, Antonio Petrelli wrote: > 2010/11/2 Clément TRUNG : >> the maven-metadata file contains html code that Maven sure is unable to >> read. Obviously, I'm not Jasper forge administrator and can't change the way >> the site works, what are the solutions available to hand

RE: Continuous Delivery and Maven

2010-11-02 Thread Thiessen, Todd (Todd)
We use maven and continuous integration and it works very very well. SNAPSHOTS are a godsend when it comes to being flexible and delivering something quickly and tested quickly. We commit many times a day and it is unphathomable to create a concrete release for each of those commits. It would w

Re: Surefire NPE

2010-11-02 Thread Ben Hsu
Blind guess: maybe ${resource-bundle-path} is being set to a different value when the user runs it? On Mon, Nov 1, 2010 at 11:55 AM, Hinkle, Cameron wrote: > Greetings, > > I've been using Maven and Surefire on a project for about a year now and > have sporadically seen a problem that I've always

problem with maven-metadata.xml files

2010-11-02 Thread kristian
hello, the last days I saw following when ever I use a certain pom $ mvn rails3:rake -Dargs=db:setup -f Gemfile.pom Warning: JAVA_HOME environment variable is not set. [INFO] Scanning for projects... [INFO] [INFO] [INFO] Bui

Re: Dependency problem with jasper

2010-11-02 Thread Clément TRUNG
Thanks for your advise, I temporarily found a solution by modifying the url in the jasperreports pom.xml file in my local repository (/ tag) but it is obviously a dubious solution and i'll try look at the repository manager option when i have time. Clement, -- I temporarily found a solution by

Re: [m3] maven documentation - maven-site-plugin

2010-11-02 Thread Anders Hammar
It does support Maven 3. But you need to use the 3.0 branch of m-site-p. The latest is 3.0-beta-3 and you find the docs here: http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/ It's somewhat hidden/secret as all the documentation is not fully updated. /Anders On Tue, Nov 2, 2010 at 12:

Re: [m3] maven documentation - maven-site-plugin

2010-11-02 Thread Dennis Lundberg
On 2010-11-02 16:17, Anders Hammar wrote: > It does support Maven 3. But you need to use the 3.0 branch of m-site-p. The > latest is 3.0-beta-3 and you find the docs here: > http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/ > > It's somewhat hidden/secret as all the documentation is no

Re: using release:branch

2010-11-02 Thread Zac Thompson
On Fri, Oct 29, 2010 at 3:18 PM, Jon Paynter wrote: > Im trying to get the release:branch goal to create a new branch in my scm > with a given version number, but it doesnt appear to be working. Ive tried > various combinations of parameters from the release:prepare page, but none > of them seem

Re: Maven release:branch commiting things on tags

2010-11-02 Thread Frederic Camblor
Really nobody has encountered the problem ? Should I fill an issue then ? Frederic On Fri, Oct 15, 2010 at 7:08 PM, Frederic Camblor wrote: > Hi maven users ! > > I learned something some days ago, about maven-release-plugin about its > branch goal. > > Currently, I execute following command li

Re: using release:branch

2010-11-02 Thread Jon Paynter
On Tue, Nov 2, 2010 at 9:44 AM, Zac Thompson wrote: > On Fri, Oct 29, 2010 at 3:18 PM, Jon Paynter wrote: > > Im trying to get the release:branch goal to create a new branch in my scm > > with a given version number, but it doesnt appear to be working. Ive > tried > > various combinations of pa

Re: Dependency problem with jasper

2010-11-02 Thread Ron Wheeler
On 02/11/2010 10:40 AM, Andrew Close wrote: On Tue, Nov 2, 2010 at 6:02 AM, Antonio Petrelli wrote: 2010/11/2 Clément TRUNG: the maven-metadata file contains html code that Maven sure is unable to read. Obviously, I'm not Jasper forge administrator and can't change the way the site works, wha

Re: Dependency problem with jasper

2010-11-02 Thread Clément TRUNG
Hi again, for those having the same issue, others have already posted at jasperforge : see http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=80434 what is strange is that Mister Teodor Danciu (creator of JasperReports) doesn't remember having external dependencies

RE: Request to re-open MNG-3472

2010-11-02 Thread Haszlakiewicz, Eric
>-Original Message- >From: Martin Gainty [mailto:mgai...@hotmail.com] >Sent: Friday, October 29, 2010 1:14 PM >To: users@maven.apache.org >Subject: RE: Request to re-open MNG-3472 > >Hi Brian > >if diskspace was a concern i would concur but as each repository and their >mirrors support tera

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Jörg Hohwiller
Hi Roland, On 01.11.2010 18:03, Asmann, Roland wrote: configure Maven to already fail the build on Windows or have it configured so that it works on Linux? I want the behavior of the two builds to be the same -- as it should be! I suppose the difference comes from the different default encodi

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Asmann, Roland
Hi, As I've written in another reply in this thread, I have set 'project.build.sourceEncoding', but it isn't working! Roland On 02-11-10 18:52, Jörg Hohwiller wrote: > Hi Roland, > > On 01.11.2010 18:03, Asmann, Roland wrote: > > configure Maven to already fail the build on > > Windows or ha

RE: maven-resources-plugin & file-encoding

2010-11-02 Thread Martin Gainty
any luck replacing CP-1252 encoding with ISO-8859-1 ? Martin __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weite

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Asmann, Roland
How do you mean? I have already told our developers to please switch to UTF-8 (as they should've been doing in the first place), but just in case they forget, I want to have Maven complain on their Windows-machines. I don't see how switching to ISO-8859-1 helps in this case? Roland On 02-11-

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Jörg Hohwiller
Hi Roland, sorry. My mail client was out of sync. When I wrote the mail, no response to your post was visible to me. In this case it sounds like something very special. You can check... ... if you have any specific profiles in your POM that are OS dependent but I doubt that it is related .

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Asmann, Roland
Hmmm... Those last two are worth a shot... I'll try that tomorrow when I have access to the build-server again. There's no profiles in this project, so that can't be it. Roland On 02-11-10 19:16, Jörg Hohwiller wrote: > Hi Roland, > > sorry. My mail client was out of sync. When I wrote the mai

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Jörg Schaible
Jörg Hohwiller wrote: > Hi Roland, > > sorry. My mail client was out of sync. When I wrote the mail, no response > to your post was visible to me. > > In this case it sounds like something very special. > You can check... > > ... if you have any specific profiles in your POM that are OS depende

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Asmann, Roland
Ha! Indeed, the output file on Windows contains garbled characters! Great, so I know that the output is sh*t, but how to let Maven cry out so those darn stubborn developers finally get the point? Roland On 02-11-10 19:22, Jörg Schaible wrote: > Jörg Hohwiller wrote: > > > Hi Roland, > > > >

Re: Request to re-open MNG-3472

2010-11-02 Thread Ron Wheeler
On 02/11/2010 1:20 PM, Haszlakiewicz, Eric wrote: -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Friday, October 29, 2010 1:14 PM To: users@maven.apache.org Subject: RE: Request to re-open MNG-3472 Hi Brian if diskspace was a concern i would concur but as each

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Jörg Schaible
Hi Roland, Asmann, Roland wrote: > Ha! Indeed, the output file on Windows contains garbled characters! > > Great, so I know that the output is sh*t, but how to let Maven cry out > so those darn stubborn developers finally get the point? use the verifier plugin to ensure that the generated file

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Asmann, Roland
Hi Jörg, That plugin is tuned for single files, right? That would mean I'd have to have all developers include the plugin with its configuration in their POMs... I'd rather have a solution in a parent-POM (we use a company-wide master)... Also, if there is at least one correct Umlaut in there,

RE: Request to re-open MNG-3472

2010-11-02 Thread Haszlakiewicz, Eric
>-Original Message- >From: Ron Wheeler [mailto:rwhee...@artifact-software.com] >The guys with small disk can just delete their entire local repo and let >maven rebuild it by itself from your central server which should have >lots of space. >One or two builds usually gets us back to a fast b

RE: Request to re-open MNG-3472

2010-11-02 Thread Thiessen, Todd (Todd)
> My point it that using more disk space has more costs than just the price > of a drive platter. > It also has a lot of savings. And besides, you don't need all the frills. What you doing right now sounds very very costly. A simply investment in a bare bones server will save you a lot. --

Re: Request to re-open MNG-3472

2010-11-02 Thread Ron Wheeler
On 02/11/2010 3:29 PM, Haszlakiewicz, Eric wrote: -Original Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] The guys with small disk can just delete their entire local repo and let maven rebuild it by itself from your central server which should have lots of space. One

Maven Site Customization

2010-11-02 Thread ginni
I have tried setting up site.xml in a parent pom project, with the following: iCAMS images/AER_logo_k.jpg http://aerosource.aero.org/icams http://maven.apache.org/images/maven-small.gif

Re: maven-resources-plugin & file-encoding

2010-11-02 Thread Jörg Schaible
Hi Roland, Asmann, Roland wrote: > Hi Jörg, > > That plugin is tuned for single files, right? That would mean I'd have > to have all developers include the plugin with its configuration in > their POMs... I'd rather have a solution in a parent-POM (we use a > company-wide master)... > > Also, i

Migration from Ant to Maven2

2010-11-02 Thread Maven Yu
Hi all, Currently I am working on migrating my project from Ant to Maven2. However, I encountered some issues and I am not sure how do I do that in Maven. In Ant, subset of source code will be complied sequentially with different jars. Once done, the compiled classes will be packed in to jar file.

Re: Migration from Ant to Maven2

2010-11-02 Thread Jörg Schaible
Maven Yu wrote: > Hi all, > Currently I am working on migrating my project from Ant to Maven2. > However, I encountered some issues and I am not sure how do I do that in > Maven. > > In Ant, subset of source code will be complied sequentially with different > jars. Once done, the compiled classes

Re: Maven Site Customization

2010-11-02 Thread Dennis Lundberg
On 2010-11-02 20:08, ginni wrote: > > I have tried setting up site.xml in a parent pom project, with the following: > > > > > > > > > iCAMS > images/AER_logo_k.jpg > http://aerosource.aero.org/icams > > > > http://maven.apache.org/images/maven-s

[ANN] maven deptools plugin 1.1 released

2010-11-02 Thread Morten Kjetland
Version 1.1 of maven deptools plugin now supports maven 3 and the "maven enforcer plugin" maven deptools plugin "...gives build error if maven resolves transient dependencies in such a way that the none-newest version is chosen." This plugin has turned out to be very useful in the co

Dependency resolution and version ranges

2010-11-02 Thread Elliot
Hi, How does Maven use version ranges when resolving a specific version of a dependency? I've read this page http://docs.codehaus.org/x/IGU - a design document for Maven 2.0 (I'm using 2.2.1) - but it doesn't quite answer my question (or I don't understand its contents). I have project A and B

Re: Inline Ant tasks not working - Namespace problem?

2010-11-02 Thread Hari shankar
Thanks Anders. I installed jacocoant.jar to local repo now and ensured plugin dependencies are resolved correctly using dependency:resolve-plugins goal. It went fine. But upon mvn clean package, the ant task still throws the same error. This is the modified pom.xml. (Also i have added plugin depe