multi-platform multi-module project/modules structure

2010-11-24 Thread Javier Arias
Hello all, I am migrating our ant based projects to maven and I have doubts about the correct project structure. We have a complex project strutcture with many dependencies between projects that we do not know how to map to maven. I know this is a long mail, but i ask for your patience to help

Re: xdoclet generation

2010-11-24 Thread Pazmiño Mazón , Iván Andrés
Thanks Jorg. I have changed from ${project.build.outputDirectory} (target/classes) to ${project.build.directory} (target) and works just fine. Maybe the problem was with the former directory's restriction. -Original Message- From: Jörg Schaible joerg.schai...@scalaris.com Reply-to: Maven

mvn 3: parent.relativePath problem, but no relativePath element

2010-11-24 Thread Laird Nelson
I have a pom.xml. It looks like this: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion

Re: mvn 3: parent.relativePath problem, but no relativePath element

2010-11-24 Thread Laird Nelson
On Wed, Nov 24, 2010 at 9:09 AM, Laird Nelson ljnel...@gmail.com wrote: When I run mvn install here, I get: [WARNING] 'parent.relativePath' points at com.foo:foo-parent instead of com.foo:foo-pomtype-api, please verify your project structure @ line 6, column 11 Line 6, column 11 is

Re: mvn 3: parent.relativePath problem, but no relativePath element

2010-11-24 Thread Benjamin Bentmann
Laird Nelson wrote: I have a pom.xml. It looks like this: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion

Re: Incompatible initial and maximum heap sizes specified

2010-11-24 Thread masud
Setting up MAVEN_OPTS (MAVEN_OPTS=-Xms256m -Xmx512m) as an environment variable is creating problems. Just leave it blank (MAVEN_OPTS=), then mvn should work fine. -- View this message in context:

Dependency with Parent Project (Packaging War)

2010-11-24 Thread Michael Prieß
Hello Users, im using Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) and the problem is that i need a third-party dependency which have a parent project with packaging type war. I got the following error after a mvn clean install. Reason: Parent: org.geoserver:geoserver:war:2. 0.2 of

Re: Dependency with Parent Project (Packaging War)

2010-11-24 Thread Antonio Petrelli
2010/11/24 Michael Prieß mailingliste...@googlemail.com: Reason: Parent: org.geoserver:geoserver:war:2. 0.2 of project: org.geoserver:platform has wrong packaging: war. Must be 'pom'. for project org.geoserver:platform If i use maven3 everything is fine. How can i resolve this problem with

Missing File when building from archetype

2010-11-24 Thread jschappet
I have created an Archetype with the following files included: ./src/main/resources/archetype-resources/.settings/org.eclipse.jdt.core.prefs ./src/main/resources/archetype-resources/.settings/org.eclipse.wst.common.component

Re: Missing File when building from archetype

2010-11-24 Thread Antonio Petrelli
2010/11/24 jschappet james-schap...@uiowa.edu: I have created an Archetype with the following files included: ./src/main/resources/archetype-resources/.settings/org.eclipse.jdt.core.prefs ./src/main/resources/archetype-resources/.settings/org.eclipse.wst.common.component

Re: Missing File when building from archetype

2010-11-24 Thread jschappet
They are being excluded by archtype-metadata.xml fileSet encoding=UTF-8 directory.settings/directory includes include**/*.prefs/include /includes /fileSet I was hoping to set a few custom eclipse settings that will be used by our internal developers. --

Re: Missing File when building from archetype

2010-11-24 Thread jschappet
Updating archetype-metadata.xml fixed this: fileSet encoding=UTF-8 directory.settings/directory includes include**/*.prefs/include include**/*.xml/include include**/*.component/include /includes /fileSet

Re: Continuous Delivery and Maven

2010-11-24 Thread Stephen Connolly
http://mojo.codehaus.org/ship-maven-plugin Let me know what you think? -stephen On 9 November 2010 09:24, Stephen Connolly stephen.alan.conno...@gmail.comwrote: I think some of the issues are around missuse of Maven. Maven is a build tool, use it to do your build. CD needs a separate

Re: Continuous Delivery and Maven

2010-11-24 Thread Hilco Wijbenga
On 24 November 2010 10:27, Stephen Connolly stephen.alan.conno...@gmail.com wrote: http://mojo.codehaus.org/ship-maven-plugin Let me know what you think? FYI, the links to Re-deploying an old version do not seem to work. - To

RE: Continuous Delivery and Maven

2010-11-24 Thread Yanko, Curtis
I though the idea we talked about was to re-write the POM that get's packaged with the actual version used from a version range? Curt Yanko | Continuous Integration Services | UnitedHealth Group IT Making IT Happen, one build at a time, 600 times a day

