error when running mvn site:deploy

2010-03-16 Thread Pepe Perez
Hello, I have error below when running mvn site:deploy. My maxs number of files seems to have appropriate values cat /proc/sys/fs/file-nr 35840 20 What could be the problem? [INFO] [ERROR] BUILD ERROR [INFO]

Custom lifecycles and getting parameters to them

2010-03-16 Thread Brad Jarvinen
Hi, For sample purposes, I've defined a custom lifecycle as follows: project-archetypes-lifecycle validate org.apache.maven.plugins:maven-archetype-plugin:generate

Re: Maven ear plugin -- add files into META-INF folder

2010-03-16 Thread Thunder Farmer
Hi Markku, Thanks a lot. Previously my problem lie in that I missed the META-INF subdirectory under "earSourceDirectory". Best Regards, Thunder On Wed, Mar 17, 2010 at 12:37 AM, Markku Saarela wrote: > You could use > ${project.build.outputDirectory} > and use normal build resources > > > >

Re: jetty:plugin does not start during verify phase

2010-03-16 Thread Stephen Connolly
yes. you need to rethink your testing... perhaps the client module is actually a test scoped dep of your war (assuming it is not a current dep of your war) in which case you run the tests in the war module Sent from my [rhymes with tryPod] ;-) On 16 Mar 2010, at 17:59, Filippo De Luca w

[ANN] Sonar 2.0 released

2010-03-16 Thread Olivier Gaudin
The Sonar Team is pleased to announce the release of Sonar 2.0. The main feature of Sonar 2.0 consists in analysis of Design & Architecture and object-oriented metrics. This new version enables to easily : * remove cycles between packages by cutting undesired dependencies * represent and n

Release plugin with sourceforge

