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

2009-08-24 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 org.apache.maven.plugin.ContextEn

Re: Maven assemply plug in

2009-08-24 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

Re: Can I skip these warnings and compile legacy classes in Maven?

2009-08-24 Thread Kevin
I'll give it a try, thx Markku. 2009/8/25 Markku Saarela : > Hi, > > You can configure compiler plugin to use certain compiler version > > http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html > > also you can put additional target and source definitions i

Assembly Dependencies using Custom Packaging

2009-08-24 Thread Martin Lau
Hi, I have a number of projects which are built using the org.apache.felix:maven-bundle-plugin, using bundlepackaging>. I have another project which I'm trying to use to assemble my bundles (as well as some additional felix bundles) into a standard directory hierarchy for execution. My

Re: Can I skip these warnings and compile legacy classes in Maven?

2009-08-24 Thread Markku Saarela
Hi, You can configure compiler plugin to use certain compiler version http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html also you can put additional target and source definitions in the same compiler plugin configuration http://maven.apache.org/plugi

Re: mvn deploy -- CHECKSUM FAILED

2009-08-24 Thread Saritha SV
Try deleting the contents of specified artifact from the repository . Some metadata xml file must have got corrupted . Thanks, Saritha On Sun, Aug 23, 2009 at 10:02 PM, Adrian Herscu wrote: > Hi all, > > I am using Maven 2.2.1 on Sun JDK 1.6.0_16. > When I am running mvn deploy I am getting thi

Re: Assembly will not deploy.

2009-08-24 Thread Markku Saarela
Hi, You can use build-helper:attach-artifact to gain that behavior. http://mojo.codehaus.org/build-helper-maven-plugin/ rgds, Markku David C. Hicks wrote: Hi, I have a module in my project that creates an assem

Can I skip these warnings and compile legacy classes in Maven?

2009-08-24 Thread Kevin
I'm moving a legacy project into Maven2, but there're some classes using the SUN deprecated API which are not recommended now, so I get a failure message when running mvn compile. [ERROR] BUILD FAILURE [INFO] [INFO] Compilati

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

