Non-tranistive ZIPs
Hi folks, is there any way to change the transitive behaviour of ZIPs to non-transitive? I tried to use Maven's extension mechanism with a jar containing a component descriptor for zip files, where the includesDependencies paremeter is set to true, but it seems to be ignored. Any hints? - Jörg - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Non-tranistive ZIPs
The transitivity of a given artifact is controlled by the artifactHandler, so you would need to introduce a new impl (probably as an extension) to flip that value to false. On Tue, Jun 23, 2009 at 7:27 AM, Jörg Schaiblejoerg.schai...@gmx.de wrote: Hi folks, is there any way to change the transitive behaviour of ZIPs to non-transitive? I tried to use Maven's extension mechanism with a jar containing a component descriptor for zip files, where the includesDependencies paremeter is set to true, but it seems to be ignored. Any hints? - Jörg - 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: [PLEASE TEST] Maven 2.2.0-RC4 Maven Wagon 1.0-beta-6
FWIW, the following URL at repository.apache.org includes the staging repository for wagon: https://repository.apache.org/content/groups/staging/ I've added this repository location to the group used by the Hudson instance, and it's now building Maven 2.2.0-RC5-SNAPSHOT (the next version on the maven-2.2.0-RC branch) successfully. I'm not entirely sure how valuable it'd be to add the repository to the POM in this branch, since we'll just have to remove it for the vote...and since I was really hoping to vote for both projects at the same time. If this is a major issue, I'm sure we can find a way to work around it. -john Brett Porter wrote: I'll try and get some time to look through these, as I have some questions from what I've seen at a glance. It looks like you need to temporarily add the Wagon staging repo to the POM so that the hudson build will succeed though. - Brett On 23/06/2009, at 10:03 AM, John Casey wrote: Hi everyone, As I'm sure you're aware, I've tried twice now to get a clean vote done for Maven 2.2.0. In each case, we've run into blocking bugs that have caused me to retract the vote and fix the code. Well, with the latest bug that Brian found, we're now dependent on some configuration updates that are available on the trunk of Maven Wagon. I've added configuration for the non-lightweight http wagon to address: WAGON-270 - preemptive auth in non-lightweight http wagon causes Unauthorized responses from some servers WAGON-264 - compressed tarball download problems WAGON-271 - Provide configurability of httpclient parameters to allow user to tell Maven to ignore cookies The top issue relates to Brian's problem, and the bottom issue relates to MNG-4165, which is also in the release notes for Maven 2.2.0. The middle issue was a side-effect of fixing the other two. I'd like to have as many eyes on this release candidate as I can get. I'm doing another RC instead of a new vote thread because I don't want to push it too much and wind up with a profusion of different artifacts in people's local repositories marked as being part of Maven 2.2.0 when they are really part of failed votes for 2.2.0... Once I'm confident this RC is good to go, I'll call votes for both Wagon 1.0-beta-6 and Maven 2.2.0. You can find the staging repositories here: Wagon: https://repository.apache.org/content/repositories/maven-staging-002/ Maven 2.2.0-RC4: https://repository.apache.org/content/repositories/maven-staging-006/ You can find release notes here: Wagon: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10335styleName=Htmlversion=15403 Maven: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500styleName=Htmlversion=15103 Please give these a try, and let me know what you find! Thanks, -john --- John Casey Developer and PMC Member, Apache Maven (http://maven.apache.org) Member, Apache Software Foundation What we have to learn to do, we learn by doing. -Aristotle - 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
Manual Steps for Integrating Maven with Eclipse...
Hi , We are working for one of our clients and all our development happens thru Eclipse 3.1. We are using Maven Project for Build and deployment process. As there is some issues in doing the installation of the maven plugin in Eclipse, we want to know the manual steps involved in achieving the same what plug-in installation does. Is it possible for you to provide the steps (changes to folder or workspace, inclusion of list of executable etc) as part of Maven integration into Eclipse so that we can do it manually. Quick response on this would be appreciated. Thanks, Sesha.
Re: maven-eclipse-plugin failing on hudson - help needed.
Barrie Treloar wrote: This builds fine on my machine (windows xp) and on people.apache.org. I dont know why this is failing on hudson. Likely because Hudson does a reactor build with the current working directory being trunk/ and not maven-eclipse-plugin/. E.g. doing cd .. mvn integration-test -P run-its -f maven-eclipse-plugin/pom.xml from the maven-eclipse-plugin directory should also fail for you. And if by chance someone knows what the problems is please let me know. From [0]: /** * Load the script from an external file ; optional. * * @param fileName the name of the file containing the script source. */ public void setSrc(String fileName) { helper.setSrc(new File(fileName)); } I suspect that the call new File(fileName) is missing a check for a relative path to resolve that against the project base dir. Benjamin [0] http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/Script.java - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: maven-eclipse-plugin failing on hudson - help needed.
On Wed, Jun 24, 2009 at 6:33 AM, Benjamin Bentmannbenjamin.bentm...@udo.edu wrote: Barrie Treloar wrote: This builds fine on my machine (windows xp) and on people.apache.org. I dont know why this is failing on hudson. Likely because Hudson does a reactor build with the current working directory being trunk/ and not maven-eclipse-plugin/. E.g. doing cd .. mvn integration-test -P run-its -f maven-eclipse-plugin/pom.xml from the maven-eclipse-plugin directory should also fail for you. Hmm, the echo via property name=cwd location=./ echo message=cwd = ${cwd}/ returns [echo] cwd = /home/hudson/workspace/plugins-CI-with-maven-2.1.x/jdk/1.5/label/ubuntu/trunk/maven-eclipse-plugin which would indicate that it is the correct directory. I will try using An't property location to expand the path for me: property name=script location=verify-integration-tests-checks.bsh/ echo message=script = ${script}/ script language=beanshell src=${script} / - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Manual Steps for Integrating Maven with Eclipse...
On Wed, Jun 24, 2009 at 3:28 AM, Shesadri Parthasarathysparthasarat...@sapient.com wrote: Hi , We are working for one of our clients and all our development happens thru Eclipse 3.1. We are using Maven Project for Build and deployment process. As there is some issues in doing the installation of the maven plugin in Eclipse, we want to know the manual steps involved in achieving the same what plug-in installation does. Is it possible for you to provide the steps (changes to folder or workspace, inclusion of list of executable etc) as part of Maven integration into Eclipse so that we can do it manually. Quick response on this would be appreciated. Thanks, Sesha. This question belongs on the users list. Have a look at the http://maven.apache.org/plugins/maven-eclipse-plugin/ There is nothing special about Eclipse and Maven projects. You just need configure Eclipse to have all the jars that you pom.xml defines as dependencies (and their transitive dependencies) The maven-eclipse-plugin automates that for you. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: maven-eclipse-plugin failing on hudson - help needed.
Interesting... [INFO] Executing tasks [echo] script = /home/hudson/workspace/plugins-CI-with-maven-2.1.x/jdk/1.5/label/ubuntu/trunk/maven-eclipse-plugin/verify-integration-tests-checks.bsh Jun 23, 2009 5:10:38 PM org.apache.bsf.BSFManager exec SEVERE: Exception : java.security.PrivilegedActionException: org.apache.bsf.BSFException: The application script threw an exception: java.io.FileNotFoundException: /home/hudson/workspace/plugins-CI-with-maven-2.1.x/jdk/1.5/label/ubuntu/trunk/maven-antrun.bsh (No such file or directory) BSF info: ANT at line: 0 column: columnNo So a relative file resolved via ant points to the correct location, yet the relative location resolved in the script points to the parent location. Wierd. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Manual Steps for Integrating Maven with Eclipse...
Or you can do it the other way around, install a maven plugin in Eclipse, such as m2eclipse [1] [1] http://m2eclipse.codehaus.org/ Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Jun 24, 2009 at 12:37 AM, Barrie Treloarbaerr...@gmail.com wrote: On Wed, Jun 24, 2009 at 3:28 AM, Shesadri Parthasarathysparthasarat...@sapient.com wrote: Hi , We are working for one of our clients and all our development happens thru Eclipse 3.1. We are using Maven Project for Build and deployment process. As there is some issues in doing the installation of the maven plugin in Eclipse, we want to know the manual steps involved in achieving the same what plug-in installation does. Is it possible for you to provide the steps (changes to folder or workspace, inclusion of list of executable etc) as part of Maven integration into Eclipse so that we can do it manually. Quick response on this would be appreciated. Thanks, Sesha. This question belongs on the users list. Have a look at the http://maven.apache.org/plugins/maven-eclipse-plugin/ There is nothing special about Eclipse and Maven projects. You just need configure Eclipse to have all the jars that you pom.xml defines as dependencies (and their transitive dependencies) The maven-eclipse-plugin automates that for you. - 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: [PLEASE TEST] Maven 2.2.0-RC4 Maven Wagon 1.0-beta-6
I say leave it out. On Tue, Jun 23, 2009 at 10:26 AM, John Caseyjdca...@commonjava.org wrote: FWIW, the following URL at repository.apache.org includes the staging repository for wagon: https://repository.apache.org/content/groups/staging/ I've added this repository location to the group used by the Hudson instance, and it's now building Maven 2.2.0-RC5-SNAPSHOT (the next version on the maven-2.2.0-RC branch) successfully. I'm not entirely sure how valuable it'd be to add the repository to the POM in this branch, since we'll just have to remove it for the vote...and since I was really hoping to vote for both projects at the same time. If this is a major issue, I'm sure we can find a way to work around it. -john Brett Porter wrote: I'll try and get some time to look through these, as I have some questions from what I've seen at a glance. It looks like you need to temporarily add the Wagon staging repo to the POM so that the hudson build will succeed though. - Brett On 23/06/2009, at 10:03 AM, John Casey wrote: Hi everyone, As I'm sure you're aware, I've tried twice now to get a clean vote done for Maven 2.2.0. In each case, we've run into blocking bugs that have caused me to retract the vote and fix the code. Well, with the latest bug that Brian found, we're now dependent on some configuration updates that are available on the trunk of Maven Wagon. I've added configuration for the non-lightweight http wagon to address: WAGON-270 - preemptive auth in non-lightweight http wagon causes Unauthorized responses from some servers WAGON-264 - compressed tarball download problems WAGON-271 - Provide configurability of httpclient parameters to allow user to tell Maven to ignore cookies The top issue relates to Brian's problem, and the bottom issue relates to MNG-4165, which is also in the release notes for Maven 2.2.0. The middle issue was a side-effect of fixing the other two. I'd like to have as many eyes on this release candidate as I can get. I'm doing another RC instead of a new vote thread because I don't want to push it too much and wind up with a profusion of different artifacts in people's local repositories marked as being part of Maven 2.2.0 when they are really part of failed votes for 2.2.0... Once I'm confident this RC is good to go, I'll call votes for both Wagon 1.0-beta-6 and Maven 2.2.0. You can find the staging repositories here: Wagon: https://repository.apache.org/content/repositories/maven-staging-002/ Maven 2.2.0-RC4: https://repository.apache.org/content/repositories/maven-staging-006/ You can find release notes here: Wagon: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10335styleName=Htmlversion=15403 Maven: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500styleName=Htmlversion=15103 Please give these a try, and let me know what you find! Thanks, -john --- John Casey Developer and PMC Member, Apache Maven (http://maven.apache.org) Member, Apache Software Foundation What we have to learn to do, we learn by doing. -Aristotle - 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