trouble relocating a plugin
I asked a few months ago on the user list about relocating a plugin and finally got around to doing it. Well, it didn't go as planned. I had a plugin with groupId com.mtvi.plateng.maven and artifactId maven-hudson-plugin (yes, I know this should probably be hudson-maven-plugin and if I can get relocation to work with the groupId, maybe I'll try to tackle the artifactId next). I want to change the groupId to be org.jvnet.hudson.tools. The previous version was 2.0-alpha-1 and I just released 2.0-alpha-2 under the new groupId. I edited /com/mtvi/plateng/maven/maven-hudson-plugin/maven-metadata.xml to be: com.mtvi.plateng.maven maven-hudson-plugin 2.0-alpha-2 2.0-alpha-2 2.0-alpha-2 2.0-alpha-1 2.0-alpha-2 20081027131100 (and regenerated the hashes) Then I created /com/mtvi/plateng/maven/maven-hudson-plugin/2.0-alpha-2/maven-hudson-plu gin-2.0-alpha-2.pom with this content: 4.0.0 com.mtvi.plateng.maven maven-hudson-plugin 2.0-alpha-2 org.jvnet.hudson.tools (and generated hashes for this) When running against a clean local repository and a settings file that contains ONLY com.mtvi.plateng.maven as a pluginGroup, I can see that the relocation is respected (in that I download /org/jvnet/hudson/tools/maven-hudson-plugin/2.0-alpha-2/maven-hudson-plu gin-2.0-alpha-2.pom), but I get an error that the JAR file is missing because Maven is attempting to download the JAR from the pre-reloation location: Downloading: http://download.java.net/maven/2/com/mtvi/plateng/maven/maven-hudson-plu gin/2.0-alpha-2/maven-hudson-plugin-2.0-alpha-2.jar Instead of the relocated location. Any ideas? All of these (pre-relocation, relocation, and relocated) artifacts can be found on the java.net repository. Thanks, Justin Edelson VP, Platform Engineering MTV Networks Digital - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-release-plugin
>> I use the maven-release-plugin, the two goals prepare and perform. >> But I don't want Maven generate the pom for the next iteration how >> can I do that ? I want simply to pass from the snapshots to the >> releases. Take note of Craig's excellent points. The idea is for the release plugin to do everything necessary for your next release, which involves moving the POM up to a snapshot focusing on the next release. In the process it creates you a tag with release version numbers; release files should be considered immutable anyway (updating them requires a new version number). If you need the files with the release version number, they are available on the tag - just copy from the tag, if for example you want to branch from there (mvn release:branch also works quite nicely for this but is not required). If you want Maven to set the version numbers back the way they were before the release, just type in the existing SNAPSHOT version numbers when Maven asks you for the next development version. I do this when releasing from a branch so that the branch remains consistent with the version it was planned for. New changes go on another branch. - John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-release-plugin
Hi Rémy, I don't have an answer for you, but I just wanted to make a couple of points. * you only run the release plugin on a snapshot version * normally, a snapshot will be on the trunk or a branch * release:prepare creates a tag with the non-snapshot version, which is the "released code" * if you then had the situation where you *didn't* move the version numbers on, you would have a non-snapshot version on the trunk or a branch. This scenario makes it possible to have multiple builds of the same version number with different code in it. If these were deployed to a shared maven repository, there is no indication which one you are looking at. Having snapshot in the version makes it very clear that it is in a transient state, and not released code. Maybe if you explain why you want to do this, I can be of more help. cheers, Craig On Tue, Oct 28, 2008 at 10:25 AM, Rémy <[EMAIL PROTECTED]> wrote: > > I use the maven-release-plugin, the two goals prepare and perform. But I > don't want Maven generate the pom for the next iteration how can I do that ? > I want simply to pass from the snapshots to the releases. > Thanks. > Rémy. > -- > View this message in context: > http://www.nabble.com/maven-release-plugin-tp20198588p20198588.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is there exit maven-jira-plugin?
We use JIRA 3.12.x as our bug/issue tracking system, I want to integrate Maven with JIRA after our CI runs, Its also generate the release issues? anyone know how to integrate the two software?I can see many project such as maven-war-plugin have this: > > JIRA > http://jira.codehaus.org/browse/MWAR > How can it works, thanks you for help.
Re: trouble relocating a plugin
I seem to recall that you can¹t use relocation on plugins, at least I know it didn¹t work well when the dependency plugin moved from codehaus to apache. I can also vaguely remember the behavior was different in some cases based on if you specified the groupid only or added the artifactid and or version in the relocation section. On 10/27/08 4:38 PM, "Edelson, Justin" <[EMAIL PROTECTED]> wrote: > I asked a few months ago on the user list about relocating a plugin and > finally got around to doing it. Well, it didn't go as planned. > > I had a plugin with groupId com.mtvi.plateng.maven and artifactId > maven-hudson-plugin (yes, I know this should probably be > hudson-maven-plugin and if I can get relocation to work with the > groupId, maybe I'll try to tackle the artifactId next). I want to change > the groupId to be org.jvnet.hudson.tools. The previous version was > 2.0-alpha-1 and I just released 2.0-alpha-2 under the new groupId. > > I edited /com/mtvi/plateng/maven/maven-hudson-plugin/maven-metadata.xml > to be: > > com.mtvi.plateng.maven > maven-hudson-plugin > 2.0-alpha-2 > > 2.0-alpha-2 > 2.0-alpha-2 > > 2.0-alpha-1 > 2.0-alpha-2 > > 20081027131100 > > > (and regenerated the hashes) > > Then I created > /com/mtvi/plateng/maven/maven-hudson-plugin/2.0-alpha-2/maven-hudson-plu > gin-2.0-alpha-2.pom with this content: > > 4.0.0 > com.mtvi.plateng.maven > maven-hudson-plugin > 2.0-alpha-2 > > > org.jvnet.hudson.tools > > > > (and generated hashes for this) > > When running against a clean local repository and a settings file that > contains ONLY com.mtvi.plateng.maven as a pluginGroup, I can see that > the relocation is respected (in that I download > /org/jvnet/hudson/tools/maven-hudson-plugin/2.0-alpha-2/maven-hudson-plu > gin-2.0-alpha-2.pom), but I get an error that the JAR file is missing > because Maven is attempting to download the JAR from the pre-reloation > location: > Downloading: > http://download.java.net/maven/2/com/mtvi/plateng/maven/maven-hudson-plu > gin/2.0-alpha-2/maven-hudson-plugin-2.0-alpha-2.jar > > Instead of the relocated location. > > Any ideas? > > All of these (pre-relocation, relocation, and relocated) artifacts can > be found on the java.net repository. > > Thanks, > > Justin Edelson > VP, Platform Engineering > MTV Networks Digital > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
maven-release-plugin
I use the maven-release-plugin, the two goals prepare and perform. But I don't want Maven generate the pom for the next iteration how can I do that ? I want simply to pass from the snapshots to the releases. Thanks. Rémy. -- View this message in context: http://www.nabble.com/maven-release-plugin-tp20198588p20198588.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble relocating a plugin
I wasn't entirely sure when I reported it, and that's the only relocated plugin I know of in a public repo. I linked this thread in the comments; it does seem to be a generic issue. -Wendy On Mon, Oct 27, 2008 at 2:27 PM, Edelson, Justin <[EMAIL PROTECTED]> wrote: > Ah thanks Wendy. For some reason, I thought the issue you were seeing was > jetty-specific. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble relocating a plugin
Ah thanks Wendy. For some reason, I thought the issue you were seeing was jetty-specific. Thanks - Original Message - From: Wendy Smoak <[EMAIL PROTECTED]> To: Maven Users List Sent: Mon Oct 27 16:46:32 2008 Subject: Re: trouble relocating a plugin On Mon, Oct 27, 2008 at 1:38 PM, Edelson, Justin <[EMAIL PROTECTED]> wrote: > I asked a few months ago on the user list about relocating a plugin and > finally got around to doing it. Well, it didn't go as planned. I don't think relocation works for plugins... http://jira.codehaus.org/browse/MNG-3762 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with several artifacts
This documentation should help: http://www.sonatype.com/book/reference/repository-manager.html#d0e22146 If you cannot get it to work, you should ask for more help on the Archiva list. Wayne On Mon, Oct 27, 2008 at 1:10 PM, Koxkorrita <[EMAIL PROTECTED]> wrote: > i'm sorry but i dont know how must i make it. > i explain my situation: > > i have in my lan one central repository (http://mycentral:8080/repo/) > how can i install into this repository (i have made it using archiva) theses > pomn files (libraries) > > Please help me > > thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble relocating a plugin
On Mon, Oct 27, 2008 at 1:38 PM, Edelson, Justin <[EMAIL PROTECTED]> wrote: > I asked a few months ago on the user list about relocating a plugin and > finally got around to doing it. Well, it didn't go as planned. I don't think relocation works for plugins... http://jira.codehaus.org/browse/MNG-3762 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-dependency-plugin: Unpacking out of a test-jar?
On Tue, Oct 28, 2008 at 5:48 AM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > The classifier is "tests" I think and the type is just jar. You should > be able to tell by looking at the file in hand. It's > artifactid-version-classifier.type That's annoying. Especially since I was opening the -tests.jar to see what was inside to make sure I didn't have a typo on the include path. Dont code when you are tired :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
trouble relocating a plugin
I asked a few months ago on the user list about relocating a plugin and finally got around to doing it. Well, it didn't go as planned. I had a plugin with groupId com.mtvi.plateng.maven and artifactId maven-hudson-plugin (yes, I know this should probably be hudson-maven-plugin and if I can get relocation to work with the groupId, maybe I'll try to tackle the artifactId next). I want to change the groupId to be org.jvnet.hudson.tools. The previous version was 2.0-alpha-1 and I just released 2.0-alpha-2 under the new groupId. I edited /com/mtvi/plateng/maven/maven-hudson-plugin/maven-metadata.xml to be: com.mtvi.plateng.maven maven-hudson-plugin 2.0-alpha-2 2.0-alpha-2 2.0-alpha-2 2.0-alpha-1 2.0-alpha-2 20081027131100 (and regenerated the hashes) Then I created /com/mtvi/plateng/maven/maven-hudson-plugin/2.0-alpha-2/maven-hudson-plu gin-2.0-alpha-2.pom with this content: 4.0.0 com.mtvi.plateng.maven maven-hudson-plugin 2.0-alpha-2 org.jvnet.hudson.tools (and generated hashes for this) When running against a clean local repository and a settings file that contains ONLY com.mtvi.plateng.maven as a pluginGroup, I can see that the relocation is respected (in that I download /org/jvnet/hudson/tools/maven-hudson-plugin/2.0-alpha-2/maven-hudson-plu gin-2.0-alpha-2.pom), but I get an error that the JAR file is missing because Maven is attempting to download the JAR from the pre-reloation location: Downloading: http://download.java.net/maven/2/com/mtvi/plateng/maven/maven-hudson-plu gin/2.0-alpha-2/maven-hudson-plugin-2.0-alpha-2.jar Instead of the relocated location. Any ideas? All of these (pre-relocation, relocation, and relocated) artifacts can be found on the java.net repository. Thanks, Justin Edelson VP, Platform Engineering MTV Networks Digital - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: camel 1.5.0-SNAPSHOT
We're using camel-1.5.0-SNAPSHOT from http://people.apache.org/maven-snapshot-repository/ On Sat, Oct 25, 2008 at 10:58 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Sat, Oct 25, 2008 at 9:46 AM, hockey_dave > <[EMAIL PROTECTED]> wrote: > > > > Is camel 1.5.0 available in the repository because adding in the > dependency > > doens't work. Is there something more that I need to do to try the > > snapshot? > > No snapshots are available in the central repository. You'll need to > find a snapshot repository that has this artifact, and add the > to your pom.xml or settings.xml. > > The best bet is to ask for help on the Camel development mailing list. > > -- > Wendy > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: How to set jar and test-jar separately?
Yes but you didn't change the configuration in the second execution so it's probably going to be the same as the first. IIRC, there are issues where the config isn't reset to a clean one in a second execution. So the best bet is to first run the one closest to default, and then you need to reset the defaults and change whatever else you want. -Original Message- From: youhaodeyi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 10:51 AM To: users@maven.apache.org Subject: RE: How to set jar and test-jar separately? Do you mean this configuration see below? The configuration setting doesn't work in this case. org.apache.maven.plugins maven-jar-plugin 2.2 false jar package jar target/ src/main/resources/i18n/*.properties src/main/resources/images/** src/main/resources/**/protocols/** src/main/resources/../report/** true com.ge.med.mict.ll.ui.Starter UI DEMO development test package test-jar Brian E Fox wrote: > > Put them in separate executions. > > -Original Message- > From: youhaodeyi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2008 10:08 AM > To: users@maven.apache.org > Subject: How to set jar and test-jar separately? > > > I use maven-jar-plugin like below. In this case, the test jar and jar > will > have the same configuration. How can I set them separately? > > > > org.apache.maven.plugins > > maven-jar-plugin > 2.2 > false > > > package > > > test-jar > jar > > > > > > target/ > > > **/*.properties > > **/images/** > > **/protocols/** > > **/report/** > > > > > > true > > ui.Starter > UI > DEMO > > > > development > > > > > > -- > View this message in context: > http://www.nabble.com/How-to-set-jar-and-test-jar-separately--tp20111475 > p20111475.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-set-jar-and-test-jar-separately--tp20111475 p20112387.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with several artifacts
i'm sorry but i dont know how must i make it. i explain my situation: i have in my lan one central repository (http://mycentral:8080/repo/) how can i install into this repository (i have made it using archiva) theses pomn files (libraries) Please help me thanks - Original Message - From: "Wayne Fay" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Monday, October 27, 2008 6:30 PM Subject: Re: problem with several artifacts but appears into the eclipse console thsi error: 27/10/08 17:49:46 CET: Missing artifact javax.jms:jms:jar:1.1:compile 27/10/08 17:49:46 CET: Missing artifact com.sun.jdmk:jmxtools:jar:1.2.1:compile 27/10/08 17:49:46 CET: Missing artifact com.sun.jmx:jmxri:jar:1.2.1:compile As seen here: http://repo1.maven.org/maven2/javax/jms/jms/1.1/ http://repo1.maven.org/maven2/com/sun/jdmk/jmxtools/1.2.1/ http://repo1.maven.org/maven2/com/sun/jmx/jmxri/1.2.1/ There are no JAR files provided by any of these artifacts, only POM files. If you look at the POM files for the first two: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.pom http://repo1.maven.org/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.pom It provides download links for the Jars. Sun licensing does not permit those jars to be hosted in the Central repo. So, you have to download the Jars and use "mvn install" to put them in your own repo if you need to use them. Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven-dependency-plugin: Unpacking out of a test-jar?
The classifier is "tests" I think and the type is just jar. You should be able to tell by looking at the file in hand. It's artifactid-version-classifier.type -Original Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 7:48 AM To: Maven Users List Subject: maven-dependency-plugin: Unpacking out of a test-jar? I'm having trouble unpacking a test jar. I've tried maven-dependency-plugin unpack-shared-resources unpack-dependencies generate-resources ${project.build.directory}/examples ${project.groupId} MyArtifactId test test-jar true **/examples/** **/*.class And also tried test Anyone have suggestions? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [SOLUTION] Filtering resources in the EAR artifact
Was a problem on my end with the usage of the properties..Sorry for the noise mfs wrote: > > I am trying out what you suggested (as i have an exactly similar > scenario), but still cant get it to work, below is my configuration as in > my pom.xml..let me know if anything is missed out.. > > > org.apache.maven.plugins > maven-ear-plugin > > > ${basedir}/src/main/resources > ${outputDirectory} [WE HAVE CUSTOM > OUTPUT LOCATION AND "outputDirectory" IN THIS CASE POINTS TO > ${defaultoutputdirectory}/${project.artifactId}/target/classes folder) > 5 > lib > > > portal.wes > wes-webui > / > > > portal.wicket > wes-wicket > / > > > portal.crystal > wes-crystal > / > > > portal.vcert > portal-ejb > lib > > > > > > > > src/main/resources > true > > **/META-INF/** > > > > > > Thanks in advance, > > Farhan. > > > > Vanja Petreski wrote: >> >> Hello, >> >> I lost couple of hours with this problem, so I am giving the solution >> (and >> would like to hear the better one, if there is a such). >> >> The problem: >> >> We have ear with couple of modules (ejb, war...) and META-INF with >> standard >> and proprietary descriptors (data-sources.xml, orion-application.xml, >> etc.). >> Some of them need to be filtered (for example: data-sources.xml). >> >> In order to `mvn package` on the ear artifact generate desired structure, >> we >> have to put our descriptors in the ${basedir}/src/main/application (not >> in >> ${basedir}/src/main/resources). >> >> And that works. But filtering doesn't! If we set filtering on this >> folder, >> in the target we get classes folder with properly filtered resources, but >> the ear is not using them. Ear uses your-ear-artifact in the target to be >> made of. In the target/your-ear-artifact there is META-INF, but with non >> filtered resources. >> >> The quickest (and only one for now, as I know) solution: >> >> We have to tell ear plugin to use ${basedir}/target/classes as the >> resource >> folder, since there are located properly filtered resources: >> >> >>maven-ear-plugin >> >> target/classes >> >> >> >> Ofcourse, we are using now the standard ${basedir}/src/main/resources >> folder >> with filtering turned on. >> >> Regards, >> Vanja >> >> > > -- View this message in context: http://www.nabble.com/-SOLUTION--Filtering-resources-in-the-EAR-artifact-tp13131334p20192445.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with several artifacts
> but appears into the eclipse console thsi error: > 27/10/08 17:49:46 CET: Missing artifact javax.jms:jms:jar:1.1:compile > 27/10/08 17:49:46 CET: Missing artifact > com.sun.jdmk:jmxtools:jar:1.2.1:compile > 27/10/08 17:49:46 CET: Missing artifact com.sun.jmx:jmxri:jar:1.2.1:compile As seen here: http://repo1.maven.org/maven2/javax/jms/jms/1.1/ http://repo1.maven.org/maven2/com/sun/jdmk/jmxtools/1.2.1/ http://repo1.maven.org/maven2/com/sun/jmx/jmxri/1.2.1/ There are no JAR files provided by any of these artifacts, only POM files. If you look at the POM files for the first two: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.pom http://repo1.maven.org/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.pom It provides download links for the Jars. Sun licensing does not permit those jars to be hosted in the Central repo. So, you have to download the Jars and use "mvn install" to put them in your own repo if you need to use them. Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Time to release maven-release-plugin v2.0-beta-8
Hi, Have a look to this thread http://www.nabble.com/Re%3A-Maven-release-plugin-td19653492.html Rémy
javadoc plugin
Greetings, It sure would be nice if all of my listed s could somehow pass information to the javadoc plugin such that I am not forced to manually enter s for external API cross referencing. I'm up to about 55 immediate dependencies already, in my largest maven project, and this adds 55 extra lines I am too lazy to enter manually.. Anyone know if this is possible? Thanks! -- There are 10 types of people in this world, those that can read binary and those that can not. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem with several artifacts
Hello. in my pom.xml i have the next: javax.jms jms 1.1 compile com.sun.jdmk jmxtools 1.2.1 compile com.sun.jmx jmxri 1.2.1 compile but appears into the eclipse console thsi error: 27/10/08 17:49:46 CET: Missing artifact javax.jms:jms:jar:1.1:compile 27/10/08 17:49:46 CET: Missing artifact com.sun.jdmk:jmxtools:jar:1.2.1:compile 27/10/08 17:49:46 CET: Missing artifact com.sun.jmx:jmxri:jar:1.2.1:compile How can i solve it? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Time to release maven-release-plugin v2.0-beta-8
I noticed some talk in Sept that the next version of the maven release plugin should be released at the end of Sept. But I don't see that is has. When will it be released? I am needing the improvement http://jira.codehaus.org/browse/MRELEASE-173 -- View this message in context: http://n2.nabble.com/Time-to-release-maven-release-plugin-v2.0-beta-8-tp1383118p1383118.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multimodule archetype does not propagate the artifactId in module names
After further testing, it appears that the problems I have with multimodule projects do not occur on the Windows platform, just on Mac OS X. I will do some more testing to nail this down. stug23 wrote: > > Archetype NG is supposed to work properly with multimodule projects > however I just tested it and found that it is not working. > > I added a comment to the original JIRA: > > http://jira.codehaus.org/browse/ARCHETYPE-153 > > This feature is one that I need for projects in the near term and I would > appreciate it if Maven experts here could help with resolving this > problem. > > TIA > > > -- View this message in context: http://www.nabble.com/Multimodule-archetype-does-not-propagate-the-artifactId-in-module-names-tp20170155p20190686.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Assembly Format with Dependency Format
On Fri, Oct 24, 2008 at 6:05 PM, Geoffrey Wiseman < [EMAIL PROTECTED]> wrote: > If I've got an assembly that i'm building in both .tar.gz and .zip formats, > and I'm going to include a dependency that's available in both .tar.gz and > zip formats, is there a way to include the right format based on the format > of the assembly without using two assembly descriptors? Even with > components to share the common elements, this seems like a bit of a hack, so > I was hoping for something slightly more elegant. > For instance, if there were a property I could expand in the dependency-set that contained the format, that might make it viable. - Geoffrey -- Geoffrey Wiseman
getResources() returns null in parent project
Hi all, I've been struggling with this for a few days now. We have a parent project including several sub-projects. We have tests runing in both test and integration-test phases. In one of Seam 2.1 test framework classes they are calling getClass().getResource("/"). This works well on Windows (Maven 2.0.8, Surefire 2.4.3), the code returning path to test-classes folder of the tested sub-project. On Linux (same versions), however, this only works when I run the tests from the subproject's folder. The code returns null when maven is started from the parent project. I tried playing with forking, etc. Currenty I have: once true true BTW, on Linux it looks like the classpath is built differently by default (without providing the above parameters), at least judging on java.class.path, surefire.test.class.path and surefire.real.class.path values in the report xml file. Anyone has an idea why the code doesn't work? Thanks, Petr The information contained in this email and its attachments is confidential and may be the subject of legal, professional or other privileged information. It is intended only for the named addressees and may not be disclosed to anyone else without consent from On Demand. If you are not the named addressee you must not use, disclose, distribute, copy, print or rely on the contents of this email and should destroy it immediately. Whilst On Demand takes care to protect its systems from electronic virus attack or other harmful event, the firm gives no warranty that this email message (including any attachments to it) is free of any virus or other harmful matter and accepts no responsibility for any loss or damage resulting from the recipient receiving, opening or using it. If you need any further information, please contact the originator of this message on +44 (0)20 7131 6700. Website: www.ondemand.co.uk. Registered Office: 1 Stephen Street, London, W1T 1AL. Registered in the UK No.4094951. This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
Re: Roadmap Maven 2.0.10
Brett Porter wrote: > http://markmail.org/message/qa6bzb772k42wbyf > > On 27/10/2008, at 6:39 PM, Baeriswyl Kuno - Extern (IT-BA-MV) wrote: > >> Hello, >> >> I've got news about the future 2.0.10 release. >> I'm waiting for some fixed issus and liked to know, if it is still in >> the queue or if this release canceled in favor to the 2.1 M1 relase? >> >> Thanks for any information. >> >> Kuno >> >> > Thanks for the info. Joern. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Roadmap Maven 2.0.10
http://markmail.org/message/qa6bzb772k42wbyf On 27/10/2008, at 6:39 PM, Baeriswyl Kuno - Extern (IT-BA-MV) wrote: Hello, I've got news about the future 2.0.10 release. I'm waiting for some fixed issus and liked to know, if it is still in the queue or if this release canceled in favor to the 2.1 M1 relase? Thanks for any information. Kuno -- Brett Porter [EMAIL PROTECTED] http://blogs.exist.com/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Roadmap Maven 2.0.10
Baeriswyl Kuno - Extern (IT-BA-MV) wrote: > Hello, > > I've got news about the future 2.0.10 release. > I'm waiting for some fixed issus and liked to know, if it is still in the > queue or if this release canceled in favor to the 2.1 M1 relase? > > Thanks for any information. > > Kuno > I'd also be quite interested in the status of maven 2.0.10. I have to stick with wagon-ssh 1.0-beta-2 instead of 1.0-beta-4 because there is an incompatibility with maven 2.0.9. (see http://jira.codehaus.org/browse/WAGON-228 ). The beta-2, however, is suffering from random errors on execution, e.g. message too long, and I hope that those are fixed in a newer version In the bug above, Brett Porter wrote on 2008-07-17: "However, 2.0.10 that bundles the new version is being prepared for release now[..]" so I'm wondering when it will be released. Regards, Joern. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wierd issue with getting a resource from inside a jar
How is this a weird issue? URL != file. Just because some URLs can be converted to valid files doesn't mean all can. If you need the file contents use getResourceStream. If you need information on the file, use the java.util.zip package Sent from my iPod On Oct 26, 2008, at 4:34 AM, "Jeffrey Williams" <[EMAIL PROTECTED] > wrote: Hi, I am having an issue with maven and getting a file from within my executable jar project. I have the following code in my main URL url = this.getClass().getResource("/comma.txt"); File commaFile = new File(url.getFile()); The issue is that the url that is found when executing the jar has an exclamation mark in it. ie /home/jeffxor/workspace/cyrus/target/cyrus-0.0.1-SNAPSHOT.jar!/ comma.txt you will notice it after the jar file name. Obviously when I then try to get a file I get FileNotFoundException. I have used this code on other machine and have had no issue. I am using Ubuntu and maven 2.0.8 and java 1.6., I have searched the internet but have got no results and I am out of ideas. Any help would be great. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven-dependency-plugin: Unpacking out of a test-jar?
I'm having trouble unpacking a test jar. I've tried maven-dependency-plugin unpack-shared-resources unpack-dependencies generate-resources ${project.build.directory}/examples ${project.groupId} MyArtifactId test test-jar true **/examples/** **/*.class And also tried test Anyone have suggestions? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Roadmap Maven 2.0.10
Hello, I've got news about the future 2.0.10 release. I'm waiting for some fixed issus and liked to know, if it is still in the queue or if this release canceled in favor to the 2.1 M1 relase? Thanks for any information. Kuno
AW: parallel compilation
Hello, interesting question. As far I know, there is no way to do parallel builds out of the box, though, I believe that the builservers, like Continuum or Hudson, have got a buildqueue implementation that supports such parallel builds. However, It's quite a complicated task and eventually there is a certain need of documentation improvement. Kuno -Urspr?ngliche Nachricht- Von: Romain Gilles [mailto:[EMAIL PROTECTED] Gesendet: Montag, 27. Oktober 2008 08:40 An: Maven Users List Betreff: parallel compilation Hi, I would like to know if there is any ways to perform a parallel compilation in a multi-projects environment. Regards, Romain Gilles Lead Software Engineer Thomson Reuters Phone: +33 (0)1 47 62 77 41 [EMAIL PROTECTED] thomsonreuters.com This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven Tests Failing due to WSDLException: faultCode=PARSER_ERROR Problem parsing 'http://myproj.xyz.com/ns/wsn.wsdl'.: java.io.FileNotFoundException: http://myproj.xyz.com/ns/wsn.wsdl
Hi All, Please help me out of this Exception, Thanks & Regards Umesh N.G FOLLOWS IS THE SURE-FIRE TEST REPORT: --- Test set: com.xyz.myproj.comms.client.ContentDescriptionTest --- Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 13.536 sec <<< FAILURE! testUpdateAppDistribution(com.xyz.myproj.comms.client.ContentDescriptionTest) Time elapsed: 0.004 sec <<< ERROR! javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apache.cxf.jaxws.ServiceImpl.(ServiceImpl.java:135) at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:65) at javax.xml.ws.Service.(Service.java:56) at org.apache.servicemix.wsn.jaxws.NotificationConsumerService.(NotificationConsumerService.java:45) at com.xyz.myproj.comms.client.Publisher.createConsumerClient(Publisher.java:52) at com.xyz.myproj.ns.instruction.InstructionPublisher$3.send(InstructionPublisher.java:85) at com.xyz.myproj.ns.instruction.InstructionPublisher.publish(InstructionPublisher.java:152) at com.xyz.myproj.ns.instruction.ScriptPublisher.publish(ScriptPublisher.java:46) at com.xyz.myproj.ns.instruction.ScriptPublisher.establishReferenceInstances(ScriptPublisher.java:36) at com.xyz.myproj.comms.client.myprojObjectFactory.establishReferenceInstances(myprojObjectFactory.java:64) at com.xyz.myproj.TestEntitiesFactory.(TestEntitiesFactory.java:49) at com.xyz.myproj.comms.client.ContentDescriptionTest.(ContentDescriptionTest.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.junit.internal.runners.JUnit4ClassRunner.createTest(JUnit4ClassRunner.java:72) at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:79) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:83) at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:141) at org.apache.cxf.jaxws.ServiceImpl.(ServiceImpl.java:133) ... 32 more Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://myproj.xyz.com/ns/wsn.wsdl'.: java.io.FileNotFoundException: http://myproj.xyz.com/ns/wsn.wsdl at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:212) at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:176) at org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:81) ... 34 more Caused by: java.io.FileNotFoundException: http://myproj.xyz.com/ns/wsn.wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1288) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186) at com.sun.org.apache.xerces.intern
parallel compilation
Hi, I would like to know if there is any ways to perform a parallel compilation in a multi-projects environment. Regards, Romain Gilles Lead Software Engineer Thomson Reuters Phone: +33 (0)1 47 62 77 41 [EMAIL PROTECTED] thomsonreuters.com This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.