2010-03-16 Thread Michael Remijan
Has anyone gotten the Maven release plugin to work on Windows with a CVS SourceForge project.  I've been working on this all day and have made some progress but now I'm stuck.  In my POM, I have my SCM defined as: scm:cvs:ext:${cvs.userna...@ferris.cvs.sourceforge.net:/cvsroot/ferris:ferris-ass

Re: compile from multiple source directories

2010-03-16 Thread Kendall Shaw
Dan Tran writes: > > >${basedir}/../../relative to your project > directory > > Well, that's better than nothing. I'm not thrilled about effectively hard coding the location of the project this way. > is there a reason why you want to do

jetty:plugin does not start during verify phase

2010-03-16 Thread Filippo De Luca
Hi maven users, I have a multimodule project with one war module and a jar module. The jar module is a client for the war module. The server pom contains: org.mortbay.jetty maven-jetty-plugin 10 /xxx-service stop 8009 start-jetty pre-integration-test run-exploded 0 true

Re: New snapshots versus the local repo

2010-03-16 Thread Stephen Connolly
On 16 March 2010 14:37, Benson Margulies wrote: > Just for fun, I think it's worth explaining the environment. > > We are relatively new adopters of Maven. Up until now, we've done > maven releases only for external product releases. Thus, there are > snapshot dependencies amongst our internal co

Re: generating multiple artifacts

2010-03-16 Thread Wayne Fay
> I have an ejb project for which I need to generate an EJB jar (bean and > interfaces) and a client jar (containing only the interfaces).  I looked > into using assemblies but that seems better suited for I know its a huge hassle and very expensive to use Google, but try the phrase "maven plugin

taglibs with skinny war

2010-03-16 Thread Bobby Warner
I followed this example: http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html So, I have all dependencies declared on the EAR and WARs now and the WARs are "skinny" But, there are some JARs that need to stay in the WARs (i.e. sitemesh) because they won't work unless they are

Re: maven-ejb-plugin & was6-maven-plugin generated jar files

2010-03-16 Thread Wayne Fay
> For me the above fix didn't help, it deployed ok, but the classes are not > included into the final jars. I fixed the above problem as shown below. I > guess the fix is only needed for WAS60, and probably only in certain cases. You should submit a Jira for this so it will be included in a future

Re: Maven ear plugin -- add files into META-INF folder

2010-03-16 Thread Markku Saarela
You could use ${project.build.outputDirectory} and use normal build resources src/main/resources true and put this weblogic file in subdirectory META-INF also you can define additional resource directories there.. This way you can also filter these files. rgds, Markku On 16.3.2010 8:

Re: New snapshots versus the local repo

2010-03-16 Thread Wayne Fay
> No tool is going to insulate you from bad human management practices. > If 2 people are writing the same software module, they have to work to the > same spec and coordinate themselves. Ron nailed it. Communication is key!! Wayne

generating multiple artifacts

2010-03-16 Thread monkeyden
I have an ejb project for which I need to generate an EJB jar (bean and interfaces) and a client jar (containing only the interfaces). I looked into using assemblies but that seems better suited for completely different filesets/modules. Can anyone shed some light on the right approach? Thanks

Re: New snapshots versus the local repo

2010-03-16 Thread Brian Fox
Disable automatic snapshot checking (this is the default in M3) and then you're fine. Nothing changes until you ask for updates. On Tue, Mar 16, 2010 at 11:32 AM, Benson Margulies wrote: > On Tue, Mar 16, 2010 at 11:18 AM, Maven User wrote: >> But then shouldn't you be building with what's avail

Re: New snapshots versus the local repo

2010-03-16 Thread Ron Wheeler
Benson Margulies wrote: On Tue, Mar 16, 2010 at 11:18 AM, Maven User wrote: But then shouldn't you be building with what's available, not a snapshot created at some other time, At time 0, I build everything. Components a, b, c, d. At time 1, a new snapshot arrives for component a, and

Re: New snapshots versus the local repo

2010-03-16 Thread Benson Margulies
On Tue, Mar 16, 2010 at 11:18 AM, Maven User wrote: > But then shouldn't you be building with what's available, not a snapshot > created at some other time, At time 0, I build everything. Components a, b, c, d. At time 1, a new snapshot arrives for component a, and unless i go back and run mvn cl

Re: New snapshots versus the local repo

2010-03-16 Thread Maven User
But then shouldn't you be building with what's available, not a snapshot created at some other time, On Mar 16, 2010, at 10:37 AM, Benson Margulies wrote: Just for fun, I think it's worth explaining the environment. We are relatively new adopters of Maven. Up until now, we've done mave

Re: Best practices

2010-03-16 Thread Ron Wheeler
Thiessen, Todd (Todd) wrote: Interesting conversation. Let me add my two cents. We do not yet have an aggregation POM that will build everything and deploy the whole mess in a shot but that should not be difficult to construct. This statement is golden although I disagree with the "b

Re: searching for eclipse:m2eclipse

2010-03-16 Thread Jason van Zyl
I removed that goal. Import your projects from M2Eclipse directly. There is no interoperability between the maven-eclipse-plugin and M2Eclipse. You have two choices: 1) Use the maven-eclipse-plugin and stock Eclipse 2) Use M2Eclipse On Mar 16, 2010, at 6:37 AM, Dominique Jean-Prost wrote: >

Re: New snapshots versus the local repo

2010-03-16 Thread Benson Margulies
Just for fun, I think it's worth explaining the environment. We are relatively new adopters of Maven. Up until now, we've done maven releases only for external product releases. Thus, there are snapshot dependencies amongst our internal components for months on end. To make my original scenario a

Re: searching for eclipse:m2eclipse

