Re: towards continuum 1.1 alpha 2

2007-05-14 Thread Trygve Laugstøl
Jesse McConnell wrote: 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

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

2007-05-14 Thread Adrian Herscu
Hi Wendy, I have described my problem in a previous post ([m2] Configuring mojo parameters), but got not replies still :-( Basically, it is one mojo implemented in ANT which needs to get the work of other mojo before (maven-dependency-plugin:unpack-dependencies). I can see to ways: 1) call

Flushing the SCM password cache for Maven-SCM

2007-05-14 Thread William Ferguson
Where does maven-SCM cache my Subversion password and how can I get it to flush the cache? I have been having a little bit of trouble tagging using the release plugin. It fails with authorization problems, and has only been happening since my SVN paswword changed. The first time I used the SVN

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-14 Thread hochraldo
Hi Paul! I took the source code from the cobertura subversion repository where this is bug is already patched and made a new jar archive which can be downloaded from : http://www.softonaut.com/2007/05/12/maven-cobertura-plugin-version-21-and-the-100-line-and-branch-coverage-problem/ Until

RE: Flushing the SCM password cache for Maven-SCM

2007-05-14 Thread Jörg Schaible
Hi William, William Ferguson wrote on Monday, May 14, 2007 6:43 AM: Where does maven-SCM cache my Subversion password and how can I get it to flush the cache? I have been having a little bit of trouble tagging using the release plugin. It fails with authorization problems, and has only

How to excludes some classes when deploy jar via jar plugin?

2007-05-14 Thread sam
HI ,My friends: I used maven-jar-plugin for deploy a jar in the project,but I want to exclude some clasaes file out of the jar,is there somebody knows how to do it?Thanks advance.

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

2007-05-14 Thread Rossmanith, Philipp
Hi, My resource file (the properties file I am trying to load) is located under {root}src\test\resources. Compiling with Maven puts it under {root}\target\test-classes, along with the Java class files for the unit tests. I also tried to run the tests with the properties-file placed in

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

2007-05-14 Thread Jörg Schaible
What is the content of filePath1 ? Rossmanith, Philipp wrote on Monday, May 14, 2007 10:00 AM: Hi, My resource file (the properties file I am trying to load) is located under {root}src\test\resources. Compiling with Maven puts it under {root}\target\test-classes, along with the Java class

Re: how to run svn propset from maven ?

2007-05-14 Thread nicolas de loof
I've found various projects that use a .svnignore file, that is set to svn:ignore property using the -F option. I'll try to use the mojo exec plugin to execute it. 2007/5/11, Trevor Spackman [EMAIL PROTECTED]: This is probably off-topic for this particular forum, but all you should have to do

Re: Dependency not getting resolved

2007-05-14 Thread zalym
Thanks Maria, Found out the issue. It was because I had attached the source plugin to the pom, and the jar contained only java files and no class files. When I removed the source plugin from the build cycle, it worked, as it should. My other question is: How do I deploy sources to the repo as

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

2007-05-14 Thread Rossmanith, Philipp
What is the content of filePath1 ? It's a string containing the name of the properties file... (It is working in Eclipse, so I can exclude a typo or similar as the cause of the error.) Ciao, Philipp -Mensaje original- De: Jörg Schaible [mailto:[EMAIL PROTECTED] Enviado el: lunes,

[surefire] 2.4-SNAPSHOT broken with java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException

2007-05-14 Thread Wim Deblauwe
Hi, I just updated my surefire 2.4-SNAPSHOT plugin, but now I cannot build anymore. I get a NoClassDefFoundError: org/apache/maven/surefire/util/NestedRuntimeException. This is the console output with the -e option: mvn -e clean test [INFO] [surefire:test] [INFO] Surefire report directory:

Re: Maven 2.1 wish list page on MAVENUSER

