Re: iterating over resources in mojo

2011-08-10 Thread Anders Hammar
I don't have the answer, but I would look in the maven-resources-plugin source to see how it is done there. /Anders On Thu, Aug 11, 2011 at 00:54, Bill Shannon wrote: > I'm writing a maven plugin. (2.2.1, if it matters.) I can get all the > Resource objects for a project. The Resources might

iterating over resources in mojo

2011-08-10 Thread Bill Shannon
I'm writing a maven plugin. (2.2.1, if it matters.) I can get all the Resource objects for a project. The Resources might have includes or excludes specified. How do I iterate over all the resource files, taking into account the includes and excludes? I was hoping the Resource or FileSet clas

Re: Maven in Linux environment

2011-08-10 Thread Mark Donszelmann
Hi you need to put it in the pom directory in which you run maven, not the parent dir. Regards Mark On Aug 10, 2011, at 5:39 PM, kalpeer wrote: > Thanks a lot. > > I created aol.properties in my root directory of the project. that is in the > location(/opt/project) where is my parent pom.xml i

No such provider : svn error

2011-08-10 Thread Arunachalam, Narayanan
Hi, I am trying to deploy a module to remote repository accessed via svn. I get the below error when I try "mvn deploy -X". [DEBUG] Using connector WagonRepositoryConnector with priority 0 for scm:svn:http://svn.host/repo as xyuser Downloading: scm:svn:http://svn.host/repo/com/company/package/

Plugin configuration: annotating complex objects?

2011-08-10 Thread Mark H. Wood
I'm writing a plugin with rather complex configuration, and I haven't found any documentation on how to get annotations looked at in custom classes representing parts of the configuration. Maven (actually Plexus, I suppose, under the covers) is finding my classes and injecting values, but doesn't

Re: [VOTE] Release Maven Checkstyle Plugin version 2.7

2011-08-10 Thread Olivier Lamy
Here my +1. Thanks ! 2011/8/8 Olivier Lamy : > Hi, > > We solved 6 issues: > https://jira.codehaus.org/secure/ReleaseNote.jspa?version=16773&styleName=Text&projectId=11127&Create=Create > > Staging repo: > https://repository.apache.org/content/repositories/maven-005/ > > Staging site: > http://ma

[RESULT][VOTE] Release Apache Parent POM 10

2011-08-10 Thread herve . boutemy
Hi, The vote has passed with the following result: +1 (binding): Brett Porter, Olivier Lamy, Mark Struberg, Stephen Connolly, Kristian Rosenvold, Emmanuel Venisse, Hervé Boutemy +1 (non binding): I will promote the artifacts to the central repo. Regards, Hervé ---

Re: Maven in Linux environment

2011-08-10 Thread kalpeer
Thanks a lot. I created aol.properties in my root directory of the project. that is in the location(/opt/project) where is my parent pom.xml is available. aol.properties: i386.Linux.linker=CC i386.Linux.CC.cpp.compiler=CC i386.Linux.CC.cpp.defines=Linux GNU_GCC f2cFortran i386.Linux.CC.cpp.optio

Re: [VOTE] Release Apache Parent POM 10

2011-08-10 Thread herve . boutemy
here is my +1 Hervé - "Olivier Lamy" a écrit : > +1 > > 2011/8/7 Hervé BOUTEMY : > > Hi, > > > > This project consists of a POM that contains settings that are > likely to be > > useful to any Apache project that is building and releasing code > with Maven > > 2/3. > > > > We solved 3 issu

Re: [VOTE] Release Apache Parent POM 10

2011-08-10 Thread herve . boutemy
whoops, sorry for the wrong link for the diff, it is available from the site: that's one of the new features (even if not really built into the pom itself) Regards, Hervé - "Brett Porter" a écrit : > On 07/08/2011, at 8:14 AM, Hervé BOUTEMY wrote: > > > Staging repo: > > https://reposit

Re: Maven in Linux environment

2011-08-10 Thread Mark Donszelmann
Hi you can just create an aol.properties file in the root directory of the project. Next to pom.xml regards Mark On Aug 9, 2011, at 4:55 PM, kalpeer wrote: > Thanks a lot. I have tried with nar plugin. But still I got the same error. > > On further study it looks like AOL property needs to be

Re: [VOTE] Release Apache Parent POM 10

2011-08-10 Thread Emmanuel Venisse
+1 Emmanuel On Sun, Aug 7, 2011 at 12:14 AM, Hervé BOUTEMY wrote: > Hi, > > This project consists of a POM that contains settings that are likely to be > useful to any Apache project that is building and releasing code with Maven > 2/3. > > We solved 3 issues: > > https://issues.apache.org/jira/

Re: [VOTE] Release Apache Parent POM 10

2011-08-10 Thread Kristian Rosenvold
+1 Den 10. aug. 2011 kl. 10:27 skrev Stephen Connolly : > +1 > > On 6 August 2011 23:14, Hervé BOUTEMY wrote: >> Hi, >> >> This project consists of a POM that contains settings that are likely to be >> useful to any Apache project that is building and releasing code with Maven >> 2/3. >> >> We s

RE: SQL update plugin information erquired

2011-08-10 Thread Petr Janata
Hi, I feel easiest would be to write shell script and use maven-exec-plugin or write your own plugin. But if you really want to use Maven, read on. use these 2 goals: com.google.code.maven-svn-revision-number-plugin:maven-svn-revision-number-plugin:revision org.apache.maven.plugins:maven-scm-plug

Re: [VOTE] Release Apache Parent POM 10

2011-08-10 Thread Stephen Connolly
+1 On 6 August 2011 23:14, Hervé BOUTEMY wrote: > Hi, > > This project consists of a POM that contains settings that are likely to be > useful to any Apache project that is building and releasing code with Maven > 2/3. > > We solved 3 issues: > https://issues.apache.org/jira/secure/ReleaseNote.js

Re: [VOTE] Release Apache Parent POM 10

2011-08-10 Thread Mark Struberg
+1 LieGrue, strub --- On Wed, 8/10/11, Olivier Lamy wrote: > From: Olivier Lamy > Subject: Re: [VOTE] Release Apache Parent POM 10 > To: "Maven Developers List" > Date: Wednesday, August 10, 2011, 7:02 AM > +1 > > 2011/8/7 Hervé BOUTEMY : > > Hi, > > > > This project consists of a POM that c

Re: [VOTE] Release Apache Parent POM 10

2011-08-10 Thread Olivier Lamy
+1 2011/8/7 Hervé BOUTEMY : > Hi, > > This project consists of a POM that contains settings that are likely to be > useful to any Apache project that is building and releasing code with Maven > 2/3. > > We solved 3 issues: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311250