Re: Renaming jars using the assembly plugin
Hi, Thanks for the tip. I'd been spending a couple of hours to get it work, with no luck, until i read your post :) -- View this message in context: http://maven.40175.n5.nabble.com/Renaming-jars-using-the-assembly-plugin-tp114487p4707927.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
xercesImpl-2.10.0
Hi, Anybody else is having problem with the artifact xercesImpl-2.10.0 from Maven Central? My build fails because it cannot find: groupIdxml-apis/groupId artifactIdxml-apis/artifactId version1.4.01/version Indeed, this GAV is missing in Maven Central repo. Here's xercesImpl's pom ( http://search.maven.org/remotecontent?filepath=xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.pom ) Cheers, Jérémy
Generation of checksums of files included in assembly
Hello, I'm asking for some help on implementing / improving this feature commonly used in my enterprise builds. Objective is to generate a specific traceability file, for modules generating tar.gz assembly, with the list of files contained in the tar.gz along with their checksum. Constraints are : solution must be implemented in only one module, and easy to customize/understand. Tar.gz assembly can come from predefined assembly (packaged in jar) or assembly.xml in module sources. Idea already in place to implement this is as follow (simplified) : - Assembly:directory-single: generates tar.gz exploded as a folder - Antrun:run: generates file with list of checksums against exploded folder - Assembly:single: generates tar.gz included checksum file Problems are that : - Use of directory-single is deprecated, to avoid it I would need to either : o Use 2 formats in assemblies (dir + tar.gz) and execute them twice (using dir the first time and tar.gz the second time) -- performance issue ... ? o Create 2 distinct assemblies with a different format -- duplication issue, not user-friendly - It leads to quite complex plugins configurations where order is supremely important, and difficult to understand, and any subtle variation can make the whole thing fail ... Questions are : - Is there an easier and more maven-style way to achieve this need ? - I'd like to make this feature a plugin, but as it would need to be executed other more than one phase, I don't know how to proceed or where to start ... Thanks, Jeremie B.
Re: Maven deployment failure
Hi Karl, Thanks :) the issue was with release plugin configuration !!! -- View this message in context: http://maven.40175.n5.nabble.com/Maven-deployment-failure-tp4692892p4708461.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
site.xml and breadcrumbs
One might imagine that this page: http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html would tell me how to get the breadcrumbs across the top that are visible on, well, this page. I can't find it. Am I missing something obvious? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Surefire plugin: aggregator project - aggregate test results from all children?
All, We have the following project layout parent/pom.xml child1/pom.xml src/test/java TestOne.java TestTwo.java child2/pom.xml src/test/java TestMore.java TestAgain.java Building the parent project goes off and builds all of the child modules, invokes each child's test cases, and reports that they have succeeded at that level. The aggregator project does not have or need any test cases itself. child1/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL child2/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL BUILD SUCCESSFUL That's fine so far - that's the way I'd like it to work. We are using TFS team build to invoke nightly builds of the aggregator, and the thing is just saying no tests, no test results, since it's building the aggregator project and not the child modules individually. If i change it to build the children one at a time, I get those test results right on the dashboard. My question is, is there a way to have the aggregator project collect and aggregate the test results from the children, such as: child1/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL child2/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL $ ls ~/parent/target/surefire-reports TestOne.txt TestOne.xml TestTwo.txt TestTwo.xml TestMore.txt TestMore.xml TestAgain.txt TestAgain.xml In searching online I'm seeing things like -Daggregate=true but it doesn't seem to do anything. Is there any way to accomplish this with the surefire plugin? Latest version. Thanks! John John W. Newman Programmer [Description: C:\Users\newmjw\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook\TKMGHKML\d3via_logo (2).gif] 5750 Centre Avenue, Suite 500 Pittsburgh, PA 15206 Tel 412-204-0116 newma...@d3onc.commailto:newma...@d3onc.com www.d3onc.comhttp://www.d3onc.com/ Fax 412-365-0749 This e-mail may contain confidential information of the sending organization. Any unauthorized or improper disclosure, copying, distribution, or use of the contents of this e-mail and attached document(s) is prohibited. The information contained in this e-mail and attached document(s) is intended only for the personal and confidential use of the recipient(s) named above. If you have received this communication in error, please notify the sender immediately by e-mail and delete the original e-mail and attached document(s).
Maven Embedder
Is there any kind of users guide for the maven embedder? Not finding anything. I can find the source, but having to guess as to how to use the classes.
Kudos
Mailing lists are often overrun with people complaining and reporting bugs and squabbles and whatnot. I wanted to take a brief moment to simply say thanks to all for what has finally evolved into a really useful product. I love the fact that I can pull down most open source projects these days, and, without really thinking too hard about it, pull up their pom.xml file and at least have a rough idea of what they're trying to accomplish. I love that building and installing such a project has become as simple as mvn clean install. I love that I don't have to get in the head of whichever build-engineer-of-the-moment crafted a hand-rolled Ant or Gradle build. I love that as bulky and annoying as it can be, at least XML is declarative and easily read. Anyhow, thanks. Maven is not an easy system to learn, but once you do it pays off. Best, Laird
Re: Generation of checksums of files included in assembly
Hi, i could remember a time a go https://github.com/nicoulaj/maven-checksum-plugin which might go into the direction you are thinking of Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
SureFire and classpathDependencyExcludes: no transitives, right?
Is there a way using SureFire 2.9 to exclude dependencies *transitively*from the test classpath? It seems from what I have read and can tell that you must list specific dependencies to exclude. I want to make sure I'm not overlooking anything obvious. Thanks, Laird
codehaus.org
Hi, can any of you acknowledge problems with codehaus.org mojo.codehaus.org etc. not accessible from Germany ? Or is this just a local problem..? Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: codehaus.org
It looks like the site is kind of unstable http://www.downforeveryoneorjustme.com/mojo.codehaus.org right now it's down for me too (the Netherlands) -Robert Date: Wed, 17 Aug 2011 20:07:17 +0200 From: khmarba...@gmx.de To: users@maven.apache.org Subject: codehaus.org Hi, can any of you acknowledge problems with codehaus.org mojo.codehaus.org etc. not accessible from Germany ? Or is this just a local problem..? Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Troubleshooting a NPE in maven build
When I add dependency groupIdorg.springframework.ws/groupId artifactIdspring-ws-security/artifactId version2.0.2.RELEASE/version /dependency I get a NPE (see attached log) if I comment it out it builds fine. Where to start on this? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. 90dcfb61683e7dc99af532fb535dc87c40ebc64e *lib/mvn/org/springframework/ws/spring-ws-core/2.0.2.RELEASE/spring-ws-core-2.0.2.RELEASE.jar 67f2bffb70bef84206bd48e71fc32f11695c076b *lib/mvn/org/springframework/ws/spring-ws-core/2.0.2.RELEASE/spring-ws-core-2.0.2.RELEASE.jar.sha1 e4737ed266d911c41d02d1562af93c247418a647 *lib/mvn/org/springframework/ws/spring-ws-core/2.0.2.RELEASE/spring-ws-core-2.0.2.RELEASE.pom 60bef88b69b37baf7c3105587ffecaadd44bc6ae *lib/mvn/org/springframework/ws/spring-ws-core/2.0.2.RELEASE/spring-ws-core-2.0.2.RELEASE.pom.sha1 16efaf08d033af2d392d25c3c985bd7d35d23653 *lib/mvn/org/springframework/ws/spring-ws-core/2.0.2.RELEASE/_maven.repositories 3d9209d5bcfe779b4310801732ba0f365379da48 *lib/mvn/org/springframework/ws/spring-ws-parent/2.0.2.RELEASE/spring-ws-parent-2.0.2.RELEASE.pom 0d040b991b475650d4251e7346550c00e2583c4c *lib/mvn/org/springframework/ws/spring-ws-parent/2.0.2.RELEASE/spring-ws-parent-2.0.2.RELEASE.pom.sha1 ba9a82b2ca121e50351837302799018f0a293354 *lib/mvn/org/springframework/ws/spring-ws-parent/2.0.2.RELEASE/_maven.repositories f0f91f7c390cf567637c19fa1a144aa8fd22c3d5 *lib/mvn/org/springframework/ws/spring-ws-security/2.0.2.RELEASE/spring-ws-security-2.0.2.RELEASE.pom d9aac62f39b17a548aafd744021bd356866af8d1 *lib/mvn/org/springframework/ws/spring-ws-security/2.0.2.RELEASE/spring-ws-security-2.0.2.RELEASE.pom.sha1 38d08feeb4e63b9c7d7917cc2d7fea317ce771b9 *lib/mvn/org/springframework/ws/spring-ws-security/2.0.2.RELEASE/_maven.repositories 906995b0d2fd095218c050346408b3ddb7ff1859 *lib/mvn/org/springframework/ws/spring-xml/2.0.2.RELEASE/spring-xml-2.0.2.RELEASE.jar 2d88ec5f5f1dca2f64e07cdc2d6fea28f6a23b98 *lib/mvn/org/springframework/ws/spring-xml/2.0.2.RELEASE/spring-xml-2.0.2.RELEASE.jar.sha1 7d46d2859f72fa3daa636d8f1f46a2558581830b *lib/mvn/org/springframework/ws/spring-xml/2.0.2.RELEASE/spring-xml-2.0.2.RELEASE.pom 01b8d9fd4ad8b32725d35622f07a560d82fd1c46 *lib/mvn/org/springframework/ws/spring-xml/2.0.2.RELEASE/spring-xml-2.0.2.RELEASE.pom.sha1 26c104382c6be86f3ab81533e5f9e4a91faa1810 *lib/mvn/org/springframework/ws/spring-xml/2.0.2.RELEASE/_maven.repositories ?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; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.carefirst.fep.local.webservices/groupId artifactIdfepl5010webServices/artifactId packagingwar/packaging version1.0-SNAPSHOT/version namefepl 5010 Spring-WS Application/name urlhttp://www.springframework.org/spring-ws/url properties project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties build defaultGoalverify/defaultGoal directoryout/directory !--finalNamefepl5010webServices/finalName-- plugins plugin groupIdorg.jibx/groupId artifactIdmaven-jibx-plugin/artifactId version1.2.3/version /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.1.1/version /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId version2.3/version executions execution goals goalproperties/goal /goals !-- phaseprocess-classes/phase -- /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-install-plugin/artifactId version2.3.1/version inheritedfalse/inherited executions execution idfepl-commons.jar/id goals goalinstall-file/goal /goals phasevalidate/phase configuration file${project.basedir}/../build/fepl-commons.jar/file groupIdcom.carefirst.fep.local.commons/groupId artifactIdfepl-commons/artifactId version1.0-SNAPSHOT/version packagingjar/packaging /configuration /execution execution idfepl-orm-persistence-defaultconfig.jar/id goals goalinstall-file/goal /goals phasevalidate/phase
RE: [maven] Troubleshooting a NPE in maven build
-Original Message- From: Jason Pyeron Sent: Wednesday, August 17, 2011 14:49 To: 'Maven Users List' Subject: RE: [maven] Troubleshooting a NPE in maven build -Original Message- From: Jason Pyeron Sent: Wednesday, August 17, 2011 14:47 To: 'Maven Users List' Subject: [maven] Troubleshooting a NPE in maven build When I add dependency groupIdorg.springframework.ws/groupId artifactIdspring-ws-security/artifactId version2.0.2.RELEASE/version /dependency I get a NPE (see attached log) if I comment it out it builds fine. It stripped the log. Where to start on this? Running: mvn dependency:go-offline Tells me: Failed to read artifact descriptor for com.sun.xml.wss:xws-security:jar:3.0: Could not transfer artifact com.sun.xml.wss:xws-security:pom:3.0 from/to java.net (http://download.java.net/maven/1/): No connector available to access repository java.net (http://download.java.net/maven/1/) of type legacy using the available factories WagonRepositoryConnectorFactory - [Help 1] Full log attached. I am googling this one right now. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) Maven home: C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\var\opt\apache-maven-3.0.3 Java version: 1.6.0_26, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_26\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows xp, version: 5.2, arch: amd64, family: windows [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\var\opt\apache-maven-3.0.3\conf\settings.xml [DEBUG] Reading user settings from C:\Documents and Settings\jpyeron\.m2\settings.xml [DEBUG] Using local repository at C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\.\lib\mvn [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\.\lib\mvn [INFO] Scanning for projects... [DEBUG] Extension realms for project com.carefirst.fep.local.webservices:fepl5010webServices:war:1.0-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null] [DEBUG] Resolving plugin prefix dependency from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Resolved plugin prefix dependency to org.apache.maven.plugins:maven-dependency-plugin from POM com.carefirst.fep.local.webservices:fepl5010webServices:war:1.0-SNAPSHOT [DEBUG] === REACTOR BUILD PLAN [DEBUG] Project: com.carefirst.fep.local.webservices:fepl5010webServices:war:1.0-SNAPSHOT [DEBUG] Tasks: [dependency:go-offline] [DEBUG] Style: Regular [DEBUG] === [INFO] [INFO] [INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT [INFO] [DEBUG] Resolving plugin prefix dependency from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Resolved plugin prefix dependency to org.apache.maven.plugins:maven-dependency-plugin from POM com.carefirst.fep.local.webservices:fepl5010webServices:war:1.0-SNAPSHOT [DEBUG] Lifecycle default - [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean - [pre-clean, clean, post-clean] [DEBUG] Lifecycle site - [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN [DEBUG] Project: com.carefirst.fep.local.webservices:fepl5010webServices:1.0-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [test] [DEBUG] Repositories (dependencies): [central (http://repo1.maven.org/maven2, releases)] [DEBUG] Repositories (plugins) : [central
RE: [maven] Troubleshooting a NPE in maven build
-Original Message- From: Jason Pyeron Sent: Wednesday, August 17, 2011 15:00 To: 'Maven Users List' Subject: RE: [maven] Troubleshooting a NPE in maven build snip/ When I add dependency groupIdorg.springframework.ws/groupId artifactIdspring-ws-security/artifactId version2.0.2.RELEASE/version /dependency I get a NPE (see attached log) if I comment it out it builds fine. snip/ Failed to read artifact descriptor for com.sun.xml.wss:xws-security:jar:3.0: Could not transfer artifact com.sun.xml.wss:xws-security:pom:3.0 from/to java.net (http://download.java.net/maven/1/): No connector available to access repository java.net (http://download.java.net/maven/1/) of type legacy using the available factories WagonRepositoryConnectorFactory - [Help 1] A work around is to install the artifact by hand. mvn install:install-file -Dfile=tmp/xws-security-3.0.jar -DgroupId=com.sun.xml.wss -DartifactId=xws-security -Dversion=3.0 -Dpackaging=jar -DgeneratePom=true But what is the solution to connect to a maven 1 repo? -Jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: [maven] Troubleshooting a NPE in maven build
https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-LegacystyleRepositories -Robert From: jpye...@pdinc.us To: users@maven.apache.org Subject: RE: [maven] Troubleshooting a NPE in maven build Date: Wed, 17 Aug 2011 15:09:49 -0400 -Original Message- From: Jason Pyeron Sent: Wednesday, August 17, 2011 15:00 To: 'Maven Users List' Subject: RE: [maven] Troubleshooting a NPE in maven build snip/ When I add dependency groupIdorg.springframework.ws/groupId artifactIdspring-ws-security/artifactId version2.0.2.RELEASE/version /dependency I get a NPE (see attached log) if I comment it out it builds fine. snip/ Failed to read artifact descriptor for com.sun.xml.wss:xws-security:jar:3.0: Could not transfer artifact com.sun.xml.wss:xws-security:pom:3.0 from/to java.net (http://download.java.net/maven/1/): No connector available to access repository java.net (http://download.java.net/maven/1/) of type legacy using the available factories WagonRepositoryConnectorFactory - [Help 1] A work around is to install the artifact by hand. mvn install:install-file -Dfile=tmp/xws-security-3.0.jar -DgroupId=com.sun.xml.wss -DartifactId=xws-security -Dversion=3.0 -Dpackaging=jar -DgeneratePom=true But what is the solution to connect to a maven 1 repo? -Jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Kudos
Yah, I'd have to agree with this sentiment. Maven isn't the easiest thing to learn, but documentation has improved remarkably over the years and the network effect of having more people familiar with Maven means that there's Maven experts that are closer to more people in real life. More thanks to all the folks that made this happen! On Aug 17, 2011, at 12:16 PM, Laird Nelson wrote: Mailing lists are often overrun with people complaining and reporting bugs and squabbles and whatnot. I wanted to take a brief moment to simply say thanks to all for what has finally evolved into a really useful product. I love the fact that I can pull down most open source projects these days, and, without really thinking too hard about it, pull up their pom.xml file and at least have a rough idea of what they're trying to accomplish. I love that building and installing such a project has become as simple as mvn clean install. I love that I don't have to get in the head of whichever build-engineer-of-the-moment crafted a hand-rolled Ant or Gradle build. I love that as bulky and annoying as it can be, at least XML is declarative and easily read. Anyhow, thanks. Maven is not an easy system to learn, but once you do it pays off. Best, Laird - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Kudos
I wouldn't say maven is difficult to setup. I'm certainly a maven newb but was able to get our projects building with maven and our in house nexus repository within 2 weeks. And I had 0 ant/ivy experience as well. I only wish our company had our own build engineers to setup and manage the environment, I'm guessing most big shops do this and don't let the devs admin their own artifact repository server. Chris -Original Message- From: users-return-122692-Meeusen.Christopher=mayo@maven.apache.org [mailto:users-return-122692-Meeusen.Christopher=mayo@maven.apache.or g] On Behalf Of Brian Topping Sent: Wednesday, August 17, 2011 2:21 PM To: Maven Users List Subject: Re: Kudos Yah, I'd have to agree with this sentiment. Maven isn't the easiest thing to learn, but documentation has improved remarkably over the years and the network effect of having more people familiar with Maven means that there's Maven experts that are closer to more people in real life. More thanks to all the folks that made this happen! On Aug 17, 2011, at 12:16 PM, Laird Nelson wrote: Mailing lists are often overrun with people complaining and reporting bugs and squabbles and whatnot. I wanted to take a brief moment to simply say thanks to all for what has finally evolved into a really useful product. I love the fact that I can pull down most open source projects these days, and, without really thinking too hard about it, pull up their pom.xml file and at least have a rough idea of what they're trying to accomplish. I love that building and installing such a project has become as simple as mvn clean install. I love that I don't have to get in the head of whichever build-engineer-of-the-moment crafted a hand-rolled Ant or Gradle build. I love that as bulky and annoying as it can be, at least XML is declarative and easily read. Anyhow, thanks. Maven is not an easy system to learn, but once you do it pays off. Best, Laird - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Maven Embedder
Hmm. Or is the Maven Embedder no longer supported? http://stackoverflow.com/questions/5141788/how-to-run-maven-from-java From: Thiessen, Todd (Todd) Sent: Wednesday, August 17, 2011 11:27 AM To: users@maven.apache.org Subject: Maven Embedder Is there any kind of users guide for the maven embedder? Not finding anything. I can find the source, but having to guess as to how to use the classes.
Re: Maven Embedder
A single embedder really doesn't make any sense, or at least this is what we have found working on Nexus, M2Eclipse, Hudson and a bunch of other tools. All of the use cases are slightly different and it is just easier to grab the individual components and piece them together as required. We have several small embedders for all of the tools now. We could probably make another one now that might be useful but the first form of the embedder certainly wasn't which is why it was removed. On Aug 17, 2011, at 3:35 PM, Thiessen, Todd (Todd) wrote: Hmm. Or is the Maven Embedder no longer supported? http://stackoverflow.com/questions/5141788/how-to-run-maven-from-java From: Thiessen, Todd (Todd) Sent: Wednesday, August 17, 2011 11:27 AM To: users@maven.apache.org Subject: Maven Embedder Is there any kind of users guide for the maven embedder? Not finding anything. I can find the source, but having to guess as to how to use the classes. Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau
Re: Maven Embedder
Today, you should really use Maven 3 which is designed to be embeddable in tools. I have no experience myself of this, but it has been discussed a few times on this mailing list although quite some time has passed since the last time it was brought up. You could try searching any of the archives. One other way is to have a look at m2eclipse code, which takes full advantage of integrating Maven into a tool. /Anders PS. The Maven Embedder I believe you're asking about was based on some old Maven 2.0 code and found impossible to maintain. On Wed, Aug 17, 2011 at 21:35, Thiessen, Todd (Todd) tthies...@avaya.com wrote: Hmm. Or is the Maven Embedder no longer supported? http://stackoverflow.com/questions/5141788/how-to-run-maven-from-java From: Thiessen, Todd (Todd) Sent: Wednesday, August 17, 2011 11:27 AM To: users@maven.apache.org Subject: Maven Embedder Is there any kind of users guide for the maven embedder? Not finding anything. I can find the source, but having to guess as to how to use the classes. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [ANN] DBUpgade Maven Plugin 1.0-beta-1 release
Hi, thank you for the correction You're welcome... But i have found an other small issue(s): http://mojo.codehaus.org/dbupgrade/dbupgrade-maven-plugin/ The links given on the page: dbupgrade:generic-upgrade dbupgrade:filelist-upgrade dbupgrade:clean-database are not working... Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Maven Embedder
I like the idea of using only the parts of the embedder that you need. Is anything published anywhere which can list which components are available for what tasks? I have been looking through the source for this artifact and its dependencies: dependency groupIdorg.apache.maven/groupId artifactIdmaven-embedder/artifactId version3.0.3/version /dependency But haven't had too much luck trying to piece it all together. Ultimately what I want to do is to be able to have a combined view of the properties defined in the pom and in a profile defined in my local settings.xml file. I have found a number of classes like DefaultSettingsBuilder and DefaultProjectBuilder but they all require other classes which other classes, etc... -Original Message- From: Jason van Zyl [mailto:ja...@maven.org] Sent: Wednesday, August 17, 2011 3:45 PM To: Maven Users List Subject: Re: Maven Embedder A single embedder really doesn't make any sense, or at least this is what we have found working on Nexus, M2Eclipse, Hudson and a bunch of other tools. All of the use cases are slightly different and it is just easier to grab the individual components and piece them together as required. We have several small embedders for all of the tools now. We could probably make another one now that might be useful but the first form of the embedder certainly wasn't which is why it was removed. On Aug 17, 2011, at 3:35 PM, Thiessen, Todd (Todd) wrote: Hmm. Or is the Maven Embedder no longer supported? http://stackoverflow.com/questions/5141788/how-to-run-maven-from-java From: Thiessen, Todd (Todd) Sent: Wednesday, August 17, 2011 11:27 AM To: users@maven.apache.org Subject: Maven Embedder Is there any kind of users guide for the maven embedder? Not finding anything. I can find the source, but having to guess as to how to use the classes. Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [maven] Troubleshooting a NPE in maven build
A work around is to install the artifact by hand. But what is the solution to connect to a maven 1 repo? Install an MRM like Nexus, Artifactory, Archiva and these problems magically go away... Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [ANN] DBUpgade Maven Plugin 1.0-beta-1 release
Yep, I believe this is due to syntax change in a newer version of Doxia. The source files for the site needs to be updated. I've filed MOJO-1721 [1] regarding this. /Anders [1] http://jira.codehaus.org/browse/MOJO-1721 On Wed, Aug 17, 2011 at 22:00, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, thank you for the correction You're welcome... But i have found an other small issue(s): http://mojo.codehaus.org/dbupgrade/dbupgrade-maven-plugin/ The links given on the page: dbupgrade:generic-upgrade dbupgrade:filelist-upgrade dbupgrade:clean-database are not working... Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [ANN] DBUpgade Maven Plugin 1.0-beta-1 release
will fix the page soon. Thanks -D On Wed, Aug 17, 2011 at 1:10 PM, Anders Hammar and...@hammar.net wrote: Yep, I believe this is due to syntax change in a newer version of Doxia. The source files for the site needs to be updated. I've filed MOJO-1721 [1] regarding this. /Anders [1] http://jira.codehaus.org/browse/MOJO-1721 On Wed, Aug 17, 2011 at 22:00, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, thank you for the correction You're welcome... But i have found an other small issue(s): http://mojo.codehaus.org/dbupgrade/dbupgrade-maven-plugin/ The links given on the page: dbupgrade:generic-upgrade dbupgrade:filelist-upgrade dbupgrade:clean-database are not working... Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
site plugin: automatic breadcrumbs for modules or not?
I am confused about breadcrumb inheritance. If a project-with-modules specifies breadcrumbs, and its children do not, they don't see to get a breadcrumb up to their parent. Should they? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Signed maven dependency and create an assembly
Hi All, Seems like this question has been asked many times but i haven't seen straight forward answer. I have a project which uses assembly to bundle jar files. jnlp is required to use jar files. I can use jarsigner plugin to signed jar but assembly is not using those jars. How can i create an assembly with all signed jar. Regards, Amit Patel || The Intelligence || … In comparison, someone else may possess only a little intelligence, but if, after realising his own flaws, he attempts to eradicate them, then even his limited intelligence is useful in attaining liberation. In fact, only he can be called intelligent… [Panchãlã-3]
RE: Signed maven dependency and create an assembly
Try http://mojo.codehaus.org/webstart/webstart-maven-plugin/index.html -Robert Date: Wed, 17 Aug 2011 16:50:06 -0400 Subject: Signed maven dependency and create an assembly From: amit.vanka...@gmail.com To: users@maven.apache.org Hi All, Seems like this question has been asked many times but i haven't seen straight forward answer. I have a project which uses assembly to bundle jar files. jnlp is required to use jar files. I can use jarsigner plugin to signed jar but assembly is not using those jars. How can i create an assembly with all signed jar. Regards, Amit Patel || The Intelligence || … In comparison, someone else may possess only a little intelligence, but if, after realising his own flaws, he attempts to eradicate them, then even his limited intelligence is useful in attaining liberation. In fact, only he can be called intelligent… [Panchãlã-3] - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: codehaus.org
On 17 August 2011 11:16, Robert Scholte rfscho...@codehaus.org wrote: It looks like the site is kind of unstable http://www.downforeveryoneorjustme.com/mojo.codehaus.org right now it's down for me too (the Netherlands) It's up for me right now (Canada) but it was down for several hours a few weeks ago. So unstable seems to describe it well. :-) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: codehaus.org
I've had connectivity problems with that site pretty regularly going on for a couple years now. Sometimes it works, sometimes it doesn't. :-DRight now at the moment it does work, but earlier today it did not. -Original Message- From: Hilco Wijbenga [mailto:hilco.wijbe...@gmail.com] Sent: Wednesday, August 17, 2011 5:31 PM To: Maven Users List Subject: Re: codehaus.org On 17 August 2011 11:16, Robert Scholte rfscho...@codehaus.org wrote: It looks like the site is kind of unstable http://www.downforeveryoneorjustme.com/mojo.codehaus.org right now it's down for me too (the Netherlands) It's up for me right now (Canada) but it was down for several hours a few weeks ago. So unstable seems to describe it well. :-) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Maven Embedder
I can volunteer some time to help make some of these components available. I presume most of these components can be found in the 3.0.3 maven-embedder artifact? Or is that artifact effectively deprecated and the components are found somewhere else? -Original Message- From: Thiessen, Todd (Todd) [mailto:tthies...@avaya.com] Sent: Wednesday, August 17, 2011 4:01 PM To: Maven Users List Subject: RE: Maven Embedder I like the idea of using only the parts of the embedder that you need. Is anything published anywhere which can list which components are available for what tasks? I have been looking through the source for this artifact and its dependencies: dependency groupIdorg.apache.maven/groupId artifactIdmaven-embedder/artifactId version3.0.3/version /dependency But haven't had too much luck trying to piece it all together. Ultimately what I want to do is to be able to have a combined view of the properties defined in the pom and in a profile defined in my local settings.xml file. I have found a number of classes like DefaultSettingsBuilder and DefaultProjectBuilder but they all require other classes which other classes, etc... -Original Message- From: Jason van Zyl [mailto:ja...@maven.org] Sent: Wednesday, August 17, 2011 3:45 PM To: Maven Users List Subject: Re: Maven Embedder A single embedder really doesn't make any sense, or at least this is what we have found working on Nexus, M2Eclipse, Hudson and a bunch of other tools. All of the use cases are slightly different and it is just easier to grab the individual components and piece them together as required. We have several small embedders for all of the tools now. We could probably make another one now that might be useful but the first form of the embedder certainly wasn't which is why it was removed. On Aug 17, 2011, at 3:35 PM, Thiessen, Todd (Todd) wrote: Hmm. Or is the Maven Embedder no longer supported? http://stackoverflow.com/questions/5141788/how-to-run-maven-from- java From: Thiessen, Todd (Todd) Sent: Wednesday, August 17, 2011 11:27 AM To: users@maven.apache.org Subject: Maven Embedder Is there any kind of users guide for the maven embedder? Not finding anything. I can find the source, but having to guess as to how to use the classes. Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: codehaus.org
Hi John, if you mean something like [INFO] [site:deploy {execution: default-deploy}] https://dav.codehaus.org/mojo/webtest-maven-plugin - Session: Opened Aug 17, 2011 8:15:55 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme INFO: basic authentication scheme selected Uploading: ./announcements/announcement-0.6.3.txt to https://dav.codehaus.org/mojo/webtest-maven-plugin # Transfer error: java.net.SocketTimeoutException: Read timed out https://dav.codehaus.org/mojo/webtest-maven-plugin - Session: Disconnecting https://dav.codehaus.org/mojo/webtest-maven-plugin - Session: Disconnected than it can be concluded that there are connectivity issues from Europe at the moment Siegfried Goeschl On 17.08.11 23:41, Newman, John W wrote: I've had connectivity problems with that site pretty regularly going on for a couple years now. Sometimes it works, sometimes it doesn't. :-DRight now at the moment it does work, but earlier today it did not. -Original Message- From: Hilco Wijbenga [mailto:hilco.wijbe...@gmail.com] Sent: Wednesday, August 17, 2011 5:31 PM To: Maven Users List Subject: Re: codehaus.org On 17 August 2011 11:16, Robert Scholterfscho...@codehaus.org wrote: It looks like the site is kind of unstable http://www.downforeveryoneorjustme.com/mojo.codehaus.org right now it's down for me too (the Netherlands) It's up for me right now (Canada) but it was down for several hours a few weeks ago. So unstable seems to describe it well. :-) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
Hi Benson, This part has changed over site versions: I consider you're using latest 3.0 version. If you're using an older version, what I'll say may not be true and I don't know exactly the detail of every version. Breadcrumb inheritance is done in Doxia Sitetool: see [1]. Notice that I expact to continue to improve it in next m-site-p version, since there is room for improvement: see [2]. Regards, Hervé [1] http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration- model/xref/org/apache/maven/doxia/site/decoration/inheritance/DefaultDecorationModelInheritanceAssembler.html#215 [2] http://jira.codehaus.org/browse/MSITE-582 Le mercredi 17 août 2011, Benson Margulies a écrit : I am confused about breadcrumb inheritance. If a project-with-modules specifies breadcrumbs, and its children do not, they don't see to get a breadcrumb up to their parent. Should they? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
Hervé, I am now using site 3.0 with maven 2.2.1. I've had a long day of running into problems, abstracting a small test case, and then having the small test case work (or demonstrate that I'd made some idiot error or another). In the case at hand, I had just finished manually putting breadcrumbs into all my 'aggregating' projects' children since I seemed to never get an auto-crumb for them. Then I went to make you a test case, and it worked perfectly. So I'm left puzzled. I might go take out one of these supposedly unnecessary breadcrumbs and see if I can debug any explanation of what's going on. --benson On Wed, Aug 17, 2011 at 8:30 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: Hi Benson, This part has changed over site versions: I consider you're using latest 3.0 version. If you're using an older version, what I'll say may not be true and I don't know exactly the detail of every version. Breadcrumb inheritance is done in Doxia Sitetool: see [1]. Notice that I expact to continue to improve it in next m-site-p version, since there is room for improvement: see [2]. Regards, Hervé [1] http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration- model/xref/org/apache/maven/doxia/site/decoration/inheritance/DefaultDecorationModelInheritanceAssembler.html#215 [2] http://jira.codehaus.org/browse/MSITE-582 Le mercredi 17 août 2011, Benson Margulies a écrit : I am confused about breadcrumb inheritance. If a project-with-modules specifies breadcrumbs, and its children do not, they don't see to get a breadcrumb up to their parent. Should they? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
Aha! I got you a test case. JIRA coming up. On Wed, Aug 17, 2011 at 8:30 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: Hi Benson, This part has changed over site versions: I consider you're using latest 3.0 version. If you're using an older version, what I'll say may not be true and I don't know exactly the detail of every version. Breadcrumb inheritance is done in Doxia Sitetool: see [1]. Notice that I expact to continue to improve it in next m-site-p version, since there is room for improvement: see [2]. Regards, Hervé [1] http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration- model/xref/org/apache/maven/doxia/site/decoration/inheritance/DefaultDecorationModelInheritanceAssembler.html#215 [2] http://jira.codehaus.org/browse/MSITE-582 Le mercredi 17 août 2011, Benson Margulies a écrit : I am confused about breadcrumb inheritance. If a project-with-modules specifies breadcrumbs, and its children do not, they don't see to get a breadcrumb up to their parent. Should they? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
great! I'm sure there was something wrong, because you're not the only one hit. Actually, everything is prepared to add such unit tests or ITs and fix things definitively: you're test case is really welcome Regards, Hervé Le jeudi 18 août 2011, Benson Margulies a écrit : Aha! I got you a test case. JIRA coming up. On Wed, Aug 17, 2011 at 8:30 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: Hi Benson, This part has changed over site versions: I consider you're using latest 3.0 version. If you're using an older version, what I'll say may not be true and I don't know exactly the detail of every version. Breadcrumb inheritance is done in Doxia Sitetool: see [1]. Notice that I expact to continue to improve it in next m-site-p version, since there is room for improvement: see [2]. Regards, Hervé [1] http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration- model/xref/org/apache/maven/doxia/site/decoration/inheritance/DefaultDeco rationModelInheritanceAssembler.html#215 [2] http://jira.codehaus.org/browse/MSITE-582 Le mercredi 17 août 2011, Benson Margulies a écrit : I am confused about breadcrumb inheritance. If a project-with-modules specifies breadcrumbs, and its children do not, they don't see to get a breadcrumb up to their parent. Should they? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
notice that I added site:effective-site goal in m-site-p 2.2 to help diagnose such issues just in case you did'nt know... Le jeudi 18 août 2011, Hervé BOUTEMY a écrit : I must admit I went into such puzzling issues in the past: there are a lot of Maven modules where I added a site.xml since it seemed to help inheritance. But same as your case: sometimes it seemed to be necessary, then it was not any more... That's why inheritance was reworked, lots of ITs were added in m-site-p 2.4 and 3.0, and finally 3.0 was done the only version for Maven 23: this used to be a nightmare, we needed to fix things, test it more precisely. Then (anf only then) add new features :) Regards, Hervé Le jeudi 18 août 2011, Benson Margulies a écrit : Hervé, I am now using site 3.0 with maven 2.2.1. I've had a long day of running into problems, abstracting a small test case, and then having the small test case work (or demonstrate that I'd made some idiot error or another). In the case at hand, I had just finished manually putting breadcrumbs into all my 'aggregating' projects' children since I seemed to never get an auto-crumb for them. Then I went to make you a test case, and it worked perfectly. So I'm left puzzled. I might go take out one of these supposedly unnecessary breadcrumbs and see if I can debug any explanation of what's going on. --benson On Wed, Aug 17, 2011 at 8:30 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: Hi Benson, This part has changed over site versions: I consider you're using latest 3.0 version. If you're using an older version, what I'll say may not be true and I don't know exactly the detail of every version. Breadcrumb inheritance is done in Doxia Sitetool: see [1]. Notice that I expact to continue to improve it in next m-site-p version, since there is room for improvement: see [2]. Regards, Hervé [1] http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration- model/xref/org/apache/maven/doxia/site/decoration/inheritance/DefaultDe co rationModelInheritanceAssembler.html#215 [2] http://jira.codehaus.org/browse/MSITE-582 Le mercredi 17 août 2011, Benson Margulies a écrit : I am confused about breadcrumb inheritance. If a project-with-modules specifies breadcrumbs, and its children do not, they don't see to get a breadcrumb up to their parent. Should they? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
On Wed, Aug 17, 2011 at 9:12 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: notice that I added site:effective-site goal in m-site-p 2.2 to help diagnose such issues just in case you did'nt know... As it happens, I didn't notice that, so merci for pointing it out. If I have some time, I'll try to turn the test case in MSITE-608 into an IT for you -- unless it turns out that MSITE-608 is 'by design' in which case I'll edit some doc. I'm now stable, and I copied your workaround of having a site-pom.xml from the global poms for my recent nemesis MSITE-600. Le jeudi 18 août 2011, Hervé BOUTEMY a écrit : I must admit I went into such puzzling issues in the past: there are a lot of Maven modules where I added a site.xml since it seemed to help inheritance. But same as your case: sometimes it seemed to be necessary, then it was not any more... That's why inheritance was reworked, lots of ITs were added in m-site-p 2.4 and 3.0, and finally 3.0 was done the only version for Maven 23: this used to be a nightmare, we needed to fix things, test it more precisely. Then (anf only then) add new features :) Regards, Hervé Le jeudi 18 août 2011, Benson Margulies a écrit : Hervé, I am now using site 3.0 with maven 2.2.1. I've had a long day of running into problems, abstracting a small test case, and then having the small test case work (or demonstrate that I'd made some idiot error or another). In the case at hand, I had just finished manually putting breadcrumbs into all my 'aggregating' projects' children since I seemed to never get an auto-crumb for them. Then I went to make you a test case, and it worked perfectly. So I'm left puzzled. I might go take out one of these supposedly unnecessary breadcrumbs and see if I can debug any explanation of what's going on. --benson On Wed, Aug 17, 2011 at 8:30 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: Hi Benson, This part has changed over site versions: I consider you're using latest 3.0 version. If you're using an older version, what I'll say may not be true and I don't know exactly the detail of every version. Breadcrumb inheritance is done in Doxia Sitetool: see [1]. Notice that I expact to continue to improve it in next m-site-p version, since there is room for improvement: see [2]. Regards, Hervé [1] http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration- model/xref/org/apache/maven/doxia/site/decoration/inheritance/DefaultDe co rationModelInheritanceAssembler.html#215 [2] http://jira.codehaus.org/browse/MSITE-582 Le mercredi 17 août 2011, Benson Margulies a écrit : I am confused about breadcrumb inheritance. If a project-with-modules specifies breadcrumbs, and its children do not, they don't see to get a breadcrumb up to their parent. Should they? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
On Thu, Aug 18, 2011 at 10:31 AM, Benson Margulies bimargul...@gmail.com wrote: Aha! I got you a test case. JIRA coming up. Can you fling the jira link too please. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
http://jira.codehaus.org/browse/MSITE-608 the discussion happens here now Le jeudi 18 août 2011, Barrie Treloar a écrit : On Thu, Aug 18, 2011 at 10:31 AM, Benson Margulies bimargul...@gmail.com wrote: Aha! I got you a test case. JIRA coming up. Can you fling the jira link too please. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: site plugin: automatic breadcrumbs for modules or not?
On Thu, Aug 18, 2011 at 12:01 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: http://jira.codehaus.org/browse/MSITE-608 the discussion happens here now Thanks, I'm just lurking but I wanted to know whether to watch the jira or not. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Shade and assembly plugin: Assembling a jar containing packed jars
Hi, I'm working on Apache AVRO (Issue 570) and I'm having a maven issue that I was hoping to get some help with. The pre-existing pom.xml is using the shade plugin to build a jar which includes all of the dependencies, unpacked. The configuration is below. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-shade-plugin/artifactId version1.4/version !-- primary artifact is shaded -- executions execution goals goalshade/goal /goals configuration transformers transformer implementation=org.apache.maven.plugins.shade.resource.ManifestResourceTransformer mainClassorg.apache.avro.tool.Main/mainClass /transformer /transformers /configuration /execution /executions /plugin The net result of running the shade plugin is three jars 1. avro-tools-1.6.0-SNAPSHOT.jar - which includes all of the dependency jars as well as the classes specific to this project. 2. original-avro-tools-1.6.0-SNAPSHOT.jar - which doesn't include any dependency files 3. avro-tools-1.6.0-SNAPSHOT-nodeps.jar - which seems to be the same as original-avro-tools-1.6.0-SNAPSHOT.jar. Now I need to build another jar, avro-tools-1.6.0-SNAPSHOT-job.jar, which places all the jars on which we depend in the directory lib inside avro-tools-1.6.0-SNAPSHOT-job.jar. avro-tools-1.6.0-SNAPSHOT-job.jar should also contain the class files for avro-tools. Because the shaded plugin causes avro-tools-1.6.0-SNAPSHOT.jar to contain unpacked versions of all dependencies, I set my maven assembly configuration to use the nodeps version of the avro-tools jar. Unfortunately, this prevents any of the tools code from being included in the jar built by the assembly plugin. This is the configuration for my assembly file. assembly xmlns= http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd; idjob/id formats formatjar/format /formats includeBaseDirectoryfalse/includeBaseDirectory dependencySets dependencySet unpackfalse/unpack scoperuntime/scope outputDirectorylib/outputDirectory excludes excludeorg.apache.avro:avro-tools/exclude /excludes /dependencySet dependencySet unpacktrue/unpack scoperuntime/scope outputDirectory//outputDirectory includes includeorg.apache.avro:avro-tools:jar:${project.version}:nodeps/include /includes unpackOptions excludes excludeMETA-INF/exclude excludeMETA-INF/**/exclude /excludes /unpackOptions /dependencySet /dependencySets /assembly If I remove nodeps then the jar built by the assembly plugin ends up containing unpacked as well as packed versions of the dependencies because its using avro-tools-1.6.0-SNAPSHOT.jar Can anyone tell me how I can leave the shaded plugin configured as is, and still use the assembly plugin to build avro-tools-1.6.0-SNAPSHOT-job.jar? Thanks Jeremy