Resolving import scope POMs in the reactor for multi module project

2010-01-18 Thread MELIKIAN, Chris
Hi, We have a problem with import scope dependencies being resolved in the reactor in multi module project build. Take for example a multi module project build POM "project-pom" which has two modules in it, "import-pom" and "app-pom", with app-pom having an import-scope dependency on import-

Maven itblast plugin using tomcat 6.x. Is tomcat 6.x supported?

2010-01-18 Thread Nafter
Maven itblast plugin using tomcat 6.x. Is tomcat 6.x supported? -- View this message in context: http://old.nabble.com/Maven-itblast-plugin-using-tomcat-6.x.-Is-tomcat-6.x-supported--tp27208321p27208321.html Sent from the Maven - Users mailing list archive at Nabble.com. --

install maven project from repository to local fs

2010-01-18 Thread eyal edri
hi, how can i use mvn command line (i want to be able to run it via script), to install (not maven install) a project to the file system? the fs will NOT have the pom file or the source code since it's the production server. it will only have the settings.xml configed to the maven repository. he

Re: install maven project from repository to local fs

2010-01-18 Thread Erlend Hamnaberg
Take a look at the maven appassembler plugin http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/ On Mon, Jan 18, 2010 at 1:16 PM, eyal edri wrote: > hi, > > how can i use mvn command line (i want to be able to run it via script), to > install (not maven install) a project to the fi

Re: install maven project from repository to local fs

2010-01-18 Thread eyal edri
I'm not sure this plugin is what i need. what i would want is simply to run "mvn install project-name" from any directory on the fs and maven will run the 'install' phase without having the pom & code locally (will read it from the repo). Eyal. On Mon, Jan 18, 2010 at 2:22 PM, Erlend Hamnaberg

Need help to find best way to recompile complete project and dep with 1.5

2010-01-18 Thread nodje
Hi, I need to figure out a way to repackage a webapp and all it's dependencies in java5. Currently in 1.6. We use a parent pom that all dep and webapp use. I've never needed an aggregator pom up to now, as we work and release each dependency as needed. It seems obviously a good option now that

AW: Need help to find best way to recompile complete project and dep with 1.5

