towards continuum 1.1 alpha 2

2007-05-13 Thread Jesse McConnell
May 21 is fast approaching and that when I want to get the alpha-2 release of continuum out. The advances we have made since alpha-1 are mostly in the area of a few more bug fixes, redback integration and shifting off of the plexus-security-rbac-profile artifact for role management to the

Maven 2.1 wish list page on MAVENUSER

2007-05-13 Thread Rahul Thakur
I think MavenUser wiki is a good place to gather ideas for Maven 2.1 rather than IRC (always a possibility that some items fall thru the cracks). I have, therefore, added a page here for users to chip in their wish list ideas for Maven 2.1:

Re: [REPOST] Any idea when a new Cobertura plugin will be released - Specifically one that fixes the 100% Coverage in 2.1 (MCOBERTURA-61)?

2007-05-13 Thread Stephane Nicoll
Someone should release cobertura 1.8.1 first because this problem is related to a bug in cobertura itself. I'm trying to reach one of those guys. Stéphane On 5/11/07, Paul Spencer [EMAIL PROTECTED] wrote: Any idea when a new Cobertura plugin will be released - Specifically one that fixes the

Re: Maven uninstall - resinstall

2007-05-13 Thread Nick Stolwijk
Could you give the output of your command with the -X switch turned on. Maybe that can explain what is going wrong. Nick Stolwijk Martin Ravell wrote: I've just installed java and maven on a different machine. It's on the same network as the machine which does not but maven on this new

[m2] Configuring mojo parameters

2007-05-13 Thread Adrian Herscu
Hi all, I am building a M2 plugin to handle my special artifacts. For this purpose I have defined a custom lifecycle and bound my mojos and additional mojos to it. One of the additional mojos is the maven-dependencies-plugin:unpack-dependencies. This mojo has an outputDirectory parameter

Plugin Dev: Access to command-line parameter

2007-05-13 Thread Martin Bengl
Hello folks, how can I access the maven2 command line arguments (like options or goals) inside a mojo? I have to check for the offline option -o, need access to the given goals and to the settings.xml path if it is overwritten. thanks and greetings martin

Problems with loading non-Java resources from classpath in JUnit tests

2007-05-13 Thread Rossmanith, Philipp
Hi, I have a component that is loading resources/files from the classpath and for which I have written a JUnit test. However, when I run the tests with Maven from the command line, they fail - obviously due to some classpath problems.*) My assumption was that target/test-classes would form part

[m2] how to call a mojo from other mojo

2007-05-13 Thread Adrian Herscu
Hi all, After digging an hour in the documentation and sources I have no example of calling other mojos from an ANT-based mojo. Is it possible? How? Adrian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [m2] how to call a mojo from other mojo

2007-05-13 Thread Jochen Wiedmann
On 5/13/07, Adrian Herscu [EMAIL PROTECTED] wrote: After digging an hour in the documentation and sources I have no example of calling other mojos from an ANT-based mojo. Is it possible? How? I have recently developed a subclass of the war plugin. It is duplicating the war plugins fields

Norton Internet Security Maven 2