2007-05-14 Thread Rahul Thakur
Sure, whatever captures and keeps the discussion consolidated in one place. My email client is handicapped for need of threaded email conversations feature. Rahul - Original Message - From: Brett Porter [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Monday,

Re: how to run svn propset from maven ?

2007-05-14 Thread nicolas de loof
I finally used the tigris svnant package and the antrun plugin. Seems to work (more testing required). 2007/5/14, nicolas de loof [EMAIL PROTECTED]: I've found various projects that use a .svnignore file, that is set to svn:ignore property using the -F option. I'll try to use the mojo exec

Re: Eclipse RCP/PDE building and Maven

2007-05-14 Thread Jason van Zyl
On 5 May 07, at 6:28 PM 5 May 07, Carlos Sanchez wrote: I think we need an Eclipse section in the wiki and put all the pages under that Also another thing I wanted to do is cleanup the maven eclipse plugin, deprecate all OSGi stuff in favor of the Felix bundle plugin, I don't know about

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

2007-05-14 Thread Rossmanith, Philipp
FYI: the problem was that I executed my requests against the wrong class loader. Having changed the code from InputStream iStr = ClassLoader .getSystemResourceAsStream(this.filePath1); ... to... InputStream iStr = {class name}.class.getClassLoader()

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-14 Thread Brett Porter
My intention is to vote to remove 2.1 from the list of versions in the repository - so if you specifically request it, you can still get it, but the default is to get 2.0. I'd highly recommend putting the explicit version in your POM. - Brett On 13/05/07, hochraldo [EMAIL PROTECTED] wrote:

Problems finding custom archetype...

2007-05-14 Thread Arne Styve
Hi, I've tried to build my own archetype to use when new projects are to be created here at our company. I've followed the recepie at http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html, and my new archetype works fine when running it from the same machine as it was

maven eclipse

2007-05-14 Thread alexsil
Hi all, -- View this message in context: http://www.nabble.com/maven-eclipse-tf3752076s177.html#a10602868 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: maven eclipse

2007-05-14 Thread Antonio Petrelli
2007/5/14, alexsil [EMAIL PROTECTED]: Hi all, Hi! Wazzup? :-)

maven eclipse

2007-05-14 Thread alexsil
Hi all, I've a dynamic web project with several dependency. By of mvn eclipse:clean eclipse:eclipse I generate the eclipse settings (with compatibility for WTP 1.5.4 in Eclispe 3.22) Then I import the result in a new workspace , create a new server (Tomcat 5.5.20). Associate web project to new

Re: Problems finding custom archetype...

2007-05-14 Thread Wendy Smoak
On 5/14/07, Arne Styve [EMAIL PROTECTED] wrote: I then deploy the artifact to our company repository (snapshot). When I now try to create a new project on a different PC, using the newly created archetype, Maven is not able to find the archetype. I have included the pluginRepositories-tag in

maven-install-plugin = Cannot override read-only parameter

2007-05-14 Thread gc134728
Dear maven-users, I have a problem and have absolutely no idea why this occurs. I added a configuration of the maven-install-plugin to my pom.xml. When i add this configuration i get the error : Error configuring: org.apache.maven.plugins:maven-install-plugin. Reason: ERROR: Cannot override

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-14 Thread Paul Spencer
All, Thanks for the updates. I will continue to use version 2.0 of the plugin until the next version of Cobretura and the plugin are released. Paul Spencer Brett Porter wrote: My intention is to vote to remove 2.1 from the list of versions in the repository - so if you specifically request

SV: Problems finding custom archetype...

2007-05-14 Thread Arne Styve
Hi Wendy, I then deploy the artifact to our company repository (snapshot). When I now try to create a new project on a different PC, using the newly created archetype, Maven is not able to find the archetype. I have included the pluginRepositories-tag in my settings.xml file, and I am

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

