Re: Maven assemply plug in

2009-08-25 Thread Saritha SV
A similar issue is found in - http://www.nabble.com/how-to-set-manifestEntries-with-maven-assembly-plugin--td15584576.html ..You may have to see the suggestions provided . http://www.thekua.com/atwork/2008/10/maven-assembly-plugin-ignoring-manifestentries/ Thanks Saritha SV

AW: How does org.apache.maven.plugin.ContextEnabled work?

2009-08-25 Thread Robert.Klaus
Thanks for the answer. Seems to me that it doesn't do what I need. Cheers, Robert -Ursprüngliche Nachricht- Von: Martin Gainty [mailto:mgai...@hotmail.com] Gesendet: Montag, 24. August 2009 23:30 An: users@maven.apache.org Betreff: RE: How does

Re: Maven assemply plug in

2009-08-25 Thread Martin Lau
Thanks for the response, not sure I see the connection though? I'm not doing anything with manifests, or even defining any additional settings in the plugin definition. Or I may well be missing something... :) On 25/08/2009, at 16:01, Saritha SV saritha.ma...@gmail.com wrote: A similar

buildnumber-maven-plugin using svnjava doesn't detect SVN working copy

2009-08-25 Thread nodje
I got an error using 1.0-beta-3 with svnjava: [INFO] [buildnumber:create {execution: default}] [INFO] Change the default 'svn' provider implementation to 'javasvn'. [INFO] Checking for local modifications: skipped. [INFO] Updating project files from SCM: skipped. [INFO]

Re: buildnumber-maven-plugin using svnjava doesn't detect SVN working copy

2009-08-25 Thread Olivier Lamy
Hi, If your local copy comes from a 1.6 checkout, you have to upgrade your svnkit version in the plugin dependencies. Have a look at the pom [1] and the profile called svn1.6. But as the svnkit version is not on central [2] you have to install it. HTH, -- Olivier [1]

Executing site:site during install breaks build

2009-08-25 Thread Rodrigo Ruiz
Hi all, I am trying to build a multi-module project with the following layout: project | +-- assembler +-- core +-- utils +-- gui The module gui depends on both core and utils, while assembler creates a bundle for deployment, and thus depends on the rest of modules. I want to include

Re: buildnumber-maven-plugin using svnjava doesn't detect SVN working copy

2009-08-25 Thread nodje
thanks for being so fast Olivier. Everything works fine now. Too bad svnkit cannot be on the central. FYI, your link to the jar on Jira gives a Forbidden (No permission). cheers olamy-2 wrote: Hi, If your local copy comes from a 1.6 checkout, you have to upgrade your svnkit version in

Re: buildnumber-maven-plugin using svnjava doesn't detect SVN working copy

2009-08-25 Thread Olivier Lamy
2009/8/25 nodje nodje...@gmail.com: thanks for being so fast Olivier. Everything works fine now. Too bad svnkit cannot be on the central. FYI, your link to the jar on Jira gives a Forbidden (No permission). Fixed. cheers olamy-2 wrote: Hi, If your local copy comes from a 1.6

Exclude a jar file from an artifact

