resources in an ant plugin

2007-11-19 Thread Ben Tatham
Hello, I have a maven plugin, written in ant. I want to include resources in it that I can then use during the run of the plugin. If it were a java mojo, I could get the resource directly out of the classpath (from the jar). But in an ant plugin...I have no idea. But how can I do this? I

Re: dependency plugin and version

2007-11-19 Thread deckrider
Hmm, I'm having trouble getting 'unpack-dependencies' to work the way I want. It seems that much more is included in my war file than 'unpack' would give (and unpack would give exactly what I wanted). Originally I was trying to follow this: http://mojo.codehaus.org/webstart-maven-plugin-parent/w

Re: dependency plugin and version

2007-11-19 Thread deckrider
Ok, I got this to include only what I want by changing the phase from 'process-resources' to 'package'. However, because of the dependencies, the jars are placed under WEB-INF/lib in the war file, which is not correct. On Nov 19, 2007 3:53 PM, deckrider <[EMAIL PROTECTED]> wrote: > Hmm, I'm havin

Running mvn on modules affected by a change

2007-11-19 Thread Jean-Sebastien Delfino
Hi, I'm working on a multimodule project and after making a change in a module X, I would like to do the following: - mvn clean install on all modules in the project that have compile dependencies on X; - mvn test on all modules in the project that have runtime and test dependencies on X.

Re: New Maven integration for Eclipse project proposed to the Eclipse Foundation

2007-11-19 Thread Carlos Sanchez
btw to use the newsgroup you need to register at http://www.eclipse.org/newsgroups/register.php On Nov 19, 2007 12:43 PM, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm proud to say that a new project proposal has been approved at the > Eclipse Foundation to add Maven integration into

RE: Maven2 - deploy archive to server?

2007-11-19 Thread Brian E. Fox
You can use the dependency:copy or unpack to get your file out of the repo and drop it or unpack it...much simpler than using ant. -Original Message- From: Simon Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 6:32 PM To: Maven Users List Subject: RE: Maven2 - deploy arch

RE: Maven2 - deploy archive to server?

2007-11-19 Thread Simon Taylor
This is the exact same question I was asking a few weeks ago. Now I may have misunderstood how things are meant to work but this is how I see it:- 1) Developers check out source code from Source Code Repository (including the POM) 2) Maven build + test locally 3) Make your changes then commit to

Re: Maven2 - deploy archive to server?

2007-11-19 Thread Dennis Lundberg
Have a look at the Cargo Maven2 plugin: http://cargo.codehaus.org/Maven2+plugin kroe wrote: Our applications are deployed to internal servers - either to JBoss as a web application or to a directory on a specified server for exection by a scheduling system. We have development, staging, and p

Maven2 - deploy archive to server?

2007-11-19 Thread kroe
Our applications are deployed to internal servers - either to JBoss as a web application or to a directory on a specified server for exection by a scheduling system. We have development, staging, and production environments that we need the ability to deploy to consistenly and easily. Maven's us

ant tasks and pom properties

2007-11-19 Thread Kevin Stembridge
Hi all, Is it possible for the ant tasks to read in arbitrary pom.xml properties? I'm not having any trouble getting at the normal properties that are part of the POM schema (project.version, project.build.directory etc) but I can't read in any properties that I define in a tag. Is this suppose

RE: dependency plugin and version

2007-11-19 Thread Brian E. Fox
The dependency plugin doesn't support versions in the copy/unpack goals. You could try the unpack-dependencies goal instead since that allows maven core to resolve it. You would then use the filters to get only the file you want. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

RE: Using Custom Developed Checkstyle Check Modules

2007-11-19 Thread Brian E. Fox
It's possible that checkstyle is ignoring that jar for some other reason. I have used jars that contain custom rulesets both as an extension and a dependency and that works ok. -Original Message- From: DanBarker85 [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 6:01 AM To: users

dependency plugin and version

2007-11-19 Thread deckrider+mvn
Hi, is there a way I can change version below to take the latest greater than 8.0.0 instead of hard-coding the version as I do below? I tried using: "[8,)" but that did not work. org.codehaus.mojo dependency-maven-plugin process-