2007-05-13 Thread David J. Graff
Alright after a number of misses trying to make this work I finally went really low level and figured out what was going on. I kept getting an exception downloading information from the repository when starting a new pom.xml. After executing the definition of insanity (repeating same process and

Re: String substitution in resource filtering

2007-05-13 Thread Wayne Fay
If you seriously are interested in this, you'll need to file a JIRA Enhancement Request against the Maven project. Otherwise, there's a 99% chance this request will fall through the cracks. (And even if you do file it, there's no telling if someone will pick it up and decide to implement it.)

Re: Norton Internet Security Maven 2

2007-05-13 Thread Jo Vandermeeren
I assume that you want to allow http access for specific processes only? Turn off your firewall, do your maven thing that needs remote repository access, check what the name of the maven process is and add it to you firewall's whitelist for port 80.. Or if you are less paranoid, you could just

Re: String substitution in resource filtering

2007-05-13 Thread Jo Vandermeeren
Yeah.. resource filtering could be more useful in lots of ways.. But until then, you could easily write your own mojo to do this and bind it to the desired phase. Cheers Jo On 5/13/07, Wayne Fay [EMAIL PROTECTED] wrote: If you seriously are interested in this, you'll need to file a JIRA

NoClassDefFoundError when running test

2007-05-13 Thread Daniel del Castillo
Hi, I'm using Maven 2.0.4 and I'm having a problem when running the test goal. The surefire reports say that a class (com.sinergiainc.aliasfox.commons.cache.CacheFactory) of the component I'm testing is missing. The exact report is: Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time

Re: addClasspath does not add the classpath to Manifest

2007-05-13 Thread Wayne Fay
Not sure what to tell you, Tom. Here's my results with the same config; it works for me. Manifest.mf file: Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: WFay Build-Jdk: 1.5.0_06 Class-Path: jaxme-api-0.3.jar saxon-6.5.3.jar log4j-1.2.12.jar jaxp-ap

Re: NoClassDefFoundError when running test

2007-05-13 Thread Jo Vandermeeren
Hi Daniel, Add the artifact that contains the respective class to your project with the correct scope, i.c. test. Good luck Jo On 5/13/07, Daniel del Castillo [EMAIL PROTECTED] wrote: Hi, I'm using Maven 2.0.4 and I'm having a problem when running the test goal. The surefire reports say

Re: addClasspath does not add the classpath to Manifest

2007-05-13 Thread Jo Vandermeeren
Hi Tom, Only dependencies with scope runtime are added to the classpath. Cheers Jo On 5/11/07, Tom Lambrechts [EMAIL PROTECTED] wrote: When enabling addClasspath the manifest does not contain classpath. Neither for runtime or compile scope: Main class and other parameters do work. Manifest:

Re: Norton Internet Security Maven 2

2007-05-13 Thread David J. Graff
I'll attempt to try that ... I'm just not sure if it is going to cover .cmd/.bat files or not. As far as I know though the java process is unrestricted Jo Vandermeeren wrote: I assume that you want to allow http access for specific processes only? Turn off your firewall, do your maven thing

Re: Fresh install problem

2007-05-13 Thread Jo Vandermeeren
Hi Martin, Maven has no install procedure.. It is just the exploded archive. When you run maven for the first time, it create a .m2 directory in your user home dir. This directory contains a local repository (as soon as you have downloaded dependencies). You can create a settings.xml file in

Re: Error on changelog and subversion

2007-05-13 Thread Dennis Lundberg
Todd Nine wrote: I'm receiving the following errors when I try to perform the site:site target and generate a changelog. I've tried deleting this from the directory then pulling the code down from svn and it does not seem to help. I only get this on a single sub project. Any ideas? [INFO]

Re: NoClassDefFoundError when running test

2007-05-13 Thread Daniel del Castillo
Hi Jo, Thanks for support. The artifact is the project itself. If I add it to the dependencies I get an error of cyclic redundancy: [INFO] Scanning for projects... [INFO] [ERROR] BUILD FAILURE [INFO]

Re: [m2] how to call a mojo from other mojo

2007-05-13 Thread Adrian Herscu
How is this related to my problem? Jochen Wiedmann wrote: On 5/13/07, Adrian Herscu [EMAIL PROTECTED] wrote: After digging an hour in the documentation and sources I have no example of calling other mojos from an ANT-based mojo. Is it possible? How? I have recently developed a subclass of

Re: [m2] how to call a mojo from other mojo

2007-05-13 Thread Wendy Smoak
On 5/13/07, Adrian Herscu [EMAIL PROTECTED] wrote: How is this related to my problem? You'll probably get more useful responses if you describe the problem you're trying to solve, rather than the solution you're having trouble implementing. -- Wendy

Re: Fresh install problem

2007-05-13 Thread David J. Graff
This is the exact same problem I was having If you have Norton Internet Security installed, disable the firewall for 15 minutes ... attempt your operation again. For some reason firewall is blocking any attempt to make this connection silently Jo Vandermeeren wrote: Hi Martin, Maven has no

Re: Problems with loading non-Java resources from classpath in JUnit tests

2007-05-13 Thread Wayne Fay
Where is your resource file located in your source code tree? It should be under src/main/resources. I will assume it is under src/main/java -- that's your problem. Wayne On 5/13/07, Rossmanith, Philipp [EMAIL PROTECTED] wrote: Hi, I have a component that is loading resources/files from the

Re: Fresh install problem

2007-05-13 Thread David J. Graff
Ok ran another check on this. Go into the firewall settings and just set java.exe to allow ... seems to clear the problem up immediately ... unfortunately I do not know what this opens up ... I will have to check with Symantec/Norton on this. --D David J. Graff wrote: This is the exact same

Re: Maven 2.1 wish list page on MAVENUSER

2007-05-13 Thread Brett Porter
Cool. I'm wondering though - probably the better value is to send mail to dev@ and justify inclusion. Otherwise, this seems like it will end up duplicating the actual proposals or getting overlooked. For specific JIRAs we should be using the voting mechanism (something we keep agreeing on but