2007-05-14 Thread Wayne Fay
John Casey sent this method a while ago that might be useful: private File getFile( String resourceName ) { ClassLoader cloader = Thread.currentThread().getContextClassLoader(); URL resource = cloader.getResource( resourceName ); if ( resource == null ) { throw new

Re: maven eclipse

2007-05-14 Thread Wayne Fay
1. You need to provide A LOT more details if you expect anyone to be able to help you. 2. I'm not sure why you're asking the Maven Users rather than the Eclipse Users or WTP Users lists. They seem more appropriate for this question. Wayne On 5/14/07, alexsil [EMAIL PROTECTED] wrote: Hi all,

Re: maven eclipse

2007-05-14 Thread alexsil
Hi Wayne , I post my question here because I suppose that maven by eclipse plugin make a mistake during generation of eclipse settings. In fact if I create a new dynamic project from Eclipse all run ok. However you have right, may be better post a question in Eclipse user, understand what produce

Re: maven eclipse

2007-05-14 Thread Arnaud HERITIER
You have to use the 2.4-SNAPSHOT version of the eclipse plugin. We fixed a lot of bugs for WTP support Arnaud On 14/05/07, alexsil [EMAIL PROTECTED] wrote: Hi Wayne , I post my question here because I suppose that maven by eclipse plugin make a mistake during generation of eclipse settings.

Re: maven eclipse

2007-05-14 Thread alexsil
Hi Arnaud it's a good idea. In this way I can understand if this is an eclipse problem or maven problem. Alex Arnaud HERITIER wrote: You have to use the 2.4-SNAPSHOT version of the eclipse plugin. We fixed a lot of bugs for WTP support Arnaud On 14/05/07, alexsil [EMAIL PROTECTED]

Re: Problems finding custom archetype...

2007-05-14 Thread Wendy Smoak
On 5/14/07, Arne Styve [EMAIL PROTECTED] wrote: I've tried this too, but still it will not work. When I chekout the archetype project (that is used to create the archetype), and do a mvn install, then creating a new project using the new archetype works fine on this PC too. Please post

Re: maven eclipse

2007-05-14 Thread Wayne Fay
That would certainly be my approach. All the Maven Eclipse plugin does is generate the metadata file -- the actual deployment of your files is Eclipse or WTP's responsibility. So first make sure this is actually Maven's problem and then come back. ;-) Wayne On 5/14/07, alexsil [EMAIL PROTECTED]

Re: towards continuum 1.1 alpha 2

2007-05-14 Thread Emmanuel Venisse
Trygve Laugstøl a écrit : Jesse McConnell wrote: 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

SV: Problems finding custom archetype...

2007-05-14 Thread Arne Styve
Hi Wendy, Her is the command and the resulting output. Would be greate if you are able to spot the error: C:\tmpmvn archetype:create \ -DgroupId=no.offsimcentre \ -DartifactId=testing \ -DarchetypeGroupId=no.offsimcentre \ -DarchetypeArtifactId=osc-archetype-simple \

Re: [m2] Generating release POMs

2007-05-14 Thread Mark Hobson
On 16/01/07, Mark Hobson [EMAIL PROTECTED] wrote: On 15/01/07, Gabriele Contini [EMAIL PROTECTED] wrote: Some time ago i opened a jira issue about this missing feature: http://jira.codehaus.org/browse/MRELEASE-177 Since this is a key feature for our company (we heavily use version ranges

Re: Problems finding custom archetype...

2007-05-14 Thread Wendy Smoak
On 5/14/07, Arne Styve [EMAIL PROTECTED] wrote: Hi Wendy, Her is the command and the resulting output. Would be greate if you are able to spot the error: ... [INFO] Failed to resolve artifact. GroupId: no.offsimcentre ArtifactId: osc-archetype-simple Version: 1.0-SNAPSHOT Reason: Unable to

Re: Eclipse RCP/PDE building and Maven

2007-05-14 Thread Carlos Sanchez
On 5/14/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 5 May 07, at 6:28 PM 5 May 07, Carlos Sanchez wrote: I think we need an Eclipse section in the wiki and put all the pages under that Also another thing I wanted to do is cleanup the maven eclipse plugin, deprecate all OSGi stuff in

RE: test failures

2007-05-14 Thread dohadwala_moiz
Hello, I am still blocked, does anyone have any more ideas on this? I am running with the latest version of maven 2.0.6. Thanks, -Moiz -Original Message- From: dohadwala, moiz Sent: Saturday, May 12, 2007 8:58 AM To: dohadwala, moiz; Maven Users List Subject: RE: test failures

RE: org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin

2007-05-14 Thread Brian E. Fox
The metadata at codehaus was cleaned up back when the plugin was rereleased from apache. Somewhere in your system/proxies, there is an old piece of the metadata. If you clean out /org/codehaus/mojo/maven-metadata.*, you should be ok. I recognize this is not ideal. This behavior is fixed in 2.0.7

Re: RE: test failures

2007-05-14 Thread Thorsten Heit
Hi, I am still blocked, does anyone have any more ideas on this? I am running with the latest version of maven 2.0.6. The last time I used the surefire plugin for JUnit tests, it created a text and a XML file for each executed test somewhere in the ./target subdirectory. The text files

Re: RE: test failures

2007-05-14 Thread Seth Mason
Just to clarify, the txt and xml report files are written out to ./target/surefire-reports/. SETH On 5/14/07, Thorsten Heit [EMAIL PROTECTED] wrote: Hi, I am still blocked, does anyone have any more ideas on this? I am running with the latest version of maven 2.0.6. The last time I used

Which version for testng 5.5?

2007-05-14 Thread Marziou, Gael
Hello, I saw that surefire-testng 2.3 depends on testng 5.1, I tried testng 5.5 and it fails. Which version of surefire will be compatible with 5.5? Thanks, Gael

Provided scope not appearing in classpath

2007-05-14 Thread lightbulb432
Am I right to assume that the provided dependency scope should appear in my .classpath file when I run an eclipse:eclipse, but it should not appear in the generated WAR when I run a package/install/deploy? Right now it's not appearing in my .classpath, which seems wrong... Thanks. -- View this

classpath clarification

2007-05-14 Thread Monty Zukowski
I've got my own plugin for my own test framework but don't seem to be getting my test classes in the classpath when running the plugin. For instance: plugin groupIdcom.temboo.arcturus.maven_testsuite_plugin/groupId artifactIdarcturus-maven-testsuite-plugin/artifactId

Re: classpath clarification

2007-05-14 Thread Wayne Fay
You need to tag your mojo with: @requiresDependencyResolution test Read more here: http://maven.apache.org/developers/mojo-api-specification.html Wayne On 5/14/07, Monty Zukowski [EMAIL PROTECTED] wrote: I've got my own plugin for my own test framework but don't seem to be getting my test

Anyone tried using cargo with weblogic 9.2

2007-05-14 Thread DavidWilliams
Just curious if anyone has tried using the maven cargo plugin with weblogic 9.2? In my case I need to copy an ear to a different server and deploy it. I know my only option is a hot deploy. Any feedback would be appreciated. Thanks, David Williams Software Configuration Engineer

RAR plug-in usage

2007-05-14 Thread Alexander Sack
Real quick, I'm building a RAR but I can't seem to get the plugin to include my jar that contains the implementation. Does the RAR plugin configuration go into the same POM as my JAR pom file or as a separate file like building an EAR or WAR? i.e. I have project connector pom (jar)

Re: Anyone tried using cargo with weblogic 9.2

2007-05-14 Thread Wayne Fay
You'll probably have a better response to this question on the Cargo Users list. Wayne On 5/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just curious if anyone has tried using the maven cargo plugin with weblogic 9.2? In my case I need to copy an ear to a different server and deploy it.

Re: Maven 2.1 wish list page on MAVENUSER

2007-05-14 Thread Wayne Fay
You should use the standard Gmail interface on the Web -- it threads emails very nicely. ;-) Wayne On 5/14/07, Rahul Thakur [EMAIL PROTECTED] wrote: Sure, whatever captures and keeps the discussion consolidated in one place. My email client is handicapped for need of threaded email