Re: solaris package (pkg) support

2007-11-19 Thread deckrider
Hi, what url do I put in my pom so that I can use this plugin? On Nov 12, 2007 1:03 PM, Joerg Hohwiller <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi there, > > sorry for catching up so late... > > >> > >>> Thanks for responding. I already know how to make So

Re: Re : Build number and current date

2007-11-19 Thread Julian Wood
What does your scm tag look like? It needs an svn config at the moment, or else you need to configure it to use a sequential number (or something else) if you don't use svn. Or if you use cvs or something else, you could contribute the code. The project is housed at the codehaus now: http:

Re: Ant Tasks for Maven and Mirrors

2007-11-19 Thread Jacob S. Barrett
On Nov 17, 2007, at 5:51 AM, Hervé BOUTEMY wrote: Finally, I opened MANTTASKS-97 for *, and fixed it for version 2.0.8, which sould be released in the next weeks. For normal mirror by id, please see MANTTASKS-85: perhaps you're in the same situation. This bug is fixed for 2.0.8 too. Her

Re: help with assembly plugin

2007-11-19 Thread Mick Knutson
tar Then make sure the ascii files you are adding are like: /src/main/resources/deploy/deploy-configs.sh deploy-configs.sh true *unix* 0754 On Nov 19, 2007 9:01 AM, Gunnar Boström <[EMAIL P

help with assembly plugin

2007-11-19 Thread Gunnar Boström
Hi, I use the maven-assembly-plugin to create a zip file on windows XP. It works ok, with one problem. The zip file will be unzipped on a Solaris computer so I need to fix the line endings. This works fine if I do mvn package directly in a module, but if I run mvn package from the master it will n

Re: Mavenide and NetBeans 6 RC1

2007-11-19 Thread johne
Thank you for the very useful response. It is amazing the dependency I have formed on that NetBeans and that embedder. I am hoping some of the changes auto-update once NB 6.0 goes live. My project http://www.jobbank.com has multiple three levels of wars that compile into each other amidst othe

Re: Classifier and dependencies

2007-11-19 Thread Emmanuel Hugonnet
Currently, I have set my version tag to : ${parent.version}-${classifier} and I set the classifier property in my profiles but this doesn't feel good. 2007/11/19, Emmanuel Hugonnet <[EMAIL PROTECTED]>: > > Hi, > I have a project that I need to build for different JDKs; Because we use > JAXB on jd

Classifier and dependencies

2007-11-19 Thread Emmanuel Hugonnet
Hi, I have a project that I need to build for different JDKs; Because we use JAXB on jdk1.4.2, 5 and 6I need to specify different dependencies for the JAXB version from 1.0.6 to 2.0.5. So I have different profiles for each jdk version target. I have set a classifier so that I get 3 different articf

mvn release:perform and "tag" parameter = ${pom.version}

2007-11-19 Thread Julien Graglia
Hi, I have a multi-module pom that I can succesfully release by using release:prepare & release:perform I just want to change the name of the tag created : by default it use "the name of the pom"."the version". So I try to use param "tag" with value "${pom.version}" With that config :

Re: javax.persistence:ejb:jar:3.0-public_review

2007-11-19 Thread Daniele De Francesco
Ciao, Alternatively, but only for a matter of repository "homogeneity" ( that artifact belongs to javax.persistence groupId), you could try javax.persistence ejb-3.0-public-draft 20050623 *pom* In fact the maven repo central contains only the pom file of that artifact. In f

RE: Maven1.x Integration with Eclipse

2007-11-19 Thread Smitha.Aldrin
Hi Tomek I found the site useful.Thank you so much. I installed the pluggin.But from Eclipse how to I set the goals? In the command promt we used to give like maven full-build; How can I get this done from Eclipse. Thanks And Regards Smitha Aldrin -Original Message- From: Tomasz Pik [ma

Re: Re : Build number and current date

2007-11-19 Thread tec-goblin
Same problem here. Configured scm but we get the same error: Cannot get the revision information from the scm repository : Can't load the scm provider. The scm url cannot be null. If we remove the plugin from the pom, everything works ok. Time to look at it, isn'it? ;-) oups ! I tried to ad

Re: Assembly plugin with filtering

2007-11-19 Thread Saloucious
Because in AssemblyMojo, filters are in read-only mode, don't understand why It's binded to filters define in build tag /** * @parameter default-value="${project.build.filters}" * @readonly */ protected List filters; Saminda Abeyruwan-3 wrote: > > Hi All, > > I'm

Re: Building Eclipse plugins with Maven 2

2007-11-19 Thread Sebastien ARBOGAST
Thanks a lot for all your help Michal. I was afraid of renaming of renaming the name of those projects without changing the name of tha packages inside them (which I cannot do), but it worked. Well at least it compiles and tests pass. Now I would like to check that it runs. In the original project

RE: Using Custom Developed Checkstyle Check Modules

2007-11-19 Thread DanBarker85
Thanks for your response. Adding the jar as an extension in the build was the original option I chose, as was detailed in the Maven tutorial. I think i've tried all combinations, but maybe it doesn't find the jar file > [ERROR] Unable to process package names location: > com/name/maven/checks/

RE: Using Custom Developed Checkstyle Check Modules

2007-11-19 Thread DanBarker85
Thanks for your response. Adding the jar as an extension in the build was the original option I chose, as was detailed in the Maven tutorial. I think i've tried all combinations, but maybe it doesn't find the jar file > [ERROR] Unable to process package names location: > com/name/maven/checks/

Re: problem with maven embebed in netbeans 5.5.1

2007-11-19 Thread logancillo
ok, thx, i´ll report this possible bug very soon! -- View this message in context: http://www.nabble.com/problem-with-maven-embebed-in-netbeans-5.5.1-tf4805705s177.html#a13830924 Sent from the Maven - Users mailing list archive at Nabble.com. ---

Re: Maven1.x Integration with Eclipse

2007-11-19 Thread Tomasz Pik
On Nov 19, 2007 10:58 AM, <[EMAIL PROTECTED]> wrote: > > Hi > > Is there any pluggin available for integrating maven1.x with Eclipse http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html Regards, Tomek - To unsubscribe

Maven1.x Integration with Eclipse

2007-11-19 Thread Smitha.Aldrin
Hi Is there any pluggin available for integrating maven1.x with Eclipse Thanks And Regards Smitha ALdrin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem with maven embebed in netbeans 5.5.1

2007-11-19 Thread Milos Kleint
I didn't hear a problem description similar to yours so far. So it's probably a still-to-be-fixed issue. Milos On 11/19/07, logancillo <[EMAIL PROTECTED]> wrote: > > > Milos, is this a resolved problem? i dont know if there is an open task on > jira.codehauss... > > > > -- > View this message in

Re: problem with maven embebed in netbeans 5.5.1

2007-11-19 Thread logancillo
Milos, is this a resolved problem? i dont know if there is an open task on jira.codehauss... -- View this message in context: http://www.nabble.com/problem-with-maven-embebed-in-netbeans-5.5.1-tf4805705s177.html#a13830305 Sent from the Maven - Users mailing list archive at Nabble.com. -

Re: problem with maven embebed in netbeans 5.5.1

2007-11-19 Thread Alonso Isidoro Roman
thx for your response!, yep! it happens too! 2007/11/18, Milos Kleint <[EMAIL PROTECTED]>: > > does the same happen when invoking on the command line? > worth filing as issue at http://jira.codehaus.org/browse/MEVENIDE > > Milos > > On Nov 14, 2007 4:06 PM, logancillo <[EMAIL PROTECTED]> wrote: >

RE: SCM

2007-11-19 Thread Filippo De Luca
Ok It's good idea i will use eclipse integration. -- Filippo De Luca [EMAIL PROTECTED] http://www.filosganga.it -- Circolo Canottieri Roma Lungotevere Flaminio, 39 - 00196 - Roma - Italia http://www.canottieriroma.com ---