Re: How to get the active profiles in a maven plugin

2007-04-14 Thread Gregory Kick
you could take a look at the source for the 'active-profiles' goal in the 'help' plugin... On 4/14/07, Lewandowski, Eric [EMAIL PROTECTED] wrote: Hi ! I have to write a Maven plugin and I need to access to the active profiles list. For example, if I execute the command line : mvn

Re: How to set the Eclipse Java Compiler property JDK Compliance using the eclipse plugin?

2007-04-14 Thread nicolas de loof
This requires http://jira.codehaus.org/browse/MECLIPSE-172 to be fixed. You can vote for it. 2007/4/13, Paul Spencer [EMAIL PROTECTED]: I have set the compiler version for the maven-compiler-plugin, but that does not seem to affect the eclipse plugin. plugin

Creating a target/lib with all project dependencies

2007-04-14 Thread Craig L Russell
I'm trying to have maven build a target/lib that contains all of the runtime dependencies of the project so I can use lib/*.jar as an ant classpath. Is there a plugin that I can use that packages the dependencies into target/lib? I know that some plugins package this as part of their

[ANN] Maven Enforcer Plugin 1.0-alpha-2

2007-04-14 Thread Brian Fox
This is a minor release with just one fix: Release Notes - Maven 2.x Enforcer Plugin - Version 1.0-alpha-2 ** Bug * [MENFORCER-1] - plugin fails on jdk 1.5 --The Maven Team. - To unsubscribe, e-mail: [EMAIL PROTECTED]

[M2] Eclipse plugin will not generate project descriptor for RAR artifacts?

2007-04-14 Thread J.Peschier
Part of a multimodule build, I have a RAR-module which builds fine outside Eclipse using Maven 2.0.5. However, when the maven-eclipse-plugin is run to create Eclipse project descriptors, the project for the RAR-module only contains project references. The Java nature is not set and neither is the

Re: Creating a target/lib with all project dependencies

2007-04-14 Thread Napoleon Esmundo Ramirez
Hello Craig, You can use the maven-dependency-plugin's copy/copy-dependencies goals for that. But if you just need the classpath, try `mvn dependency:build-classpath'. Please read here http://maven.apache.org/plugins/maven-dependency-plugin Cheers! Nap On 4/14/07, Craig L Russell [EMAIL

Problem getting offline to work in settings.xml

2007-04-14 Thread eirik . lygre
Hi, I'm having trouble getting offline to work inside settings.xml, using maven 2.0.6 on Windows: 1) First, to verify stuff, using mvn help:effective-settings yields this (expected) result: ?xml version=1.0 encoding=UTF-8?settings localRepositoryC:\Documents and Settings\Eirik

Problems with Maven, Hibernate and Spring

2007-04-14 Thread Colin Young
I'm building a project that uses Spring and Hibernate with Maven. So far I've been able to get a jar of just my project or a jar of everything with dependencies (using assembly:assembly). Unfortunately, when I do the with dependencies build, I'm getting errors from Spring trying to find the

Re: Release Notes generation

2007-04-14 Thread Pankaj Tandon
Thanks Dennis, That was really helpful. However, is there a report plugin that produces release notes as against a change log. Actually, I've seen the report such a plugin produces on the site of one of the maven projects (maybe one of the plugins). I just can't seem to find it now. The report

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-14 Thread Mark Donszelmann
Hi On Apr 13, 2007, at 2:00 PM, Christian Goetze wrote: On 4/13/07, Mark Donszelmann [EMAIL PROTECTED] wrote: Hi Christian, you may have a look at http://java.freehep.org/freehep-nar-plugin it does quite a bit of what you suggest, though it is not perfect. That is pretty neat - but the

Re: Parent-only plugin: is it possible?

2007-04-14 Thread GreJ
Perhaps you have errors in your annotations. You can also try to configure the inheritance in the pom.xml to do this, simply use the : inheritedfalse/inherited in the plugin configuration. -- View this message in context:

Re: Parent-only plugin: is it possible?

2007-04-14 Thread Rodrigo Madera
Thank you for your reply. Just for the record, I solved the problem yesterday. It was an error in my configuration indeed, however I don't know exactly where the error was, since I just modified the configuration in various places and it worked fine. Thank you, Rodrigo Madera On 4/14/07, GreJ

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-14 Thread Eric Redmond
On 4/14/07, Mark Donszelmann [EMAIL PROTECTED] wrote: Hi On Apr 13, 2007, at 2:00 PM, Christian Goetze wrote: On 4/13/07, Mark Donszelmann [EMAIL PROTECTED] wrote: Hi Christian, you may have a look at http://java.freehep.org/freehep-nar-plugin it does quite a bit of what you suggest,

Re: Release Notes generation

2007-04-14 Thread Dennis Lundberg
That'd be the maven-changes-plugin then: http://maven.apache.org/plugins/maven-changes-plugin/ Pankaj Tandon wrote: Thanks Dennis, That was really helpful. However, is there a report plugin that produces release notes as against a change log. Actually, I've seen the report such a plugin

Build (multiple) project within eclipse problem

2007-04-14 Thread newbie_tw
I am a newbie user to maven and learn how to get it work in eclipse WTP. The example I found is from IBM developer works: http://www-128.ibm.com/developerworks/edu/j-dw-java-mavenv2.html My problem is - I can not build and package maven project successfully in Eclipse, whilst everything works

Re: [ANN] Maven Dependency Plugin 2.0-alpha-4 Released

2007-04-14 Thread Mykel Alvis
This doesn't work for me. I've deleted the cache in proximity, which I assumed was the initial problem and when I do mvn dependency:analyze -Dplugin= org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4 it still resolves to 2.0-alpha-1. What am I doing wrong here? On 4/1/07, Wayne

Re: [ANN] Maven Dependency Plugin 2.0-alpha-4 Released

2007-04-14 Thread Mykel Alvis
Never mind. Answered that myself. My silly parent pom has a version identifier in it :( On 4/14/07, Mykel Alvis [EMAIL PROTECTED] wrote: This doesn't work for me. I've deleted the cache in proximity, which I assumed was the initial problem and when I do mvn dependency:analyze

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-14 Thread Mark Donszelmann
Hi agreed AOL is a classifier. The question is not if it is or not. The question is what the range of this classifier should be to handle ALL the areas of native code, and what their compatibility range should be. Regards Mark On Apr 14, 2007, at 11:15 AM, Eric Redmond wrote: On 4/14/07,

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-14 Thread Eric Redmond
On 4/14/07, Mark Donszelmann [EMAIL PROTECTED] wrote: Hi agreed AOL is a classifier. The question is not if it is or not. The question is what the range of this classifier should be to handle ALL the areas of native code, and what their compatibility range should be. I see. This is an

Re: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-14 Thread Mark Hewett
On 4/11/07, John Casey [EMAIL PROTECTED] wrote: snip I'm sure many people have hit this plugin-versioning problem before... snip The first time this has really bit me in the rear is when the assembly plugin 2.2-beta-1 hit central, and my formerly working assembly went all to hell. Almost like