2009-08-25 Thread Serbulent UNSAL
Hi, İs there a way to exclude a file from an artifact ? In my example I provide habi-base-0.6.jar as source packages ( from repo http://hl7api.sourceforge.net/m2/ ) but I'd like to manage other dependencies with maven. When I googled for this issue, I only learn how-to exclude an artifact not for

Help with assembly artifact

2009-08-25 Thread Matt Milliss
My project generates a zip file that contains a war file and some text files, I would like to be able to generate a checksum for the war and include it in the zip file as well as having it deployed to my repository (and possibly even checked into subversion when I perform a release). Does

Changes Report Plugin-Jira Report-onlyCurrentVersion

2009-08-25 Thread caner kaplica
Hi, I want to get the issues related with only the current version without any filtering.But when i try onlyCurrentVersiontrue/onlyCurrentVersion,i get no results.When i use fixVersionID21312/fixVersionId (lets say 21312 is the current version),it works.The version value in pom.xml is

Building Maven

2009-08-25 Thread Pat Coleman
I'm having trouble building Maven. I'm sure I'm doing something stupid but can't figure out what. Anyway this is what I'm doing... I use this to check out Maven svn co https://svn.apache.org/repos/asf/maven/maven-2/branches/maven-2.2.x maven-2.2.x Then on this page

RE : [Versions Maven Plugin 1.0] FATAL Error thrown for versions:dependency-updates-report GOAL

2009-08-25 Thread HARDION Vincent
Hi, It seems the new version need also org.apache.maven.shared:maven-common-artifact-filters:jar:1.2 but only version 1.1 is accessible from central. Best regards, Vincent Hardion -Message d'origine- De : Arnaud HERITIER [mailto:aherit...@gmail.com] Envoyé : lundi 24 août 2009

Re: Exclude a jar file from an artifact

2009-08-25 Thread Alexander
Could you explain your problem more concreate? How do you generating artifact? 2009/8/25 Serbulent UNSAL serbule...@gmail.com Hi, İs there a way to exclude a file from an artifact ? In my example I provide habi-base-0.6.jar as source packages ( from repo http://hl7api.sourceforge.net/m2/ )

Re: Exclude a jar file from an artifact

2009-08-25 Thread Serbulent UNSAL
Hi, I add the artifact as dependency groupIdca.uhn.hapi/groupId artifactIdhapi-base/artifactId version1.0-beta1/version typejar/type scopecompile/scope /dependency It comes with some dependencies and

Re: Exclude a jar file from an artifact

2009-08-25 Thread Anders Hammar
You can exclude transitive dependencies, if that's what you're after. Please see Transitive Dependency Exclusion at http://docs.codehaus.org/display/MAVENUSER/Dependency+Mechanism /Anders On Tue, Aug 25, 2009 at 16:48, Serbulent UNSAL serbule...@gmail.com wrote: Hi, I add the artifact as

Re: Exclude a jar file from an artifact

2009-08-25 Thread Serbulent UNSAL
No that's not what I'm looking for. This mechanism is using for excluding transitive artifacts. But I'm looking for a way to exclude only one jar file. 2009/8/25 Anders Hammar and...@hammar.net: You can exclude transitive dependencies, if that's what you're after. Please see Transitive

Re: Exclude a jar file from an artifact

2009-08-25 Thread Alexander
Jar file comes from some dependency, right? 2009/8/25 Serbulent UNSAL serbule...@gmail.com No that's not what I'm looking for. This mechanism is using for excluding transitive artifacts. But I'm looking for a way to exclude only one jar file. 2009/8/25 Anders Hammar and...@hammar.net: You

Re: Exclude a jar file from an artifact

2009-08-25 Thread Anders Hammar
Ok, so you want to keep the transitive dependencies of a dependency, but exclude the actual dependency? Sorry, I don't understand what your trying to do. You need to explain more in detail what your doing; possibly your confusing things by referring to files (maven works with artifacts). /Anders

Can aggregator be other type than pom?

2009-08-25 Thread solo1970
Hello, I have the followng scenario: Currently I have 1 POM that generates a jar file. I want to separate some code (B) in a separate jar file and add it as a dependency, but want to minimize the number of POM files I need to write... Can I do this? POMA packagingjar/packaging moduleB/module

RE: Can aggregator be other type than pom?

2009-08-25 Thread Edelson, Justin
no. From: solo1970 [mailto:sonia.lodoviche...@ericsson.com] Sent: Tue 8/25/2009 11:15 AM To: users@maven.apache.org Subject: Can aggregator be other type than pom? Hello, I have the followng scenario: Currently I have 1 POM that generates a jar file. I

maven 2.2.1 does not work with basic-auth

2009-08-25 Thread Harsch, Timothy J. (ARC-SC)[PEROT SYSTEMS]
I am having difficulty connecting to Artifactory repo that requires basic-auth. If the basic-auth is removed, mvn happily builds. But if in place it can't fetch any resources. I believe I have my settings correct, I have supplied them like so: server

Re: Can aggregator be other type than pom?

2009-08-25 Thread Sven Preßler
What's so bad about having one extra pom for your project structure? 2009/8/25 Edelson, Justin justin.edel...@mtvstaff.com no. not sure about that: In a project with packagingpom/packaging you could define a build/ tag and do some stuff. So it is possible to do something like this: POMA

RE: RE : [Versions Maven Plugin 1.0] FATAL Error thrown for versions:dependency-updates-report GOAL

2009-08-25 Thread subir.sasikumar
Can you please add a comment to http://jira.codehaus.org/browse/MVERSIONS-66 so that this information could help in fixing this issue? Thanks Subir -Original Message- From: HARDION Vincent [mailto:vincent.hard...@synchrotron-soleil.fr] Sent: Tuesday, August 25, 2009 5:33 PM To: Maven

[ANNOUNCE] ellipsis xray - Search And Download Java Dependencies

2009-08-25 Thread gautam . tandon
ellipsis xray is an online utility written to easily search and download Java dependencies. It is available for FREE. All you have to do is register providing only your email address. Feel free to check it out here: http://www.ellipsissolutions.com/xray.php You can read more details about

Re: RE : [Versions Maven Plugin 1.0] FATAL Error thrown for versions:dependency-updates-report GOAL

2009-08-25 Thread Arnaud HERITIER
They are here : http://repo1.maven.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.2/ I published them few days before the release of versions plugin Cheers, Arnaud # Arnaud Héritier # Software Factory Manager # eXo Platform # http://www.exoplatform.com #

Re: mvn deploy -- CHECKSUM FAILED

2009-08-25 Thread Adrian Herscu
Tried that... Didn't work :( I found that the Maven Snapshots Repository location changed and some components are not found once I deleted the local repository contents. Fixed that and now seems to work (I haven't finished the testing). Thanks for your reply, Adrian. Saritha SV wrote: Try

How to get version without SNAPSHOT text

2009-08-25 Thread MFranz
Hi, I have created a WiX installation that I create with Maven. I am trying to set the product version using the pom.version but running into the problem that WiX only supports integers in the version number. I have looked without success a way to solve my problem. Maybe someone here will

Can we write a custom webapp plugin that uses the war plugin and its configruation?

2009-08-25 Thread Anil-C
I am trying to create a new plugin webapp with two goals clean and refresh to extend the functionality of the maven-war-plugin. webapp:clean would clean the webappDirectory and webapp:refresh would refresh the warSourceDirectory and apply modifications to the webappDirectory (similar to

Re: Can we write a custom webapp plugin that uses the war plugin and its configruation?

2009-08-25 Thread Sven Preßler
You might want to take a look at the maven-inherit-plugin: http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/ -Sven 2009/8/25 Anil-C achalamalase...@gmail.com I am trying to create a new plugin webapp with two goals clean and refresh to extend the functionality of the

Re: RE : [Versions Maven Plugin 1.0] FATAL Error thrown for versions:dependency-updates-report GOAL

2009-08-25 Thread Vincent Hardion
Sorry I've just seen that our mirror (http://ftp.cica.es/mirrors/ maven2) is not updated from february 2009 !!! Thank you very much for your work Vincent Le 25 août 09 à 18:46, Arnaud HERITIER a écrit : They are here :

Re: Can we write a custom webapp plugin that uses the war plugin and its configruation?

2009-08-25 Thread Anil-C
Thanks for the quick reply. I have tried this plugin earlier thats not what i wanted. This plugin reads the metadata information of the plugin at compile time. I need something that can read the configuration of from the pom for maven-war-plugin (if no configuration specified, take defaults), and

Re: Can we write a custom webapp plugin that uses the war plugin and its configruation?

2009-08-25 Thread Jörg Schaible
Hi Sven, Sven Preßler wrote: You might want to take a look at the maven-inherit-plugin: http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/ Honestly, this plugin leads directly into Maven plugin dependency hell. If you like to have arbitrary side effects in multi-project builds,

Maven clean plugin - delete additional directories

2009-08-25 Thread grumpypuppy
Hello All, I am trying to delete an additional directory and files inside it with the maven clean plugin. Say, the directory is called abc. It resides in ext which contains several sub directories. With the configuration below, I am able to delete the *content* of abc (both files and

[ANN] Maven Filtering 1.0-beta-3 Released

2009-08-25 Thread John Casey
The Maven team is pleased to announce the release of Maven Filtering, version 1.0-beta-3. Maven Filtering is an API that allows plugin developers to filter text-based resources using values supplied by a MavenProject instance, a MavenSession instance, and an arbitrary set of properties files.

[ANN] Maven Resoures Plugin 2.4 Released

2009-08-25 Thread John Casey
The Maven team is pleased to announce the release of the Maven Resources Plugin, version 2.4. The Resources Plugin provides support for copying and filtering files in the standard resource locations in a Maven build (configured using the project/build/resources and project/build/testResources

Re: Maven clean plugin - delete additional directories

2009-08-25 Thread Alexander
Hi, Maven-clean-plugin is smart enough to delete directory [?] Try this: plugin artifactIdmaven-clean-plugin/artifactId configuration verbosetrue/verbose filesets fileset

Re: Maven clean plugin - delete additional directories

2009-08-25 Thread grumpypuppy
Thank you. It works. I went back to my configuration, it also works as soon as I took out excludes tag. So, just curious, the plugin get confused with excludes tag? Alexander-129 wrote: Hi, Maven-clean-plugin is smart enough to delete directory [?] Try this: plugin

Getting duplicate mojo extraction errors in maven-plugin-plugin

2009-08-25 Thread Edelson, Justin
When trying to run mvn site on a multi-module project which contains a Maven plugin project, I'm getting the Error extracting plugin descriptor: 'Goal: XXX already exists in the plugin descriptor for prefix: YYY error. This is described in http://jira.codehaus.org/browse/MJAVADOC-224 and

RE: How to get version without SNAPSHOT text

2009-08-25 Thread subir.sasikumar
Will org.codehaus.mojo:versions-maven-plugin:1.0 help you in some way? /Subir -Original Message- From: mfr...@fftw.com [mailto:mfr...@fftw.com] Sent: Wednesday, August 26, 2009 1:16 AM To: users@maven.apache.org Subject: How to get version without SNAPSHOT text Hi, I have created a WiX

Re: How to get version without SNAPSHOT text

2009-08-25 Thread Dan Tran
see build-helper-maven-plugin as well On Tue, Aug 25, 2009 at 9:23 PM, subir.sasiku...@wipro.com wrote: Will org.codehaus.mojo:versions-maven-plugin:1.0 help you in some way? /Subir -Original Message- From: mfr...@fftw.com [mailto:mfr...@fftw.com] Sent: Wednesday, August 26, 2009