Re: Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Julien Martin
Benson, Here is what I have added: com.jeanbaptistemartin jeanbaptistemartin 1.3 war Here is what I still get: Compilation failure error: An

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

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 th

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) wrote: > 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-m

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: users

Re: Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Benson Margulies
g/a/v of where your annotation processor is On Wed, Nov 24, 2010 at 3:43 PM, Julien Martin wrote: > Thanks Benson, > What do you mean? How do I do that? > J. > > 2010/11/24 Benson Margulies > >> A guess: also add it as a dependency to the compiler plugin? >> >

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: Maven

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: use

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? T

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 > A guess: also add it as a dependency to the compiler plugin? > > On Wed, Nov 24, 2010 at 3:36 PM, Julien Martin wrote: > > Hello, > > > > I am trying for maven to process my annotation processor. > > Here is wha

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 wrote: > Hello, > > I am trying for maven to process my annotation processor. > Here is what I tried: >             >                org.apache.maven.plugins >                maven-compiler

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: org.apache.maven.plugins maven-compiler-plugin 1.6 1.6 com.jeanbaptistemartin.util.Test

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 wrote: > > They are being excluded by archtype-metadata.xml > > > .settings > >**/*.prefs > > > > > > >

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" wrote: I though the idea we talked

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: Continuous Delivery and Maven

2010-11-24 Thread Hilco Wijbenga
On 24 November 2010 10:27, Stephen Connolly 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 unsubscribe, e-mail: users

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 wrote: > 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 layer above Maven to do the dep

Re: Missing File when building from archetype

2010-11-24 Thread jschappet
Updating archetype-metadata.xml "fixed" this: .settings **/*.prefs **/*.xml **/*.component Test5/.settings/org.eclipse.jdt.core.prefs Test5/.settings/org.eclipse.wst.common.component Test5/.settings/org.eclipse.wst.common.project.facet.core

Re: Missing File when building from archetype

2010-11-24 Thread jschappet
They are being excluded by archtype-metadata.xml .settings **/*.prefs I was hoping to set a few custom eclipse settings that will be used by our internal developers. -- View this message in context: http://maven.40175.n5.nabble.com/Missing-File-when-b

Re: Missing File when building from archetype

2010-11-24 Thread Antonio Petrelli
2010/11/24 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 > ./src/main/resources/archetype-resource

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 ./src/main/resources/archetype-resources/.settings/org.eclipse.wst.commo

Re: Dependency with Parent Project (Packaging War)

2010-11-24 Thread Antonio Petrelli
2010/11/24 Michael Prieß : > 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 > maven2 ? In fact I think

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 pro

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: http://maven.40175.n5.nabble.com/Incompatible-initial-and-maximum-heap-sizes-specified-tp119977p327

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: 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";> 4.0.0 foo-api foo-pomtype-api

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 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 immediately after

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

2010-11-24 Thread Laird Nelson
I have a pom.xml. It looks like this: 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";> 4.0.0 foo-api foo-pomtype-api com.foobar 1.0-SNAP

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 Reply-to: "Maven Users List" To: users@mave

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 m