2010-01-18 Thread Entner Harald
Hi, afaik aggregator project do not inherit its plugins. You have to put the compiler plugin into your parent pom (or another parent pom), then all childs will use that plugin. Additionally i would specify the relativePath, so changes to the parent are immediately visible (no need to install it

Re: install maven project from repository to local fs

2010-01-18 Thread Wayne Fay
> what i would want is simply to run "mvn install project-name" from any > directory on the fs and maven will run the 'install' phase without having > the pom & code locally (will read it from the repo). I'm not aware of any plugins which does this, and don't see anyone else building it for you. Y

Re: install maven project from repository to local fs

2010-01-18 Thread Adam Leggett (UPCO)
When you say 'repo' do you mean source code repository? You can use the Maven SCM plugin get checkout your project, prior to running install - mvn scm:checkout -DconnectionUrl=scm:svn:http://somehost/somepath/someproject On Mon, 2010-01-18 at 14:40 +0200, eyal edri wrote: > I'm not sure this plug

Assembly plugin corrupting generated source

2010-01-18 Thread Bill Smith
I didn't see my last post come through, so I thought I would try again. I have a multi level maven project. That consists of 4 jars and a web application. The source is at http://www.weseewhathappens.com/mvn.zip There is a parent module. Jar a has no internal depenedencies Jar b has is dependen

Re: Assembly plugin corrupting generated source

2010-01-18 Thread Wayne Fay
On Mon, Jan 18, 2010 at 10:22 AM, Bill Smith wrote: > I didn't see my last post come through, so I thought I would try again. Check the archives on Nabble.com and you'll see it made it through just fine. No one has replied. You have a pretty long email with a long log etc. Its simply hard to dige

Re: Assembly plugin corrupting generated source

2010-01-18 Thread Bill Smith
Sorry,, but looking over at Nabble, I am not seeing the message. I have posted a sample project over at I have removed all the dependencies and it should run cleanly and reproduce the problem. http://www.weseewhathappens.com/mvn.zip I am not convinced it is a bug because it could be just a usag

Re: compile:compile failure on sun proprietary implementation API usage

2010-01-18 Thread Dan Tran
no luck with compiler plugin 2.1 either. I may need to bite the bullet and fix up the code. -Dan On Sun, Jan 17, 2010 at 10:53 PM, Stephen Connolly wrote: > http://jira.codehaus.org/browse/MCOMPILER-59 > > have you tried m-c-p version 2.1? > > 2010/1/18 Dan Tran : >> I am not sure what system sc

Re: Assembly plugin corrupting generated source

2010-01-18 Thread Wayne Fay
> The reason I am running assembly at the top is that I need to create an > archive zip file with the output of all the projects. But you can do this by merely making another module which depends on all the other artifacts. And then run assembly from there. Right? Wayne -

Re: compile:compile failure on sun proprietary implementation API usage

2010-01-18 Thread Wayne Fay
> no luck with compiler plugin 2.1 either. I may need to bite the bullet > and fix up the code. There are numerous F/OSS implementations of BASE64Decoder that you can just grab and use just like the sun.misc version. I like the Apache Commons one. There's just no good reason to keep using sun.misc

Re: install maven project from repository to local fs

2010-01-18 Thread eyal edri
by repo i meant maven repository (nexus or artifactory). i don't understand something. as a developer, i'm developing my maven project on my pc or build machine... i finish coding, checkin the code then: 1. hudson will auto build it and test 2. i will mvn deploy it to the artifactory. i can't un

Maven-eclipse integration (How to add version number to jars)

2010-01-18 Thread Gonzalo Aguilar Delgado
Hi all, I've a project where multiple libraries are created by maven configuration. But I'm working with Eclipse and m2eclipse integration. I have one my projects with this build configuration: pom.xml - ... crm-enterprise-hibernate-${project.version} target target/classes sr

Resources got excluded!!!

2010-01-18 Thread Gonzalo Aguilar Delgado
Hi all! I have one my projects with this build configuration: pom.xml - ... crm-enterprise-hibernate-${project.version} target target/classes src/main/java src/test/java target/test-classes src/main/resources target/classes true **/*.html org.apache.maven.plugins mav

RE: install maven project from repository to local fs

2010-01-18 Thread Todd Thiessen
Perhaps you are getting the concept of "install" confused. Mvn install does not mean install it on a production server. It means install all project artifacts to your local maven repository. --- Todd Thiessen > -Original Message- > From: eyal edri [mailto:eyal.e...@gmail.com] > Sent: M

Re: install maven project from repository to local fs

2010-01-18 Thread Wayne Fay
> i can't understand how the project goes from being the in repository to > being installed and running on the production server. This is outside the domain of Maven. From the website: "Apache Maven is a software project management and comprehension tool. Based on the concept of a project object m

Re: install maven project from repository to local fs

2010-01-18 Thread eyal edri
I know, that's why i'm asking which plugin does install it to a remote server. don't you guys need this functionality? how to you deploy projects? On Mon, Jan 18, 2010 at 8:24 PM, Todd Thiessen wrote: > Perhaps you are getting the concept of "install" confused. Mvn install > does not mean inst

Re: compile:compile failure on sun proprietary implementation API usage

2010-01-18 Thread Dan Tran
commons-codec is the way to go On Mon, Jan 18, 2010 at 10:04 AM, Wayne Fay wrote: >> no luck with compiler plugin 2.1 either. I may need to bite the bullet >> and fix up the code. > > There are numerous F/OSS implementations of BASE64Decoder that you can > just grab and use just like the sun.misc

Re: install maven project from repository to local fs

2010-01-18 Thread eyal edri
well, it's not entirly true, since you do have some plugins that support it (rpm/assembly). i'm interested in how people do deploy their apps, even if it's not directly connected to maven. maybe i'm biased from our current status, where we use YUM &RPM to install our perl code on servers. On Mon

Re: install maven project from repository to local fs

2010-01-18 Thread Wayne Fay
> well, it's not entirly true, since you do have some plugins that support it > (rpm/assembly). Rpm/assembly are part of the BUILD process. This is part of the domain. > i'm interested in how people do deploy their apps, even if it's not directly > connected to maven. Dev, QA, Pre-UAT: cargo dep

Re: Maven-eclipse integration (How to add version number to jars)

2010-01-18 Thread Anders Hammar
I think that the m2eclipse mailing list is better for this question. /Anders On Mon, Jan 18, 2010 at 19:23, Gonzalo Aguilar Delgado < gagui...@aguilardelgado.com> wrote: > > Hi all, > > I've a project where multiple libraries are created by maven > configuration. But I'm working > with Eclipse a

Re: Resources got excluded!!!

2010-01-18 Thread Anders Hammar
Yes, wrong mailing list. :-) Use the m2eclipse mailing list. /Anders On Mon, Jan 18, 2010 at 19:23, Gonzalo Aguilar Delgado < gagui...@aguilardelgado.com> wrote: > Hi all! > > I have one my projects with this build configuration: > > pom.xml > - > ... > > crm-enterprise-hibernat

Re: Resources got excluded!!!

2010-01-18 Thread Gonzalo Aguilar Delgado
Ok. Sorry for this two offtopics... El lun, 18-01-2010 a las 22:17 +0100, Anders Hammar escribió: > Yes, wrong mailing list. :-) Use the m2eclipse mailing list. > > /Anders > > On Mon, Jan 18, 2010 at 19:23, Gonzalo Aguilar Delgado < > gagui...@aguilardelgado.com> wrote: > > > Hi all! > > > >

Re: compile:compile failure on sun proprietary implementation API usage

2010-01-18 Thread Dan Tran
believe it or not!! upgrade to 6.0.18 solves the mystery. -D On Mon, Jan 18, 2010 at 10:27 AM, Dan Tran wrote: > commons-codec is the way to go > > On Mon, Jan 18, 2010 at 10:04 AM, Wayne Fay wrote: >>> no luck with compiler plugin 2.1 either. I may need to bite the bullet >>> and fix up the co

Re: Assembly plugin corrupting generated source

2010-01-18 Thread Bill Smith
So right now I have a parent module which contains all the child modules listed as "modules" You'll see this in the sample I linked to. I think what you are suggesting is rather then have a parent module to have another module at the same level as the jar/wars and list them as actual dependencies?

Re: Assembly plugin corrupting generated source

2010-01-18 Thread Wayne Fay
> I think what you are suggesting is rather then have a parent module to have > another module at the same level as the jar/wars and list them as actual > dependencies? Yes. The parent will be merely a "pom" project with no assembly plugin declared, and then you'll have another module under it tha

Release schedule for ear plugin version 2.4.1

2010-01-18 Thread Markku Saarela
Hi, What is plan for releasing version 2.4.1 of ear plugin? All issues for this release are resolved. rgds, Markku - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@mave