Re: classpath clarification

2007-05-14 Thread Monty Zukowski
From: Wayne Fay [EMAIL PROTECTED] You need to tag your mojo with: @requiresDependencyResolution test Read more here: http://maven.apache.org/developers/mojo-api-specification.html That didn't seem to help: /** * @goal testsuite * @description Will run a testsuite *

Re: NoClassDefFoundError when running test

2007-05-14 Thread James Abley
Does that class or something it depends on have the possibility of failing in a static initializer? A NoClassDefFoundError frequently masks the underlying cause, due to the way the JVM loads classes. Something might be throwing a NullPointerException with a more obvious error message, but the

RE: Parent POM and basedir

2007-05-14 Thread Brian E. Fox
Can PMD find things on the classpath the way Checkstyle can? In that case, deploy a jar with your rules, and add it as a build extension so it's available on the classpath. Yes it can. Although the preferred method is to make it a dependency of the PMD plugin. Extensions work, but it's

Re: NoClassDefFoundError when running test

2007-05-14 Thread Daniel del Castillo
James, Thanks for the hint. The problem was a misspelt class name in a resource file that was causing an exception in the initializer of the CacheFactory. Regards, Daniel del Castillo -- -DdC On 5/14/07, James Abley [EMAIL PROTECTED] wrote: Does that class or something it depends on have the

Massive delay at end of large maven build

2007-05-14 Thread J. Matthew Pryor
At the very end of my build (maven 2.0.5 on Mac OSX) I get a several minute delay after the final banner but before the mvn command returns to the prompt. This delay is associated with an huge amount of disk activity, but I have no idea what is going on. [INFO]

Resources are not filtered

2007-05-14 Thread Daniel del Castillo
Hello again, When I build my project the resources files stay the same, no filtering is performed. My pom file is as follow: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Resources are not filtered

2007-05-14 Thread Wendy Smoak
On 5/14/07, Daniel del Castillo [EMAIL PROTECTED] wrote: Hello again, When I build my project the resources files stay the same, no filtering is performed. My pom file is as follow: ... resources resource directorysrc/test/resources/directory filteringtrue/filtering

Assembly problem

2007-05-14 Thread Ivens Porto
Hello, i´m trying to build an assembly for my project but I´m getting an error I have no clue about. This is the error: [INFO] [assembly:assembly] [INFO] Reading assembly descriptor: