MASSEMBLY-561: Encoding issue with assembly filtering

2011-09-27 Thread Julien HENRY
Hi,

Sorry for the insistence, but could someone have a look at my patch for 
MASSEMBLY-561. John Casey started to look at the patch but seems he is busy. We 
have users that are forced to use a custom released version of m-assembly-p and 
I wouldn’t like this situation to stay as it is.

Thanks

Julien


Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Tony Chemit
On Mon, 26 Sep 2011 17:26:06 -0500
Paul Gier pg...@apache.org wrote:

+1 (non binding) 

Works fine for your projects.

Tony.

 Hi,
 
 We solved 8 issues:
 http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17431
 
 There are still lots of issues left in JIRA:
 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC
 
 Staging repo:
 https://repository.apache.org/content/repositories/maven-107/
 
 Staging site: (Sync pending)
 http://maven.apache.org/surefire-2.10/
 http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/
 
 SCM Tag:
 http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/
 
 Guide to testing staged releases:
 http://maven.apache.org/guides/development/guide-testing-releases.html
 
 Vote open for 72 hours.
 
 [ ] +1
 [ ] +0
 [ ] -1
 
 
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 



-- 
Tony Chemit

tél: +33 (0) 2 40 50 29 28
email: che...@codelutin.com
http://www.codelutin.com

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Tamás Cservenák
+1

On Tue, Sep 27, 2011 at 12:26 AM, Paul Gier pg...@apache.org wrote:

 Hi,

 We solved 8 issues:

 http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17431

 There are still lots of issues left in JIRA:

 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC

 Staging repo:
 https://repository.apache.org/content/repositories/maven-107/

 Staging site: (Sync pending)
 http://maven.apache.org/surefire-2.10/
 http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/

 SCM Tag:
 http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/

 Guide to testing staged releases:
 http://maven.apache.org/guides/development/guide-testing-releases.html

 Vote open for 72 hours.

 [ ] +1
 [ ] +0
 [ ] -1




 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org




Re: [VOTE] Release Apache Maven Wagon 2.0

2011-09-27 Thread Tamás Cservenák
+1

On Mon, Sep 26, 2011 at 3:56 PM, Olivier Lamy ol...@apache.org wrote:

 Hello,
 I'd like to release Apache Maven Wagon 2.0.
 We fixed 31 issues:

 https://jira.codehaus.org/secure/ReleaseNote.jspa?version=17379styleName=TextprojectId=10335Create=Create

 Staging repo :
 https://repository.apache.org/content/repositories/maven-104/

 Staging site : http://maven.apache.org/wagon-2.0 (wait sync).

 [+1]
 [ 0]
 [-1]

 An easy way to test it: download jar and put it your $M2_HOME/lib/ext
 (if you use maven 3).
 wagon http: wget

 https://repository.apache.org/content/repositories/maven-104/org/apache/maven/wagon/wagon-http/2.0/wagon-http-2.0-shaded.jar
  cp wagon-http-2.0-shaded.jar $M2_HOME/lib/ext/

 Here my +1.

 Thanks,
 --
 Olivier Lamy
 Talend : http://talend.com
 http://twitter.com/olamy | http://linkedin.com/in/olamy

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org




Re: [VOTE] Release Apache Maven Wagon 2.0

2011-09-27 Thread Tony Chemit
On Mon, 26 Sep 2011 15:56:23 +0200
Olivier Lamy ol...@apache.org wrote:

+1 (non binding)

Thanks,

Tony.

 Hello,
 I'd like to release Apache Maven Wagon 2.0.
 We fixed 31 issues:
 https://jira.codehaus.org/secure/ReleaseNote.jspa?version=17379styleName=TextprojectId=10335Create=Create
 
 Staging repo :
 https://repository.apache.org/content/repositories/maven-104/
 
 Staging site : http://maven.apache.org/wagon-2.0 (wait sync).
 
 [+1]
 [ 0]
 [-1]
 
 An easy way to test it: download jar and put it your $M2_HOME/lib/ext
 (if you use maven 3).
 wagon http: wget
 https://repository.apache.org/content/repositories/maven-104/org/apache/maven/wagon/wagon-http/2.0/wagon-http-2.0-shaded.jar
  cp wagon-http-2.0-shaded.jar $M2_HOME/lib/ext/
 
 Here my +1.
 
 Thanks,



-- 
Tony Chemit

tél: +33 (0) 2 40 50 29 28
email: che...@codelutin.com
http://www.codelutin.com

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Olivier Lamy
+1

2011/9/27 Paul Gier pg...@apache.org:
 Hi,

 We solved 8 issues:
 http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17431

 There are still lots of issues left in JIRA:
 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC

 Staging repo:
 https://repository.apache.org/content/repositories/maven-107/

 Staging site: (Sync pending)
 http://maven.apache.org/surefire-2.10/
 http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/

 SCM Tag:
 http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/

 Guide to testing staged releases:
 http://maven.apache.org/guides/development/guide-testing-releases.html

 Vote open for 72 hours.

 [ ] +1
 [ ] +0
 [ ] -1




 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org





-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Use of standards in the Maven core

2011-09-27 Thread Jesse Glick

Reposting to an old thread, since I am still running into what seems to be 
Maven 2 debris in the APIs.

On 11/19/2010 02:19 PM, Kristian Rosenvold wrote:

if it hurts you, make a patch; documentation upgrade, javadoc or code changes


The difficulty with submitting Javadoc changes is that if you need the Javadoc you probably are not going to be sure what it should say. :-) I considered submitting a 
pull request to github.com/apache/maven-3 basically documenting org.apache.maven.artifact.resolver.ArtifactResolutionRequest.setMirrors to say do not trust that I do 
anything, but it is not obvious under which circumstances it actually does what it sounds like. A little story:


I had a call to org.apache.maven.repository.RepositorySystem.resolve. Undocumented, but it seems to download artifacts to the local repository (when not already present), 
a generally useful task. (While the interface is in Maven Core, the only impl is in Maven Compat and named - ominously - LegacyRepositorySystem. If it is supposed to be 
deprecated, there is no Javadoc saying so, or suggesting a replacement, so I stick with it for now.)


However yesterday I noticed that it was not working on an artifact in Central that I knew existed and in fact was very likely cached in my local Nexus. For reasons 
irrelevant here the remoteRepositories in the call included a definition of Central as http://central/ (taken from Nexus installation FAQs), but the actual URL should not 
have mattered since I have a mirror definition. Therefore my local mirror settings were being ignored.