Re: RE: Continuous Delivery and Maven

2010-11-24 Thread Stephen Connolly
That's an enhancement to versions-maven-plugin This is the hook for deployment (aka shipping) - Stephen --- Sent from my Android phone, so random spelling mistakes are a direct result of using swype to type on the screen On 24 Nov 2010 18:45, Yanko, Curtis curt_ya...@uhc.com wrote: I though

Re: Missing File when building from archetype

2010-11-24 Thread Anders Hammar
Very likely not the way to go. If you use m2eclipse, it will create those files effectively replacing yours. /Anders On Wed, Nov 24, 2010 at 18:47, jschappet james-schap...@uiowa.edu wrote: They are being excluded by archtype-metadata.xml fileSet encoding=UTF-8

Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Julien Martin
Hello, I am trying for maven to process my annotation processor. Here is what I tried: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.6/source

Re: Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Benson Margulies
A guess: also add it as a dependency to the compiler plugin? On Wed, Nov 24, 2010 at 3:36 PM, Julien Martin bal...@gmail.com wrote: Hello, I am trying for maven to process my annotation processor. Here is what I tried:            plugin                groupIdorg.apache.maven.plugins/groupId

Re: Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Julien Martin
Thanks Benson, What do you mean? How do I do that? J. 2010/11/24 Benson Margulies bimargul...@gmail.com A guess: also add it as a dependency to the compiler plugin? On Wed, Nov 24, 2010 at 3:36 PM, Julien Martin bal...@gmail.com wrote: Hello, I am trying for maven to process my

Nested Modules Not Working with 20101115-1102 Update

2010-11-24 Thread tim273
Hello, I just recently updated to version 0.12.0.20101115-1102 and my project with nested modules no longer has any maven dependencies. I was not able find a way to turn nested modules back on. A command line maven build works fine. Does anyone else have this problem and is there a solution?

Re: Nested Modules Not Working with 20101115-1102 Update

2010-11-24 Thread Wayne Fay
I just recently updated to version 0.12.0.20101115-1102 and my project with nested modules no longer has any maven dependencies.  I was not able find a Version 0.12.0.xyz of what exactly?? Wayne - To unsubscribe, e-mail:

RE: Nested Modules Not Working with 20101115-1102 Update

2010-11-24 Thread Nord, James
I can read minds and he is referring to m2eclipse. I should point out that the mailing list for m2eclipse users can be found at https://dev.eclipse.org/mailman/listinfo/m2e-users /James -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: 24 November 2010 21:14 To:

Re: Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Benson Margulies
plugin dependencies dependency g/a/v of where your annotation processor is /dependency /dependencies /plugin On Wed, Nov 24, 2010 at 3:43 PM, Julien Martin bal...@gmail.com wrote: Thanks Benson, What do you mean? How do I do that? J. 2010/11/24 Benson Margulies

RE: Proper way to deploy properties files into WEB-INF/classes?

2010-11-24 Thread GALLAGHER, RON (ATTSI)
David, You can add a project/build/resources/resource entry [1] to your POM file to accomplish this. [1] http://maven.apache.org/ref/3.0/maven-model/maven.html#class_resource Ron Gallagher -Original Message- From: KARR, DAVID (ATTSI) Sent: Tuesday, November 23, 2010 11:11 AM To:

Re: Proper way to deploy properties files into WEB-INF/classes?

2010-11-24 Thread Benson Margulies
Or more easily, move them to src/main/resources, following the convention. On Wed, Nov 24, 2010 at 8:51 PM, GALLAGHER, RON (ATTSI) rg7...@att.com wrote: David, You can add a project/build/resources/resource entry [1] to your POM file to accomplish this. [1]

Maven 3.0 timestamp

2010-11-24 Thread Moser, Christian
I wonder in which specific time/timezone maven 3.0 writes the timestamp into maven-metadata for local and remote artifacts? Is it supposed to write GMT + 0:0 or the same time set on the local machine, in my case GMT + 1:0? There could be a problem because recently I had a different timestamp in

maven-antrun-plugin:1.4 and not resolving maven properties

2010-11-24 Thread Kamran Yadav
Hi, I am using latest Maven 3. I have configured maven-antrun-plugin version 1.3 for a simple copy task which works fine. I tried later version 1.4 to 1.6 but they fail. The issue is that its not resolving maven properties like ${project.parent.basedir} The problem with 1.3 version is that it

Re: Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Julien Martin
Benson, Here is what I have added: dependencies dependency groupIdcom.jeanbaptistemartin/groupId artifactIdjeanbaptistemartin/artifactId version1.3/version typewar/type