Re: Keeping the executable bit on shell scripts when testing

2011-01-27 Thread Oliver Schrenk
No. That works fine. Its the application logic that get's in the way. Maybe I find a workaround using `sh` but it'll be a few days I have time to work on it again. Thanks. Best regards Oliver PS Throwing a crazy idea out there: Java7 rewrite for Maven using JSR203 accessing POSIX file permiss

Re: maven-plugin-testing-harness with Maven 3

2011-01-27 Thread Olivier Lamy
yup use a profile section (as for the site plugin) 2011/1/27 oliver : > but then I have the problem that it does not work with Maven-2. One of our > build server uses Maven-3 and the other Maven-2. I guess this can be handled > by a profile section. Or is there another (better) way to do this? >

Re: maven-plugin-testing-harness with Maven 3

2011-01-27 Thread oliver
but then I have the problem that it does not work with Maven-2. One of our build server uses Maven-3 and the other Maven-2. I guess this can be handled by a profile section. Or is there another (better) way to do this? regards, Oliver Am 27.01.2011 um 22:41 schrieb Olivier Lamy: > Hello, > Wi

Re: maven-plugin-testing-harness with Maven 3

2011-01-27 Thread Olivier Lamy
Hello, With maven3, you have to use org.apache.maven.plugin-testing maven-plugin-testing-harness 2.0-alpha-1 test 2011/1/27 oliver : > Hi, > > I'm working at a Maven plugin for OOo which uses > maven-plugin-testing-harness-1.2 for testing. With Maven-2 it work

maven-plugin-testing-harness with Maven 3

2011-01-27 Thread oliver
Hi, I'm working at a Maven plugin for OOo which uses maven-plugin-testing-harness-1.2 for testing. With Maven-2 it works fine but with Maven-3 I'll get a java.lang.IllegalAccessError: tried to access field org.codehaus.plexus.PlexusTestCase.container from class org.apache.maven.plugin.testing

Re: Why is Maven allowing cycles?

2011-01-27 Thread Ron Wheeler
On 27/01/2011 10:11 AM, Phillip Hellewell wrote: Doesn't anyone know if Maven is supposed to give you an error when there is a cycle? If the answer is yes, then I need to figure out what I'm missing. If the answer is no, then I'll write a plugin to detect cycles and give an error. I've already

Re: @parameter alias does not seem to work

2011-01-27 Thread cowwoc
cowwoc wrote: > > Hi, > > Did I misunderstand how @parameter alias is supposed to work, or is this a > legitimate bug? > > My plugin contains: > > /** >* The environment variables. >* >* @parameter alias="environment" >* @required >*/ > @Sup

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-27 Thread Evgeny Goldin
But it can be perfectly changed in Maven 2 and I use it a lot. It's just that in Maven 3 the expression doesn't reflect the change out of sudden. - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context: http://maven.40175.n5.nabble.com/Variables-interpolation-dyna

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-27 Thread lukewpatterson
I seem to remember it always being static. I remember trying that scenario in Maven 2 and it always remained the same as what was present in help:effective-pom. i.e. if it shows up in effective-pom, your plugin can't change it -- View this message in context: http://maven.40175.n5.nabble.com/V

Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-27 Thread Evgeny Goldin
Hi, I see a different behavior in Maven 2.2.1 and Maven 3.0.2. Suppose I have dir Later, it is used in expression to configure some plugin: pl-290-4/${propertyDir}/1 ... *Before* this configuration is running, yet another plugin overrides ${propertyDir} to another value by cal

@parameter alias does not seem to work

2011-01-27 Thread cowwoc
Hi, Did I misunderstand how @parameter alias is supposed to work, or is this a legitimate bug? My plugin contains: /** * The environment variables. * * @parameter alias="environment" * @required */ @SuppressWarnings("UWF_UNWRITTEN_FIE

Best Practices: Deploying large releases into Maven Central

2011-01-27 Thread cowwoc
Hi, Do artifacts ever expire on the Maven Central Repository? Is there a size limit to how big each artifact can be? I ask because some artifacts can get very big and I am concerned that this may cause problems down the line. I'll give you a simple example. My library depends on the Boost C++ li

RE: Keeping the executable bit on shell scripts when testing

2011-01-27 Thread Haszlakiewicz, Eric
>-Original Message- >From: Oliver Schrenk [mailto:oliver.schr...@gmail.com] > >It's a good idea but not suitable for my case. If I'm calling sh, the real >script would be an argument.In my case this would break the test cases for >my command line argument validation tool. cat > aa.sh < chm

Nexus settings.xml best practice

2011-01-27 Thread David Hoffer
What's the best way to configure Nexus to override the default 'central' repository and pluginRepository when I want this to be configured via a 'nexus' profile in settings.xml so I can have multiple profiles...each pointing to a different maven proxy, i.e. nexus, artifactory, etc. The online docs

Re: A Maven archetype that helps packaging Solr as a standalone application embedded in Apache Tomcat

2011-01-27 Thread Simone Tripodi
Hi Paul, sorry I'm late but I've been in the middle of a conf call :( On which IRC server the #solr channel is? I'll reach you ASAP. Thanks a lot! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Thu, Jan 27, 2011 at 4:00 PM, Paul Libbrecht wrote: > > Le 27 janv. 2011 à

Re: Why is Maven allowing cycles?

2011-01-27 Thread Phillip Hellewell
Doesn't anyone know if Maven is supposed to give you an error when there is a cycle? If the answer is yes, then I need to figure out what I'm missing. If the answer is no, then I'll write a plugin to detect cycles and give an error. I've already got a plugin that detects a version clash (same ar

Re: A Maven archetype that helps packaging Solr as a standalone application embedded in Apache Tomcat

2011-01-27 Thread Paul Libbrecht
Le 27 janv. 2011 à 12:42, Simone Tripodi a écrit : > thanks a lot for your feedbacks, much more than appreciated! :) One more anomaly I find: the license is in the output of the pom.xml. I think this should not be the case. *my* license should be there, not the license of the archetype. Or? paul

Re: A Maven archetype that helps packaging Solr as a standalone application embedded in Apache Tomcat

2011-01-27 Thread Paul Libbrecht
Le 27 janv. 2011 à 12:42, Simone Tripodi a écrit : > thanks a lot for your feedbacks, much more than appreciated! :) Good time sync. I need it right now. > * Yes it also packs a Solr webepp, it is needed to embed it in > Tomcat. Do you think it could be a useful feature having also webapp > .war

maven-archiver merge policy on manifest file

2011-01-27 Thread Julien CARSIQUE
Hello, The maven-archiver documentation says: << The content of your own manifest file will be merged with the entries generated by Maven Archiver. If you specify an entry in your own manifest file it will override the value generated by Maven Archiver. >> In our case, we need the entries in ou

Re: A Maven archetype that helps packaging Solr as a standalone application embedded in Apache Tomcat

2011-01-27 Thread Simone Tripodi
Hi Paul, thanks a lot for your feedbacks, much more than appreciated! :) Going through your comments: * Yes it also packs a Solr webepp, it is needed to embed it in Tomcat. Do you think it could be a useful feature having also webapp .war as output? if it helps, I'm open to add it as well. * s

Re: maven-release-plugin

2011-01-27 Thread milewc
Thanks for your helpful answer! The solution works fine: REM Dependency-Snapshot-Versions are replaced by the corresponding release version (e.g. 0.4.0-SNAPSHOT --> 0.4.0) call mvn versions:use-releases call svn commit REM Release Prepare and install to local repository call mvn -B release:pre