Taking a look at the call to resolve, it is given an ArtifactResolutionRequest. I had a org.apache.maven.settings.Settings object handy with the right mirror definitions, 
so code completion and common sense would dictate that I should call request.setMirrors(settings.getMirrors())... but this had no effect.


Time for the debugger. I set the mirrors on the request and follow what happens. The list of mirrors is read in org.apache.maven.artifact.resolver.DefaultArtifactResolver 
but this line of code is never encountered. Instead, when request.isResolveRoot() returns true - the default value - an attempt is made to download the artifact _before_ 
considering the mirrors, which in this case fails and returns early from the resolve method. I could try to not resolve the root, whatever that means (no Javadoc), but 
this just looks wrong. Anyway even if the request is not resolving the root, the mirrors are considered only if the request also isResolveTransitively(), which I do not 
want in general.


So I set a breakpoint on org.apache.maven.artifact.resolver.ArtifactResolutionException. This gets thrown from another overload of resolve as a result of a 
org.sonatype.aether.resolution.ArtifactResolutionException, so set a breakpoint on that. This is thrown from org.sonatype.aether.impl.internal.DefaultArtifactResolver 
(now you see why I am giving fully-qualified class names), apparently due to a org.sonatype.aether.transfer.ArtifactTransferException which seems like the expected 
low-level error. When it gets thrown there is no sign of the mirrors, just http://central/; but local variables include a org.sonatype.aether.RepositorySystemSession 
which has a NullMirrorSelector, which must be wrong.


Presumably something was supposed to call org.sonatype.aether.util.DefaultRepositorySystemSession.setMirrorSelector; nothing in the call stack does so. So who calls this 
with a nontrivial selector? org.apache.maven.DefaultMaven.newRepositorySession does, and shows how it can be used. But where do I get that session? From prior experience 
I knew that org.apache.maven.plugin.LegacySupport.setSession is needed for many calls from Maven Compat. And indeed, http://hg.netbeans.org/main-silver/rev/9d464b81555e 
makes the mirror settings be honored, basically passing them in thread-local state.


So what is the upshot? Maybe org.apache.maven.repository.RepositorySystem.resolve needed to be deprecated to begin with. (Replaced perhaps by 
org.sonatype.aether.RepositorySystem.resolveArtifact?) It is used in one place in Maven Core - which, incidentally, does call request.setMirrors, but also 
setResolveRoot(false) and setResolveTransitively(true) and so conveniently triggering the conditions for the mirrors to be read! But this is in 
DefaultProjectDependenciesResolver, and ProjectDependenciesResolver is never called - while again in Core and not deprecated, meaning the mold may be deeper in the cheese.



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Emmanuel Venisse
+1

Emmanuel

On Tue, Sep 27, 2011 at 12:26 AM, Paul Gier pg...@apache.org wrote:

 Hi,

 We solved 8 issues:

 http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17431

 There are still lots of issues left in JIRA:

 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC

 Staging repo:
 https://repository.apache.org/content/repositories/maven-107/

 Staging site: (Sync pending)
 http://maven.apache.org/surefire-2.10/
 http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/

 SCM Tag:
 http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/

 Guide to testing staged releases:
 http://maven.apache.org/guides/development/guide-testing-releases.html

 Vote open for 72 hours.

 [ ] +1
 [ ] +0
 [ ] -1




 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org




Re: [VOTE] Release Apache Maven Wagon 2.0

2011-09-27 Thread Emmanuel Venisse
+1

Emmanuel

On Mon, Sep 26, 2011 at 3:56 PM, Olivier Lamy ol...@apache.org wrote:

 Hello,
 I'd like to release Apache Maven Wagon 2.0.
 We fixed 31 issues:

 https://jira.codehaus.org/secure/ReleaseNote.jspa?version=17379styleName=TextprojectId=10335Create=Create

 Staging repo :
 https://repository.apache.org/content/repositories/maven-104/

 Staging site : http://maven.apache.org/wagon-2.0 (wait sync).

 [+1]
 [ 0]
 [-1]

 An easy way to test it: download jar and put it your $M2_HOME/lib/ext
 (if you use maven 3).
 wagon http: wget

 https://repository.apache.org/content/repositories/maven-104/org/apache/maven/wagon/wagon-http/2.0/wagon-http-2.0-shaded.jar
  cp wagon-http-2.0-shaded.jar $M2_HOME/lib/ext/

 Here my +1.

 Thanks,
 --
 Olivier Lamy
 Talend : http://talend.com
 http://twitter.com/olamy | http://linkedin.com/in/olamy

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org




Maven release plugin not honoring -Darguments

2011-09-27 Thread David Blevins
Is it a known issue that the release plugin does not honor the -Darguments?

Specifically, I'm attempting to:

  mvn release:prepare -DdryRun=true -Darguments=-DskipTests=true  
-DfailIfNoTests=false

It takes 40 minutes to get through a dryRun with tests on.  We still have 
several kinks in the build to work out before the release plugin will work, so 
obviously running with tests on every dryRun is just making a hard task 
impossible.

maven 3.0.3, apache-10 parent pom, maven-release-plugin 2.1


-David


-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Change version of a Dependency

2011-09-27 Thread uranodi
I need change version of a dependency but I can`t find a way to not depend on
the Dependency`s oldVersion. I have:

dependencyManagement
dependencies
...
dependency
groupIdcom.legi.info/groupId
artifactIdMRKartifactId
version2.10.03/version
classifierexp/classifier
/dependency
...
/dependencies
   /dependencyManagement


I used: 

mvn versions:set -DgroupId=com.legi.info -DartifactId=MRK
-DnewVersion=2.10.05 -DoldVersion=2.10.03 versions:commit


But I don't want write to oldVersion, only the newversion. 

I tried:

mvn versions:set -DgroupId=com.legi.info -DartifactId=MRK
-DnewVersion=2.10.05 -DoldVersion=* versions:commit

But it didn't work. Is there a wildcard I can use?

Best regards,

--
View this message in context: 
http://maven.40175.n5.nabble.com/Change-version-of-a-Dependency-tp4845294p4845294.html
Sent from the Maven Developers mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Use of standards in the Maven core

2011-09-27 Thread Mark H. Wood
On Tue, Sep 27, 2011 at 07:49:37AM -0400, Jesse Glick wrote:
 On 11/19/2010 02:19 PM, Kristian Rosenvold wrote:
  if it hurts you, make a patch; documentation upgrade, javadoc or code 
  changes
 
 The difficulty with submitting Javadoc changes is that if you need
 the Javadoc you probably are not going to be sure what it should
 say. :-)