2009-08-24 Thread Martin Gainty
Guten Tag the example i have seen acquires the getPluginContext in execute method for variable you have identified at command line specifically: public void execute() throws MojoExecutionException { getPluginContext('maven-it-plugin-context-passing').getVariable('some.variable')

Assembly will not deploy.

2009-08-24 Thread David C. Hicks
Hi, I have a module in my project that creates an assembly to be deployed to our Nexus repository - only the assembly won't deploy. This was working until this particular build. I've been using the deprecated "attach" goal to cause the assembly to be added to the list of artifacts to be dep

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

2009-08-24 Thread Robert.Klaus
Hi, I have multiple plugins which work on a xml document, which can be quite expensive to load and parse. To keep build times short, it would be good if plugins could access a previously loaded document, so that a document needs only be loaded and parsed once per build. While looking how to achie

Articles for CM Crossroads

2009-08-24 Thread Bob Aiello
Hi Everyone, I am looking for people who are interested in sharing best practices for using Ant, Maven and Make. The articles will appear in CM Basics (www.cmcrossroads.com). We have 60,000+ readers with lots of existing articles and forums on build engineering. Please contact me directly if yo

Re: Maven2 - Where to put script files?

2009-08-24 Thread veronymkroun
The book 'Maven - The Definitive Guide' (www.sonatype.com/download.php?file=books/maven-definitive-guide.pdf) says: "When you are using the assembly plugin to produce a distribution for an application as a ZIP or TAR, you might place all of you scripts in a directory like src/main/command." (p.

Re: AW: Maven - Eclipse - OSGi, code, compile test cycle [Virus checked]

2009-08-24 Thread Fotis Paraskevopoulos
Hello Wolfgang, I wan't to note something, the compile dependencies are added to the class-path, what is not working is when pde=true, in which case the plugin documentation states that "linked" libraries will be created depending on the pom's defined dependency. This way the Manifest will

AW: Maven - Eclipse - OSGi, code, compile test cycle [Virus checked]

2009-08-24 Thread Schrecker, Wolfgang
Actually, Fotis, I could NOT work the examples of that book, because the the PAX stuff did not work for me at all. I hope, in a week or two, I get on it again... When it works, calling maven from the command line, then calling 'mvn eclipse:eclipse' always sets the the classpath correctly in ecli

Re: [ANN] Apache Source-Release Assembly Descriptor 1.0 Released

2009-08-24 Thread Brett Randall
On Sat, Aug 22, 2009 at 9:00 AM, John Casey wrote: > It appears that the site/repository synchronization is moving slowly, so > please be patient and these artifacts and site updates should be showing up > before long. I want to make sure I get this announcement out before I forget > it, though.

Re: AW: AW: Maven - Eclipse - OSGi, code, compile test cycle [Virus checked]

2009-08-24 Thread Fotis Paraskevopoulos
Hello Again Wolfgang, Please find some comments inline. On Aug 24, 2009, at 12:22 , Schrecker, Wolfgang wrote: Nowhere, Fotis, because it has nothing to do with with eclipse:eclipse. It concerns Maven. When your pom.xml is fine, eclipse:eclipse will tell eclipse so. My pom is fine, since

Maven assemply plug in

2009-08-24 Thread raghuprasad
Hello Experts, Below is my configuration for maven assembly plugin maven-assembly-plugin 2.1 build/current/bin

AW: AW: Maven - Eclipse - OSGi, code, compile test cycle [Virus checked]

2009-08-24 Thread Schrecker, Wolfgang
Nowhere, Fotis, because it has nothing to do with with eclipse:eclipse. It concerns Maven. When your pom.xml is fine, eclipse:eclipse will tell eclipse so. Check the book 'Modular Java: Creating Flexible Applications with OSGi and Spring (Pragmatic Programmers)' Since the author is using the pax

Re: AW: Maven - Eclipse - OSGi, code, compile test cycle [Virus checked]

2009-08-24 Thread Fotis Paraskevopoulos
Hello Wolfgang, Thank you for your reply, but where is it documented in the eclipse:eclipse plugin that the repositories need to be pax/OSGi? Please correct me if I am wrong, but I have done the following. All of the possible osgi ready jars I have gotten from the springsource enterprise r

AW: Maven - Eclipse - OSGi, code, compile test cycle [Virus checked]

2009-08-24 Thread Schrecker, Wolfgang
Hello, did you make sure, that in the MAVEN settings.xml or your pom.xml, there is a correct entry for the pax/OSGI repositories ? AFAIK, they are NOT the standard Maven repo. Wolfgang -Ursprüngliche Nachricht- Von: Fotis Paraskevopoulos [mailto:for...@existanze.com] Gesendet: Montag, 2

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

2009-08-24 Thread Arnaud HERITIER
A "quick" workaround can be to use maven 2.2.1 instead of 2.1.02.1.x have many issues. 2.2.1 will give you a better satisfaction On Mon, Aug 24, 2009 at 10:37 AM, Arnaud HERITIER wrote: > it seems to be a doxia incompabilityWe have to verify it. > Can you open an issue here please : > http://jir

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

2009-08-24 Thread Arnaud HERITIER
it seems to be a doxia incompabilityWe have to verify it. Can you open an issue here please : http://jira.codehaus.org/browse/MVERSIONS If you can also give us the result of "mvn help:effective-pom" in your module "MBS - utilities". You can remove all private information if needed. NOTE : this pl

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

2009-08-24 Thread subir.sasikumar
Hi, I tried to use this plugin to check the dependency version updates I might need for the project. I use Maven 2.1.0, on WinXP professional, and JDK 1.6.0 I got the following exceptions: E:\maven-work\main\bsm>mvn versions:dependency-updates-report [WARNING] Not decrypting password for server