2010-03-16 Thread Christoph Kutzinski
Seems to be related to MECLIPSE-632 (http://www.mail-archive.com/users@maven.apache.org/msg106944.html) I was rather surprised myself that is was removed without an explicit notice. Seems like the m2eclipse guys will discontinue support for mvn eclipse:m2eclipse in m2eclipse 1.0: http://old.nabb

searching for eclipse:m2eclipse

2010-03-16 Thread Dominique Jean-Prost
Hello, After searching everywhere, I can't find why after upgrading to maven-eclipse-plugin 2.8, I can not use eclipse:m2eclipse anymore. Where can I find information about this ? regards INFO] Scanning for projects... INFO] --

RE: Best practices

2010-03-16 Thread Thiessen, Todd (Todd)
Interesting conversation. Let me add my two cents. > We do not yet have an aggregation POM that will build > everything and deploy the whole mess in a shot but that > should not be difficult to construct. This statement is golden although I disagree with the "build everything" part. Each arti

List of XML _attributes_ supported in the POM

2010-03-16 Thread lukewpatterson
Is there a complete list of XML _attributes_ supported in the POM? e.g. [1] [2] [1] http://www.sonatype.com/people/2007/06/how-to-merge-sub-items-from-parent-pom-to-child-pom-in-a-maven-plugin-configuration-2/ [2] http://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html -- Vi

Re: Best practices

2010-03-16 Thread Ron Wheeler
Phil Housley wrote: On 16 March 2010 03:08, Ron Wheeler wrote: Phil Housley wrote: On 15 March 2010 22:29, Ron Wheeler wrote: Am I missing something? There seem to be a lot of people who try to incorporate jar projects into master projects and deploy with the "Big Bang" Theo

Re: New snapshots versus the local repo

2010-03-16 Thread Maven User
You could probably do a dependency:resolve and leverage the includes/ excludes - but that starts smelling hacky. I'm in agreement with the earlier comment. If you're allowing any/all devs to deploy, it can't be a free-for-all. Why not let ci be the bottleneck (which implicitly has some degr

Re: New snapshots versus the local repo

2010-03-16 Thread Kalle Korhonen
On Tue, Mar 16, 2010 at 4:18 AM, Benson Margulies wrote: > If the answer is, 'always make a branch,' then that's the answer. It > is not a popular answer with the developers I'm supporting. I wish > there was some alternative involving controlling snapshot updates per > g/a instead of per reposito

RE: maven-ejb-plugin & was6-maven-plugin generated jar files

2010-03-16 Thread knaap
For me the above fix didn't help, it deployed ok, but the classes are not included into the final jars. I fixed the above problem as shown below. I guess the fix is only needed for WAS60, and probably only in certain cases. At least it works for me now. Arthur public void execute() throw

Re: New snapshots versus the local repo

2010-03-16 Thread Stephen Connolly
I guess the issue is if you want to update some but not all of your -SNAPSHOT dependencies. Maven does not provide filtering of update checking On 16 March 2010 12:46, Maven User wrote: > Google maven updatepolicy - you (as a user) can choose how often (or at > all) you take versions from a repo

Re: New snapshots versus the local repo

2010-03-16 Thread Maven User
Google maven updatepolicy - you (as a user) can choose how often (or at all) you take versions from a repository. On Mar 16, 2010, at 8:18 AM, Benson Margulies wrote: Well, at least now we can see the disconnect. People don't want to make a branch every time they are working on something

Re: New snapshots versus the local repo

2010-03-16 Thread Benson Margulies
Well, at least now we can see the disconnect. People don't want to make a branch every time they are working on something for more than a day. (Default snapshot update is a day.) Making a branch is fairly tiresome, especially given the difficulty of persuading release:branch to work. The 'person' w

Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-16 Thread Laurent Perez
Hello, Any progress made so far related to http://www.supose.org/issues/show/297 ? Thanks laurent 2010/3/4 Karl Heinz Marbaise : > > Hi Laurent, > > > laurent.perez wrote: >> >> I'm sorry, I don't have much time right now to look at the plugin source >> code :/ >> > You don't need to apologize,

Re: Best practices

2010-03-16 Thread Phil Housley
On 16 March 2010 03:08, Ron Wheeler wrote: > Phil Housley wrote: >> >> On 15 March 2010 22:29, Ron Wheeler >> wrote: >> >>> >>> Am I missing something? >>> >>> There seem to be a lot of people who try to incorporate jar projects into >>> master projects and deploy with the "Big Bang" Theory - Get

Re: New snapshots versus the local repo

2010-03-16 Thread Stephen Connolly
On 16 March 2010 04:25, Ron Wheeler wrote: > Benson Margulies wrote: > >> I have this feeling that I'm missing something terribly obvious. >> >> 1: grab a tree and make some changes. >> 2: mvn. Now you've got SNAPSHOT versions in your local repository >> 3: someone else checks in a change and run

RE: Maven : Problem in including/excluding some java war files in a war file.

2010-03-16 Thread subir.sasikumar
Best practice is one output per module. Is it not possible to make multiple war outputs as different projects. Subir -Original Message- From: Sudheer Gollapudi [mailto:sudheer.gollap...@gmail.com] Sent: Tuesday, March 16, 2010 12:09 AM To: users@maven.apache.org Subject: Maven : Problem i

Maven : Problem in including/excluding some java war files in a war file.

2010-03-16 Thread Sudheer Gollapudi
Hello Iam working on a project where i have to convert the existing ANT based project to a maven project.In this process iam trying to make multiple war files out of a single source base.Iam using the maven build tag to do this and here is a sample code that iam using in my pom.xml