I am always amused (and saddened) to read that the documentation
should be written by those who do not understand the code.

It is possible to do this tolerably well.  It's exhausting, but it
*is* an effective way to get to know the product better --
eventually.  And there are still gaps:  places where it's simply not
feasible to divine what the author was thinking when he wrote *that*.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Asking whether markets are efficient is like asking whether people are smart.


pgpTwqP8dW0nx.pgp
Description: PGP signature


problem to build maven 3 project from hudson console

2011-09-27 Thread Amiragl
Hi community,

I'm using : apache-maven-3.0.3 , hudson-2.1.1 but i'm having this error
during building my project
 

Démarré par l'utilisateur anonymous Updating
file:///C:/SVNRepository/mavenhudsonproject revision: 27 sept. 2011 14:14:49
depth:infinity ignoreExternals: false At revision 6 Found mavenVersion 3.0.3
from file
jar:file:/C:/Users/Amira/.hudson/tools/Maven_3/lib/maven-core-3.0.3.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs Un nouveau module com.maven.hudson.tests:mavenhudsonproject
mavenhudsonproject a été trouvé [mavenhudsonproject] $ C:\Program
Files\Java\jdk1.7.0/bin/java -Xms256m -Xmx512m -cp
C:\Users\Amira\.hudson\plugins\maven-plugin\WEB-INF\lib\maven3-agent-2.1.1.jar;C:\Users\Amira\.hudson\tools\Maven_3\boot\plexus-classworlds-2.4.jar
org.jvnet.hudson.maven3.agent.Maven3Main
C:\Users\Amira\.hudson\tools\Maven_3
C:\outilserveur\webapps\hudson-2.1.1\WEB-INF\lib\hudson-remoting-2.1.1.jar
C:\Users\Amira\.hudson\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-2.1.1.jar
53839 ===[HUDSON REMOTING CAPACITY]===channel started Executing Maven: -B
-f C:\Users\Amira\workspace1\mavenhudsonproject\pom.xml install [INFO]
Scanning for projects... [INFO] [INFO]

[INFO] Building mavenhudsonproject 0.0.1-SNAPSHOT [INFO]

[INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
@ mavenhudsonproject --- [INFO] Using 'UTF-8' encoding to copy filtered
resources. [INFO] skip non existing resourceDirectory
C:\Users\Amira\workspace1\mavenhudsonproject\src\main\resources [INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
mavenhudsonproject --- [INFO] Nothing to compile - all classes are up to
date [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ mavenhudsonproject --- [INFO] Using 'UTF-8'
encoding to copy filtered resources. [INFO] skip non existing
resourceDirectory
C:\Users\Amira\workspace1\mavenhudsonproject\src\test\resources [INFO]
Nothing to compile - all classes are up to date [INFO] [INFO] ---
maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
mavenhudsonproject --- [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test
(default-test) @ mavenhudsonproject --- [INFO] Surefire report directory:
C:\Users\Amira\workspace1\mavenhudsonproject\target\surefire-reports
--- T E S T S
--- Running
com.maven.hudson.tests.mavenhudsonproject.AppTest Tests run: 1, Failures: 0,
Errors: 0, Skipped: 0, Time elapsed: 0.026 sec Results : Tests run: 1,
Failures: 0, Errors: 0, Skipped: 0 [HUDSON] Enregistrement des résultats des
tests
[INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @
mavenhudsonproject --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install
(default-install) @ mavenhudsonproject ---
[INFO] Installing
C:\Users\Amira\workspace1\mavenhudsonproject\target\mavenhudsonproject-0.0.1-SNAPSHOT.jar
to
C:\Users\Amira\.m2\repository\com\maven\hudson\tests\mavenhudsonproject\0.0.1-SNAPSHOT\mavenhudsonproject-0.0.1-SNAPSHOT.jar
[INFO] Installing C:\Users\Amira\workspace1\mavenhudsonproject\pom.xml to
C:\Users\Amira\.m2\repository\com\maven\hudson\tests\mavenhudsonproject\0.0.1-SNAPSHOT\mavenhudsonproject-0.0.1-SNAPSHOT.pom
projectSucceeded com.maven.hudson.tests:mavenhudsonproject:0.0.1-SNAPSHOT
projectFailed com.maven.hudson.tests:mavenhudsonproject:0.0.1-SNAPSHOT
sessionEnded [INFO]

[INFO] BUILD FAILURE [INFO]

[INFO] Total time: 7.683s [INFO] Finished at: Tue Sep 27 14:15:09 CEST 2011
[INFO] Final Memory: 9M/245M [INFO]

mavenExecutionResult exceptions not empty
org.apache.maven.InternalErrorException: Internal error:
java.lang.NullPointerException at
org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at

Re: are multi-threaded builds still working reliably?

2011-09-27 Thread Kristian Rosenvold
There is also http://jira.codehaus.org/browse/MNG-4996 , which might be
one of the problems you have. Unfortunately I have not been able to
reproduce this on any medium-sized or small project that I have
available, it only seems to happen on the really large ones.

(The reason for this probably being multistaged hotspot jitting, which
can occur on the 30th invocation of a given piece of code).

If anyone has a public project that exhibits this issue with any kind of
behaviour I'd love to have a look at it.

Kristian

ma., 26.09.2011 kl. 09.10 -0700, skrev David Jencks:
 Maybe it would be a good idea to mention this on the siki page?
 
 Anyone know why?  I thought maven used the eclipse compiler which is IIUC 
 just java code so why would it behave differently on different os?
 
 thanks
 david jencks
 
 On Sep 24, 2011, at 12:11 AM, Olivier Lamy wrote:
 
  On osx you must fork compiler.
  
  --
  Olivier
  Le 24 sept. 2011 04:41, David Jencks david_jen...@yahoo.com a écrit :
  I tried out the multi-threaded builds again recently (
  https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html) (maven
  3.0.3) and got some really strange results several minutes into the build.
  
  - the compiler plugin seemed to get corrupted source files and reported
  lots of nonexistent syntax errors
  - transitive dependencies didn't work the same as with a normal build
  
  I don't really have time to investigate what's going on but wonder if
  anyone has a stable large-project multi-threaded build running on a recent
  macbook pro with snow leopard?
  
  OSX 10.6.8
  
  java version 1.6.0_26
  Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
  Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
  
  thanks
  david jencks
  
  
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
  
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Use of standards in the Maven core

2011-09-27 Thread Kristian Rosenvold
I am wondering about what kind of documentation you are thinking about.
We have so much documentation that I hardly know where to stop.

I think blind javadoc is just so much baloney. If there are any 
specific use cases that require documentation I'm happy to discuss
that. 

Kristian



ti., 27.09.2011 kl. 09.24 -0400, skrev Mark H. Wood:
 On Tue, Sep 27, 2011 at 07:49:37AM -0400, Jesse Glick wrote:
  On 11/19/2010 02:19 PM, Kristian Rosenvold wrote:
   if it hurts you, make a patch; documentation upgrade, javadoc or code 
   changes
  
  The difficulty with submitting Javadoc changes is that if you need
  the Javadoc you probably are not going to be sure what it should
  say. :-)
 
 I am always amused (and saddened) to read that the documentation
 should be written by those who do not understand the code.
 
 It is possible to do this tolerably well.  It's exhausting, but it
 *is* an effective way to get to know the product better --
 eventually.  And there are still gaps:  places where it's simply not
 feasible to divine what the author was thinking when he wrote *that*.
 



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Paul Gier
I noticed some possible problems in the staged site docs.  The maven
failsafe plugin no longer generates a site, and the shadefire JUnit 3
provider also doesn't have a site.

Looks like the site configuration was removed from the failsafe plugin
[1], and the parent relationship was changed for shadefire [2], so I
think these changes were at least somwhat intentional.

[1]http://svn.apache.org/viewvc?view=revisionrevision=1144298
[2]http://svn.apache.org/viewvc?view=revisionrevision=1136849

On 09/26/2011 05:26 PM, Paul Gier wrote:
 Hi,
 
 We solved 8 issues:
 http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17431
 
 There are still lots of issues left in JIRA:
 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC
 
 Staging repo:
 https://repository.apache.org/content/repositories/maven-107/
 
 Staging site: (Sync pending)
 http://maven.apache.org/surefire-2.10/
 http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/
 
 SCM Tag:
 http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/
 
 Guide to testing staged releases:
 http://maven.apache.org/guides/development/guide-testing-releases.html
 
 Vote open for 72 hours.
 
 [ ] +1
 [ ] +0
 [ ] -1
 
 
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Kristian Rosenvold
shadefire should not have a site, it's an entirely private artifact in
the surefire build, basically a shaded previous version of surefire to
run the tests for surefire itself.

Stephen did the site work and I'm sure he can tell us what's up ;)

Kristian


ti., 27.09.2011 kl. 09.12 -0500, skrev Paul Gier:
 I noticed some possible problems in the staged site docs.  The maven
 failsafe plugin no longer generates a site, and the shadefire JUnit 3
 provider also doesn't have a site.
 
 Looks like the site configuration was removed from the failsafe plugin
 [1], and the parent relationship was changed for shadefire [2], so I
 think these changes were at least somwhat intentional.
 
 [1]http://svn.apache.org/viewvc?view=revisionrevision=1144298
 [2]http://svn.apache.org/viewvc?view=revisionrevision=1136849
 
 On 09/26/2011 05:26 PM, Paul Gier wrote:
  Hi,
  
  We solved 8 issues:
  http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17431
  
  There are still lots of issues left in JIRA:
  http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC
  
  Staging repo:
  https://repository.apache.org/content/repositories/maven-107/
  
  Staging site: (Sync pending)
  http://maven.apache.org/surefire-2.10/
  http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
  http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
  http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/
  
  SCM Tag:
  http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/
  
  Guide to testing staged releases:
  http://maven.apache.org/guides/development/guide-testing-releases.html
  
  Vote open for 72 hours.
  
  [ ] +1
  [ ] +0
  [ ] -1
  
  
  
  
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
  
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Stephen Connolly
Hmmm the site was being generated for 2.9...

Paul,

What version of maven did you stage the docs with?

-Stephen

On 27 September 2011 15:24, Kristian Rosenvold
kristian.rosenv...@gmail.com wrote:
 shadefire should not have a site, it's an entirely private artifact in
 the surefire build, basically a shaded previous version of surefire to
 run the tests for surefire itself.

 Stephen did the site work and I'm sure he can tell us what's up ;)

 Kristian


 ti., 27.09.2011 kl. 09.12 -0500, skrev Paul Gier:
 I noticed some possible problems in the staged site docs.  The maven
 failsafe plugin no longer generates a site, and the shadefire JUnit 3
 provider also doesn't have a site.

 Looks like the site configuration was removed from the failsafe plugin
 [1], and the parent relationship was changed for shadefire [2], so I
 think these changes were at least somwhat intentional.

 [1]http://svn.apache.org/viewvc?view=revisionrevision=1144298
 [2]http://svn.apache.org/viewvc?view=revisionrevision=1136849

 On 09/26/2011 05:26 PM, Paul Gier wrote:
  Hi,
 
  We solved 8 issues:
  http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17431
 
  There are still lots of issues left in JIRA:
  http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC
 
  Staging repo:
  https://repository.apache.org/content/repositories/maven-107/
 
  Staging site: (Sync pending)
  http://maven.apache.org/surefire-2.10/
  http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
  http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
  http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/
 
  SCM Tag:
  http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/
 
  Guide to testing staged releases:
  http://maven.apache.org/guides/development/guide-testing-releases.html
 
  Vote open for 72 hours.
 
  [ ] +1
  [ ] +0
  [ ] -1
 
 
 
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
 

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org




 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Stephen Connolly
You should have see something like this when runing mvn site

[INFO]

[INFO] Building Maven Surefire Plugin 2.11-SNAPSHOT
[INFO]

[INFO]
*[INFO] --- maven-assembly-plugin:2.2:single (site-site) @
maven-surefire-plugin ---
[INFO] Reading assembly descriptor: src/assembly/site-source.xml
[INFO] Building zip:
/Users/stephenc/apache/surefire/maven-surefire-plugin/target/maven-surefire-plugin-2.11-SNAPSHOT-site-source.zip
[INFO]
*[INFO] --- maven-site-plugin:3.0-beta-3:site (default-site) @
maven-surefire-plugin ---
[INFO] configuring report plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:2.4
[INFO] configuring report plugin
org.apache.maven.plugins:maven-plugin-plugin:2.7
[INFO]
[INFO]  maven-plugin-plugin:2.7:report (report:report) @
maven-surefire-plugin 
[INFO]
[INFO] --- maven-plugin-plugin:2.8:helpmojo (generated-helpmojo) @
maven-surefire-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 2 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-plugin-plugin:2.8:descriptor (default-descriptor) @
maven-surefire-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 2 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @
maven-surefire-plugin ---
[INFO] Setting property: classpath.resource.loader.class =
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on = 'false'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound = 'false'.
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
maven-surefire-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/Users/stephenc/apache/surefire/maven-surefire-plugin/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
maven-surefire-plugin ---
[INFO] Compiling 1 source file to
/Users/stephenc/apache/surefire/maven-surefire-plugin/target/classes
[INFO]
[INFO]  maven-plugin-plugin:2.7:report (report:report) @
maven-surefire-plugin 
[INFO] Parent project loaded from repository.
[INFO] Parent project loaded from repository.
[INFO] Rendering site with org.apache.maven.skins:maven-stylus-skin:jar:1.1
skin.
[INFO] Skipped About report, file index.html already exists for the
English version.
[INFO] Generating Continuous Integration report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Dependencies report---
maven-project-info-reports-plugin:2.4
[WARNING] The repository url 'http://snapshots.maven.codehaus.org/maven2' is
invalid - Repository 'snapshots' will be blacklisted.
[INFO] Generating Dependency Convergence report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Dependency Management report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Distribution Management report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Issue Tracking report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Project License report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Mailing Lists report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Plugin Management report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Project Plugins report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Project Team report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Source Repository report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Project Summary report---
maven-project-info-reports-plugin:2.4
[INFO] Generating Plugin Documentation report---
maven-plugin-plugin:2.7
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 2 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]

[INFO]

[INFO] Building Maven Failsafe Plugin 2.11-SNAPSHOT
[INFO]

[INFO]
*[INFO] --- maven-dependency-plugin:2.1:unpack-dependencies (site-site) @
maven-failsafe-plugin ---
[INFO] Unpacking
/Users/stephenc/apache/surefire/maven-surefire-plugin/target/maven-surefire-plugin-2.11-SNAPSHOT-site-source.zip
to
 

Re: problem to build maven 3 project from hudson console

2011-09-27 Thread Stuart McCulloch
On 27 Sep 2011, at 14:39, Amiragl amy...@live.fr wrote:

 Hi community,
 
 I'm using : apache-maven-3.0.3 , hudson-2.1.1 but i'm having this error
 during building my project

Looks like http://issues.hudson-ci.org/browse/HUDSON-9004

This will be fixed in 2.1.2 (expected soon) otherwise you could try the Maven 3 
build step in a free-style project instead of the Maven 2/3 job

 Démarré par l'utilisateur anonymous Updating
 file:///C:/SVNRepository/mavenhudsonproject revision: 27 sept. 2011 14:14:49
 depth:infinity ignoreExternals: false At revision 6 Found mavenVersion 3.0.3
 from file
 jar:file:/C:/Users/Amira/.hudson/tools/Maven_3/lib/maven-core-3.0.3.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
 Parsing POMs Un nouveau module com.maven.hudson.tests:mavenhudsonproject
 mavenhudsonproject a été trouvé [mavenhudsonproject] $ C:\Program
 Files\Java\jdk1.7.0/bin/java -Xms256m -Xmx512m -cp
 C:\Users\Amira\.hudson\plugins\maven-plugin\WEB-INF\lib\maven3-agent-2.1.1.jar;C:\Users\Amira\.hudson\tools\Maven_3\boot\plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main
 C:\Users\Amira\.hudson\tools\Maven_3
 C:\outilserveur\webapps\hudson-2.1.1\WEB-INF\lib\hudson-remoting-2.1.1.jar
 C:\Users\Amira\.hudson\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-2.1.1.jar
 53839 ===[HUDSON REMOTING CAPACITY]===channel started Executing Maven: -B
 -f C:\Users\Amira\workspace1\mavenhudsonproject\pom.xml install [INFO]
 Scanning for projects... [INFO] [INFO]
 
 [INFO] Building mavenhudsonproject 0.0.1-SNAPSHOT [INFO]
 
 [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
 @ mavenhudsonproject --- [INFO] Using 'UTF-8' encoding to copy filtered
 resources. [INFO] skip non existing resourceDirectory
 C:\Users\Amira\workspace1\mavenhudsonproject\src\main\resources [INFO]
 [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
 mavenhudsonproject --- [INFO] Nothing to compile - all classes are up to
 date [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources
 (default-testResources) @ mavenhudsonproject --- [INFO] Using 'UTF-8'
 encoding to copy filtered resources. [INFO] skip non existing
 resourceDirectory
 C:\Users\Amira\workspace1\mavenhudsonproject\src\test\resources [INFO]
 Nothing to compile - all classes are up to date [INFO] [INFO] ---
 maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
 mavenhudsonproject --- [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test
 (default-test) @ mavenhudsonproject --- [INFO] Surefire report directory:
 C:\Users\Amira\workspace1\mavenhudsonproject\target\surefire-reports
 --- T E S T S
 --- Running
 com.maven.hudson.tests.mavenhudsonproject.AppTest Tests run: 1, Failures: 0,
 Errors: 0, Skipped: 0, Time elapsed: 0.026 sec Results : Tests run: 1,
 Failures: 0, Errors: 0, Skipped: 0 [HUDSON] Enregistrement des résultats des
 tests
 [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @
 mavenhudsonproject --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install
 (default-install) @ mavenhudsonproject ---
 [INFO] Installing
 C:\Users\Amira\workspace1\mavenhudsonproject\target\mavenhudsonproject-0.0.1-SNAPSHOT.jar
 to
 C:\Users\Amira\.m2\repository\com\maven\hudson\tests\mavenhudsonproject\0.0.1-SNAPSHOT\mavenhudsonproject-0.0.1-SNAPSHOT.jar
 [INFO] Installing C:\Users\Amira\workspace1\mavenhudsonproject\pom.xml to
 C:\Users\Amira\.m2\repository\com\maven\hudson\tests\mavenhudsonproject\0.0.1-SNAPSHOT\mavenhudsonproject-0.0.1-SNAPSHOT.pom
 projectSucceeded com.maven.hudson.tests:mavenhudsonproject:0.0.1-SNAPSHOT
 projectFailed com.maven.hudson.tests:mavenhudsonproject:0.0.1-SNAPSHOT
 sessionEnded [INFO]
 
 [INFO] BUILD FAILURE [INFO]
 
 [INFO] Total time: 7.683s [INFO] Finished at: Tue Sep 27 14:15:09 CEST 2011
 [INFO] Final Memory: 9M/245M [INFO]
 
 mavenExecutionResult exceptions not empty
 org.apache.maven.InternalErrorException: Internal error:
 java.lang.NullPointerException at
 org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at 

RE: problem to build maven 3 project from hudson console

2011-09-27 Thread Amiragl

Thank you for the responce , I'll try 2.1.0 until the release of 2.1.2 on 30 
september :) it's soon


Date: Tue, 27 Sep 2011 08:51:35 -0700
From: ml-node+s40175n4845847...@n5.nabble.com
To: amy...@live.fr
Subject: Re: problem to build maven 3 project from hudson console



On 27 Sep 2011, at 14:39, Amiragl [hidden email] wrote:


 Hi community,

 

 I'm using : apache-maven-3.0.3 , hudson-2.1.1 but i'm having this error

 during building my project


Looks like http://issues.hudson-ci.org/browse/HUDSON-9004

This will be fixed in 2.1.2 (expected soon) otherwise you could try the Maven 3 
build step in a free-style project instead of the Maven 2/3 job


 Démarré par l'utilisateur anonymous Updating

 file:///C:/SVNRepository/mavenhudsonproject revision: 27 sept. 2011 14:14:49

 depth:infinity ignoreExternals: false At revision 6 Found mavenVersion 3.0.3

 from file

 jar:file:/C:/Users/Amira/.hudson/tools/Maven_3/lib/maven-core-3.0.3.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties

 Parsing POMs Un nouveau module com.maven.hudson.tests:mavenhudsonproject

 mavenhudsonproject a été trouvé [mavenhudsonproject] $ C:\Program

 Files\Java\jdk1.7.0/bin/java -Xms256m -Xmx512m -cp

 C:\Users\Amira\.hudson\plugins\maven-plugin\WEB-INF\lib\maven3-agent-2.1.1.jar;C:\Users\Amira\.hudson\tools\Maven_3\boot\plexus-classworlds-2.4.jar

 org.jvnet.hudson.maven3.agent.Maven3Main

 C:\Users\Amira\.hudson\tools\Maven_3

 C:\outilserveur\webapps\hudson-2.1.1\WEB-INF\lib\hudson-remoting-2.1.1.jar

 C:\Users\Amira\.hudson\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-2.1.1.jar

 53839 ===[HUDSON REMOTING CAPACITY]===channel started Executing Maven: -B

 -f C:\Users\Amira\workspace1\mavenhudsonproject\pom.xml install [INFO]

 Scanning for projects... [INFO] [INFO]

 

 [INFO] Building mavenhudsonproject 0.0.1-SNAPSHOT [INFO]

 

 [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)

 @ mavenhudsonproject --- [INFO] Using 'UTF-8' encoding to copy filtered

 resources. [INFO] skip non existing resourceDirectory

 C:\Users\Amira\workspace1\mavenhudsonproject\src\main\resources [INFO]

 [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @

 mavenhudsonproject --- [INFO] Nothing to compile - all classes are up to

 date [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources

 (default-testResources) @ mavenhudsonproject --- [INFO] Using 'UTF-8'

 encoding to copy filtered resources. [INFO] skip non existing

 resourceDirectory

 C:\Users\Amira\workspace1\mavenhudsonproject\src\test\resources [INFO]

 Nothing to compile - all classes are up to date [INFO] [INFO] ---

 maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @

 mavenhudsonproject --- [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test

 (default-test) @ mavenhudsonproject --- [INFO] Surefire report directory:

 C:\Users\Amira\workspace1\mavenhudsonproject\target\surefire-reports

 --- T E S T S

 --- Running

 com.maven.hudson.tests.mavenhudsonproject.AppTest Tests run: 1, Failures: 0,

 Errors: 0, Skipped: 0, Time elapsed: 0.026 sec Results : Tests run: 1,

 Failures: 0, Errors: 0, Skipped: 0 [HUDSON] Enregistrement des résultats des

 tests

 [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @

 mavenhudsonproject --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install

 (default-install) @ mavenhudsonproject ---

 [INFO] Installing

 C:\Users\Amira\workspace1\mavenhudsonproject\target\mavenhudsonproject-0.0.1-SNAPSHOT.jar

 to

 C:\Users\Amira\.m2\repository\com\maven\hudson\tests\mavenhudsonproject\0.0.1-SNAPSHOT\mavenhudsonproject-0.0.1-SNAPSHOT.jar

 [INFO] Installing C:\Users\Amira\workspace1\mavenhudsonproject\pom.xml to

 C:\Users\Amira\.m2\repository\com\maven\hudson\tests\mavenhudsonproject\0.0.1-SNAPSHOT\mavenhudsonproject-0.0.1-SNAPSHOT.pom

 projectSucceeded com.maven.hudson.tests:mavenhudsonproject:0.0.1-SNAPSHOT

 projectFailed com.maven.hudson.tests:mavenhudsonproject:0.0.1-SNAPSHOT

 sessionEnded [INFO]

 

 [INFO] BUILD FAILURE [INFO]

 

 [INFO] Total time: 7.683s [INFO] Finished at: Tue Sep 27 14:15:09 CEST 2011

 [INFO] Final Memory: 9M/245M [INFO]

 

 mavenExecutionResult exceptions not empty

 org.apache.maven.InternalErrorException: Internal error:

 java.lang.NullPointerException at

 org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)

 at

 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)

 at

 

Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Paul Gier
The only problem is that a link for Shadefire still shows up as one of
the modules of surefire.  For now, should I just hack the HTML to remove
this link?

http://maven.apache.org/surefire-2.10/

On 09/27/2011 09:24 AM, Kristian Rosenvold wrote:
 shadefire should not have a site, it's an entirely private artifact in
 the surefire build, basically a shaded previous version of surefire to
 run the tests for surefire itself.
 
 Stephen did the site work and I'm sure he can tell us what's up ;)
 
 Kristian
 
 
 ti., 27.09.2011 kl. 09.12 -0500, skrev Paul Gier:
 I noticed some possible problems in the staged site docs.  The maven
 failsafe plugin no longer generates a site, and the shadefire JUnit 3
 provider also doesn't have a site.

 Looks like the site configuration was removed from the failsafe plugin
 [1], and the parent relationship was changed for shadefire [2], so I
 think these changes were at least somwhat intentional.

 [1]http://svn.apache.org/viewvc?view=revisionrevision=1144298
 [2]http://svn.apache.org/viewvc?view=revisionrevision=1136849

 On 09/26/2011 05:26 PM, Paul Gier wrote:
 Hi,

 We solved 8 issues:
 http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17431

 There are still lots of issues left in JIRA:
 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC

 Staging repo:
 https://repository.apache.org/content/repositories/maven-107/

 Staging site: (Sync pending)
 http://maven.apache.org/surefire-2.10/
 http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/

 SCM Tag:
 http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/

 Guide to testing staged releases:
 http://maven.apache.org/guides/development/guide-testing-releases.html

 Vote open for 72 hours.

 [ ] +1
 [ ] +0
 [ ] -1




 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org


 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org

 
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Paul Gier
I ran mvn site:site instead of following the directions like I was
supposed to ;)

The failsafe plugin staging URL now looks good (pending sync).

http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/

On 09/27/2011 09:36 AM, Stephen Connolly wrote:
 You should have see something like this when runing mvn site
 
 [INFO]
 
 [INFO] Building Maven Surefire Plugin 2.11-SNAPSHOT
 [INFO]
 
 [INFO]
 *[INFO] --- maven-assembly-plugin:2.2:single (site-site) @
 maven-surefire-plugin ---
 [INFO] Reading assembly descriptor: src/assembly/site-source.xml
 [INFO] Building zip:
 /Users/stephenc/apache/surefire/maven-surefire-plugin/target/maven-surefire-plugin-2.11-SNAPSHOT-site-source.zip
 [INFO]
 *[INFO] --- maven-site-plugin:3.0-beta-3:site (default-site) @
 maven-surefire-plugin ---
 [INFO] configuring report plugin
 org.apache.maven.plugins:maven-project-info-reports-plugin:2.4
 [INFO] configuring report plugin
 org.apache.maven.plugins:maven-plugin-plugin:2.7
 [INFO]
 [INFO]  maven-plugin-plugin:2.7:report (report:report) @
 maven-surefire-plugin 
 [INFO]
 [INFO] --- maven-plugin-plugin:2.8:helpmojo (generated-helpmojo) @
 maven-surefire-plugin ---
 [INFO] Using 'UTF-8' encoding to read mojo metadata.
 [INFO] Applying mojo extractor for language: java
 [INFO] Mojo extractor for language: java found 2 mojo descriptors.
 [INFO] Applying mojo extractor for language: bsh
 [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
 [INFO]
 [INFO] --- maven-plugin-plugin:2.8:descriptor (default-descriptor) @
 maven-surefire-plugin ---
 [INFO] Using 'UTF-8' encoding to read mojo metadata.
 [INFO] Applying mojo extractor for language: java
 [INFO] Mojo extractor for language: java found 2 mojo descriptors.
 [INFO] Applying mojo extractor for language: bsh
 [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
 [INFO]
 [INFO] --- maven-remote-resources-plugin:1.1:process (default) @
 maven-surefire-plugin ---
 [INFO] Setting property: classpath.resource.loader.class =
 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
 [INFO] Setting property: velocimacro.messages.on = 'false'.
 [INFO] Setting property: resource.loader = 'classpath'.
 [INFO] Setting property: resource.manager.logwhenfound = 'false'.
 [INFO]
 [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
 maven-surefire-plugin ---
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory
 /Users/stephenc/apache/surefire/maven-surefire-plugin/src/main/resources
 [INFO] Copying 3 resources
 [INFO]
 [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
 maven-surefire-plugin ---
 [INFO] Compiling 1 source file to
 /Users/stephenc/apache/surefire/maven-surefire-plugin/target/classes
 [INFO]
 [INFO]  maven-plugin-plugin:2.7:report (report:report) @
 maven-surefire-plugin 
 [INFO] Parent project loaded from repository.
 [INFO] Parent project loaded from repository.
 [INFO] Rendering site with org.apache.maven.skins:maven-stylus-skin:jar:1.1
 skin.
 [INFO] Skipped About report, file index.html already exists for the
 English version.
 [INFO] Generating Continuous Integration report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Dependencies report---
 maven-project-info-reports-plugin:2.4
 [WARNING] The repository url 'http://snapshots.maven.codehaus.org/maven2' is
 invalid - Repository 'snapshots' will be blacklisted.
 [INFO] Generating Dependency Convergence report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Dependency Management report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Distribution Management report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Issue Tracking report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Project License report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Mailing Lists report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Plugin Management report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Project Plugins report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Project Team report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Source Repository report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Project Summary report---
 maven-project-info-reports-plugin:2.4
 [INFO] Generating Plugin Documentation report---
 maven-plugin-plugin:2.7
 [INFO] Applying mojo extractor for language: java
 [INFO] Mojo extractor for language: java found 2 mojo descriptors.
 [INFO] Applying mojo extractor for language: bsh
 [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
 [INFO]
 
 [INFO]
 
 [INFO] 

RE: [VOTE] Release Apache Maven Wagon 2.0

2011-09-27 Thread Robert Scholte

+1 -Robert
  Date: Tue, 27 Sep 2011 14:13:02 +0200
 Subject: Re: [VOTE] Release Apache Maven Wagon 2.0
 From: emmanuel.veni...@gmail.com
 To: dev@maven.apache.org
 
 +1
 
 Emmanuel
 
 On Mon, Sep 26, 2011 at 3:56 PM, Olivier Lamy ol...@apache.org wrote:
 
  Hello,
  I'd like to release Apache Maven Wagon 2.0.
  We fixed 31 issues:
 
  https://jira.codehaus.org/secure/ReleaseNote.jspa?version=17379styleName=TextprojectId=10335Create=Create
 
  Staging repo :
  https://repository.apache.org/content/repositories/maven-104/
 
  Staging site : http://maven.apache.org/wagon-2.0 (wait sync).
 
  [+1]
  [ 0]
  [-1]
 
  An easy way to test it: download jar and put it your $M2_HOME/lib/ext
  (if you use maven 3).
  wagon http: wget
 
  https://repository.apache.org/content/repositories/maven-104/org/apache/maven/wagon/wagon-http/2.0/wagon-http-2.0-shaded.jar
   cp wagon-http-2.0-shaded.jar $M2_HOME/lib/ext/
 
  Here my +1.
 
  Thanks,
  --
  Olivier Lamy
  Talend : http://talend.com
  http://twitter.com/olamy | http://linkedin.com/in/olamy
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
 
 
  

Re: Maven release plugin not honoring -Darguments

2011-09-27 Thread David Jencks
IIRC you have to include your forked maven arguments in the release plugin 
configuration under
arguments-DskipTests=true  -DfailIfNoTests=false/arguments

Perhaps someone else can say _why_ the m-r-p is set up so you can't set this on 
the command line?

thanks
david jencks 

On Sep 27, 2011, at 5:40 AM, David Blevins wrote:

 Is it a known issue that the release plugin does not honor the -Darguments?
 
 Specifically, I'm attempting to:
 
  mvn release:prepare -DdryRun=true -Darguments=-DskipTests=true  
 -DfailIfNoTests=false
 
 It takes 40 minutes to get through a dryRun with tests on.  We still have 
 several kinks in the build to work out before the release plugin will work, 
 so obviously running with tests on every dryRun is just making a hard task 
 impossible.
 
 maven 3.0.3, apache-10 parent pom, maven-release-plugin 2.1
 
 
 -David
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 


-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Maven release plugin not honoring -Darguments

2011-09-27 Thread Stephen Connolly
you can if you understand shell escaping.

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 27 Sep 2011 17:58, David Jencks david_jen...@yahoo.com wrote:
 IIRC you have to include your forked maven arguments in the release plugin
configuration under
 arguments-DskipTests=true -DfailIfNoTests=false/arguments

 Perhaps someone else can say _why_ the m-r-p is set up so you can't set
this on the command line?

 thanks
 david jencks

 On Sep 27, 2011, at 5:40 AM, David Blevins wrote:

 Is it a known issue that the release plugin does not honor the
-Darguments?

 Specifically, I'm attempting to:

 mvn release:prepare -DdryRun=true -Darguments=-DskipTests=true
-DfailIfNoTests=false

 It takes 40 minutes to get through a dryRun with tests on. We still have
several kinks in the build to work out before the release plugin will work,
so obviously running with tests on every dryRun is just making a hard task
impossible.

 maven 3.0.3, apache-10 parent pom, maven-release-plugin 2.1


 -David


 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



RE: MASSEMBLY-561: Encoding issue with assembly filtering

2011-09-27 Thread Robert Scholte

Hi,

 

I've checked out the sources and ran all tests first. On my machine the IT for 
massemble-196 is failing.

So I  first have to figure out what's going on here before I can continue on 
your issue.

Maybe someone else could pick it up in the meantime.

 

-Robert



 Date: Tue, 27 Sep 2011 10:41:53 +0100
 From: henr...@yahoo.fr
 Subject: MASSEMBLY-561: Encoding issue with assembly filtering
 To: dev@maven.apache.org
 
 Hi,
 
 Sorry for the insistence, but could someone have a look at my patch for 
 MASSEMBLY-561. John Casey started to look at the patch but seems he is busy. 
 We have users that are forced to use a custom released version of 
 m-assembly-p and I wouldn’t like this situation to stay as it is.
 
 Thanks
 
 Julien  
-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Apache Maven Wagon 2.0

2011-09-27 Thread Hervé BOUTEMY
+1

Hervé

Le lundi 26 septembre 2011, Olivier Lamy a écrit :
 Hello,
 I'd like to release Apache Maven Wagon 2.0.
 We fixed 31 issues:
 https://jira.codehaus.org/secure/ReleaseNote.jspa?version=17379styleName=T
 extprojectId=10335Create=Create
 
 Staging repo : 
 https://repository.apache.org/content/repositories/maven-104/
 
 Staging site : http://maven.apache.org/wagon-2.0 (wait sync).
 
 [+1]
 [ 0]
 [-1]
 
 An easy way to test it: download jar and put it your $M2_HOME/lib/ext
 (if you use maven 3).
 wagon http: wget
 https://repository.apache.org/content/repositories/maven-104/org/apache/mav
 en/wagon/wagon-http/2.0/wagon-http-2.0-shaded.jar  cp
 wagon-http-2.0-shaded.jar $M2_HOME/lib/ext/
 
 Here my +1.
 
 Thanks,


-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Maven Surefire version 2.10

2011-09-27 Thread Hervé BOUTEMY
+1

Hervé

Le mardi 27 septembre 2011, Paul Gier a écrit :
 Hi,
 
 We solved 8 issues:
 http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541version=17
 431
 
 There are still lots of issues left in JIRA:
 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejq
 lQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+
 DESC
 
 Staging repo:
 https://repository.apache.org/content/repositories/maven-107/
 
 Staging site: (Sync pending)
 http://maven.apache.org/surefire-2.10/
 http://maven.apache.org/plugins/maven-failsafe-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-plugin-2.10/
 http://maven.apache.org/plugins/maven-surefire-reports-plugin-2.10/
 
 SCM Tag:
 http://svn.apache.org/repos/asf/maven/surefire/tags/surefire-2.10/
 
 Guide to testing staged releases:
 http://maven.apache.org/guides/development/guide-testing-releases.html
 
 Vote open for 72 hours.
 
 [ ] +1
 [ ] +0
 [ ] -1
 
 
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Maven release plugin not honoring -Darguments

2011-09-27 Thread David Blevins
That's not it, the quoting was fine.  Even with a single argument with no 
spaces to -Darguments it still does not work.

Did some more digging and it seems the issue is in the apache-10 parent pom.  
If you alter it like so, the arguments are passed as expected:

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-release-plugin/artifactId
  version2.1/version
  configuration
useReleaseProfilefalse/useReleaseProfile
goalsdeploy/goals
!--arguments-Papache-release/arguments--
arguments-Papache-release ${arguments}/arguments
  /configuration
/plugin

Seems this is just a mistake as the full config as reported via -X contains 
quite a bit of foo${foo}/foo style declarations.  We likely just missed it 
here.

Going to use a hacked parent pom for the moment but it would be great if we 
could get an apache-11 pom out soonish.


-David


On Sep 27, 2011, at 10:54 AM, Stephen Connolly wrote:

 you can if you understand shell escaping.
 
 - Stephen
 
 ---
 Sent from my Android phone, so random spelling mistakes, random nonsense
 words and other nonsense are a direct result of using swype to type on the
 screen
 On 27 Sep 2011 17:58, David Jencks david_jen...@yahoo.com wrote:
 IIRC you have to include your forked maven arguments in the release plugin
 configuration under
 arguments-DskipTests=true -DfailIfNoTests=false/arguments
 
 Perhaps someone else can say _why_ the m-r-p is set up so you can't set
 this on the command line?
 
 thanks
 david jencks
 
 On Sep 27, 2011, at 5:40 AM, David Blevins wrote:
 
 Is it a known issue that the release plugin does not honor the
 -Darguments?
 
 Specifically, I'm attempting to:
 
 mvn release:prepare -DdryRun=true -Darguments=-DskipTests=true
 -DfailIfNoTests=false
 
 It takes 40 minutes to get through a dryRun with tests on. We still have
 several kinks in the build to work out before the release plugin will work,
 so obviously running with tests on every dryRun is just making a hard task
 impossible.
 
 maven 3.0.3, apache-10 parent pom, maven-release-plugin 2.1
 
 
 -David
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 


-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org