Problems with maven-gpg-plugin
Hi, currently I'm trying to deploy signed artifacts into a nexus repo manager Based on the http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/ description i configured the maven-gpg-plugin to be activated based on the release:perform ... pre profiles profile idrelease-sign-artifacts/id activation property nameperformRelease/name valuetrue/value /property /activation build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-gpg-plugin/artifactId version1.0-alpha-4/version executions execution idsign-artifacts/id phaseverify/phase goals goalsign/goal /goals /execution /executions /plugin /plugins /build /profile /profiles /pre so i call mvn release:prepare everything went well...so far so good... but than i'm trying to call mvn release:perform and the output hangs at the point [INFO] [INFO] [gpg:sign {execution: sign-artifacts}]... Ok i read the comment about the pgp.passphase parameter and changed the call into the following: premvn release:perform -Darguments=-Dgpg.passphrase=xx/pre But now the result is the following: pre $ mvn22 release:perform -Darguments=-Dgpg.passphrase=in\ dubio [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] [INFO] Building Guice :: Test [INFO]task-segment: [release:perform] (aggregator-style) [INFO] [INFO] [release:perform {execution: default-cli}] [INFO] Checking out the project to perform the release ... [INFO] Executing: /bin/sh -c cd /home/.../guice-test/target svn --non-interactive checkout file:///home/.../tags/guice-test-0.0.2 checkout [INFO] Working directory: /home/.../guice-test/target [INFO] Executing goals 'deploy site-deploy'... [WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance. [INFO] [INFO] Scanning for projects... [INFO] [INFO] [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] [INFO] [INFO] Invalid task 'performRelease=true': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal [INFO] [INFO] [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] [INFO] [INFO] Total time: 1 second [INFO] [INFO] Finished at: Tue Feb 09 11:24:47 CET 2010 [INFO] [INFO] Final Memory: 5M/490M [INFO] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Maven execution failed, exit code: '1' /pre does someone has an idea what I'm doing wrong ? Kind regards Karl Heinz Marbaise -- View this message in context: http://old.nabble.com/Problems-with-maven-gpg-plugin-tp27513746p27513746.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
stop at compiler warning?
Hello, Is it possible to set an option in the maven compiler, so that the build process stops at a compiler warning? greetings Sebastian Gaßmann Telefon: +49 (0) 89/4 51 14-128 E-Mail: s.gassm...@e-media.de mailto:s.gassm...@e-media.de G+J Entertainment Media GmbH Co. KG Weihenstephaner Straße 7 81673 München Sitz: München, Amtsgericht München HRA 67353 Komplementärin: G+J Entertainment Media Verwaltungs GmbH Sitz: München, Amtsgericht München HRB 169582 Geschäftsführer: Peider Bach, Matthias Mahler www.kino.de http://www.kino.de/ | www.kino.de/mobil | www.video.de http://www.video.de/ | www.mediabiz.de http://www.mediabiz.de/
Re: Resources used in multiple projects
Hi Matthew, Sure, we are developing apps in Eclipse and these projects are sucessfully eclipse:eclipse-ed. But eclipse maven plugin is not ideal, so I had to change some .settings/* files after that, especially org.eclipse.wst.common.component -- for shared resources I had to use linked resource feature, because Eclipse dislikes relative ../ path in wb-resource elements of this file. Plugin m2eclipse is very useful for me and I could recommend it. Resource jar is interesting, but I have no idea how is it supported in WTP in Eclipse... Good Luck! Martin Matthew McCullough wrote: Martin, Thank you for the input. They do have one module configured that way with a ../ navigation for traditional (not web) resource tags. It seems to choke mvn eclipse:eclipse which hoses the paths. I will be having them move to m2eclipse later this year, but am looking for solutions that carry us through 'till then. Do you use mvn eclipse:eclipse? I will also gave them experiment with Wayne's suggestion of a resource jar.
Re: Problems with maven-gpg-plugin
Is this all the logs? Seems like its trying to perform mvn performRelease=true, which is not a valid maven command. Try to find out where that performRelease=true comes from and try to fix that. Also, it seems that what you want to run is mvn -DperformRelease=true. HTH, -- Jo Eduardo Twitter: http://twitter.com/joed On Tue, Feb 9, 2010 at 7:21 PM, Karl Heinz Marbaise k...@soebes.de wrote: Hi, currently I'm trying to deploy signed artifacts into a nexus repo manager Based on the http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/ description i configured the maven-gpg-plugin to be activated based on the release:perform ... pre profiles profile idrelease-sign-artifacts/id activation property nameperformRelease/name valuetrue/value /property /activation build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-gpg-plugin/artifactId version1.0-alpha-4/version executions execution idsign-artifacts/id phaseverify/phase goals goalsign/goal /goals /execution /executions /plugin /plugins /build /profile /profiles /pre so i call mvn release:prepare everything went well...so far so good... but than i'm trying to call mvn release:perform and the output hangs at the point [INFO] [INFO] [gpg:sign {execution: sign-artifacts}]... Ok i read the comment about the pgp.passphase parameter and changed the call into the following: premvn release:perform -Darguments=-Dgpg.passphrase=xx/pre But now the result is the following: pre $ mvn22 release:perform -Darguments=-Dgpg.passphrase=in\ dubio [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] [INFO] Building Guice :: Test [INFO]task-segment: [release:perform] (aggregator-style) [INFO] [INFO] [release:perform {execution: default-cli}] [INFO] Checking out the project to perform the release ... [INFO] Executing: /bin/sh -c cd /home/.../guice-test/target svn --non-interactive checkout file:///home/.../tags/guice-test-0.0.2 checkout [INFO] Working directory: /home/.../guice-test/target [INFO] Executing goals 'deploy site-deploy'... [WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance. [INFO] [INFO] Scanning for projects... [INFO] [INFO] [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] [INFO] [INFO] Invalid task 'performRelease=true': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal [INFO] [INFO] [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] [INFO] [INFO] Total time: 1 second [INFO] [INFO] Finished at: Tue Feb 09 11:24:47 CET 2010 [INFO] [INFO] Final Memory: 5M/490M [INFO] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Maven execution failed, exit code: '1' /pre does someone has an idea what I'm doing wrong ? Kind regards Karl Heinz Marbaise -- View this message in context: http://old.nabble.com/Problems-with-maven-gpg-plugin-tp27513746p27513746.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
Re: Problems with maven-gpg-plugin
Hi, after investigating an debug -X output i found out that an incorrectly escaped passphrase caused the problem ...My passphase had an space in it and i tried to escape it (based on a hint in the Maven IRC chat on codehaus): with blabal\ blabal...but this doesn't work... pre [DEBUG] Executing: /bin/sh -c cd /home/guice-test/target/checkout /homeg/apache-maven-2.2.1/bin/mvn -X -D maven.repo.local=/home/.m2/repository -D gpg.passphrase=xx\ -D performRelease=true -P xxx,nexus deploy site-deploy [WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance. [INFO] + Error stacktraces are turned on. [INFO] Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) [INFO] Java version: 1.6.0_07 [INFO] Java home: /usr/lib/jvm/java-1.6.0-sun-1.6.0.7/jre [INFO] Default locale: en_US, platform encoding: UTF-8 [INFO] OS name: linux version: 2.6.24.7-108.el5 arch: amd64 Family: unix [INFO] [DEBUG] Building Maven user-level plugin registry from: '/home/.m2/plugin-registry.xml' [INFO] [DEBUG] Building Maven global-level plugin registry from: '/home/maven/conf/plugin-registry.xml' [INFO] [INFO] Scanning for projects... [INFO] [INFO] [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] [INFO] [INFO] Invalid task 'performRelease=true': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal [INFO] [INFO] [INFO] [DEBUG] Trace [INFO] org.apache.maven.BuildFailureException: Invalid task 'performRelease=true': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1830) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175) [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) [INFO] at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) [INFO] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) [INFO] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) [INFO] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] [INFO] [INFO] Total time: 1 second [INFO] [INFO] Finished at: Tue Feb 09 13:06:30 CET 2010 [INFO] [INFO] Final Memory: 5M/490M [INFO] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Maven execution failed, exit code: '1' [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Maven execution failed, exit code: '1' at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
Aggregating secondary artifacts
Rather than trying to explain abstractly, here's a brief description of what I'm working on: I need to make a bundle out of some number of (independently) maven managed components, in something like the same way as building a war, but with a custom format. For this, I've made my own packaging plugin, which reads through dependencies and wraps them up as required. The next part of the issue is that any of these components might have a secondary artifact, which should also be collected up. The other artifact is basically just a bundle of text, and has a specific classifier. Does this sound possible? I'm concerned that it might not be, because with no explicit dependency, there doesn't seem to be a good way to get hold of an artifact, even if you know where it should be. As a workaround, I've considered embedding the secondary artifacts into the main ones, and then just burrowing through the jars and seeing what I find, which seems to work, but is logically a bit of a mess. Unfortunately, it then gets more complicated. We also allow wars to be included in a bundle, and there is no dependency information to be had at all about what is in the war, so even if I dig into the war's libraries, I can't find out which jars depend on which others. Am I just trying to do something that Maven wasn't intended for? If so, there might be some way I can use another pom, and depend on the secondary artifacts directly, but that has a lot of scope for people to make mistakes in the future, as dependencies are all listed twice in different places, so I'd like to avoid it. Any thoughts would be appreciated. Thanks. Oh, and one more question, is there anywhere some better documentation for writing plugins that at maven.apache.org? I find it hard to believe that all the plugin devs can work with almost no comments on the APIs... -- Phil Housley - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: stop at compiler warning?
Having had a look at the maven compiler plugin page, I don't think so. You could either file an entry in the jira for this plugin, or write a small enforcer rule that would check is some warning was previously issued by the maven-compiler-plugin. The second option might not be difficult to write. See http://maven.apache.org/plugins/maven-enforcer-plugin/ for documentation about the enforcer, and http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html for the complete list of options for the compiler plugin. Cheers. 2010/2/9 Sebastian Gaßmann s.gassm...@e-media.de Hello, Is it possible to set an option in the maven compiler, so that the build process stops at a compiler warning? greetings Sebastian Gaßmann Telefon: +49 (0) 89/4 51 14-128 E-Mail: s.gassm...@e-media.de mailto:s.gassm...@e-media.de G+J Entertainment Media GmbH Co. KG Weihenstephaner Straße 7 81673 München Sitz: München, Amtsgericht München HRA 67353 Komplementärin: G+J Entertainment Media Verwaltungs GmbH Sitz: München, Amtsgericht München HRB 169582 Geschäftsführer: Peider Bach, Matthias Mahler www.kino.de http://www.kino.de/ | www.kino.de/mobil | www.video.de http://www.video.de/ | www.mediabiz.de http://www.mediabiz.de/ -- Baptiste Batmat MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
custom WagonManager in maven3 - how ?
hello, is there a way to have a custom org.apache.maven.repository.legacy.DefaultWagonManager I tried to add it in plugin with extension by adding it into plexus/components.xml like this: component-set components component roleorg.apache.maven.repository.legacy.WagonManager/role role-hintdefault/role-hint implementation de.saumya.mojo.gem.GemWagonManager /implementation isolated-realmfalse/isolated-realm requirements requirement roleorg.codehaus.plexus.logging.Logger/role role-hintdefault/role-hint field-namelogger/field-name /requirement requirement . . . . rest copied from original DefaultWagonManager . . . but that does not seams to have any effect. what is the right way to do it ? build extensions maybe? thanx in advance Kristian - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Q4E and m2eclipse
m2eclipse plugin *does* allow viewing the entire maven aggregator project and it's children as a single eclipse project. However, this means the classpath viewed from eclipse will be the sum of all classpaths. What I found annoying with this plugin however was that on some machines, when I try to refresh a project, it would complain ..\target folder could not be cleaned. I think the plugin is trying to run maven builds for the subprojects in parallel and is encountering some issues - what I do is I hit refresh in eclipse and then delete all target folders repeated from the command line and eclipse does manage to refresh the project. I am now trying to use IAM instead of m2eclipse. Remy Sanlaville wrote: It's really a pain to manage the parent pom for a multi-modules project in eclipse. It would be nice to can solve this issue for instance : http://jira.codehaus.org/browse/MNGECLIPSE-635 Many problem comes from the fact that eclipse do not manage nested project hierarchies. It seems that eclipse 4 will do it (cf. http://www.infoq.com/news/2008/05/e4-summit). But in the meantime we have to found some solution to can manage it and for the moment it's not really the case. Rémy -- View this message in context: http://old.nabble.com/Q4E-and-m2eclipse-tp17529998p27518270.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
Extension cannot be built in same reactor
Hi, I have a question concerning extensions. Say we have the following project structure: Quality/qpom.xml MyComponent/cpom.xml mainpom.xml Quality is buildable on its own and is included as an extension in mainpom.xml in the form extension groupIdcom.sap/groupId artifactIdquality/artifactId version0.0.1-SNAPSHOT/version /extension My goal is to build everything with only one pom, which is the mainpom. In there, I have a section: modules moduleQuality/module moduleMyComponent/module /modules What I would expect is that maven builds quality first and then includes it as an extension into the build for mycomponent. This does not work though. It cannot be build in the same reactor for some reason, although the source code is available. Quality needs to be built first independently which results in the problem that I cannot build the whole project with just one pom. Is this intended or is there a way I can force maven to build the Quality project first without checking if the extension is already available and building it on the fly? Robert Wetzold | robert dot wetzold at sap dot com http://www.sap.com/company/legal/impressum.epx
Re: Extension cannot be built in same reactor
What I would expect is that maven builds quality first and then includes it as an extension into the build for mycomponent. This does not work You are correct -- this won't work. This is similar to when you have a module which is a plugin, and then you want to use that plugin later in your build. You must build and install the plugin in one execution of Maven, and then you can use it in a subsequent Maven execution. This may or may not change in M3, I'm honestly unsure right now. You should give the latest M3 binaries a try to see what happens. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
General question about remote deploy
Hi, Excuse me for the noob questions: Which are the options to do a remote deploy in JBoss with Maven? Can I do a remote hard deploy? Thanks, Marco. Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: General question about remote deploy
On Tue, Feb 9, 2010 at 12:26 PM, T N N A C tn...@yahoo.com.br wrote: Which are the options to do a remote deploy in JBoss with Maven? Can I do a remote hard deploy? Take a look at the Cargo plugin to see if it supports what you need. If not, there might be a plugin specific to JBoss. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: General question about remote deploy
There is... groupIdorg.codehaus.mojo/groupId artifactIdjboss-maven-plugin/artifactId version1.4/version I'd be interested in comparing features with Cargo. -Dave On Tue, Feb 9, 2010 at 1:05 PM, Wendy Smoak wsm...@gmail.com wrote: On Tue, Feb 9, 2010 at 12:26 PM, T N N A C tn...@yahoo.com.br wrote: Which are the options to do a remote deploy in JBoss with Maven? Can I do a remote hard deploy? Take a look at the Cargo plugin to see if it supports what you need. If not, there might be a plugin specific to JBoss. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: General question about remote deploy
Here's the JBoss maven plugin: http://mojo.codehaus.org/jboss-maven-plugin/ /Anders On Tue, Feb 9, 2010 at 21:05, Wendy Smoak wsm...@gmail.com wrote: On Tue, Feb 9, 2010 at 12:26 PM, T N N A C tn...@yahoo.com.br wrote: Which are the options to do a remote deploy in JBoss with Maven? Can I do a remote hard deploy? Take a look at the Cargo plugin to see if it supports what you need. If not, there might be a plugin specific to JBoss. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Curiosity: why does site plugin always re-download woodstox:wstx-asl?
??? I checked my local repository and it contains wstx-asl-3.2.7.jar and wstx-asl-3.2.7.jar.sha1, but not the maven-metadata-*.xml that I'm accustomed to seeing. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. pgpLthSflodYV.pgp Description: PGP signature
Re: General question about remote deploy
Thank you for answers. But doubt persists: in the case of hard deploy, it only work on the localhost? or can I do a hard deploy on a remote server? Thanks, Marco. --- Em ter, 9/2/10, David Hoffer dhoff...@gmail.com escreveu: De: David Hoffer dhoff...@gmail.com Assunto: Re: General question about remote deploy Para: Maven Users List users@maven.apache.org Data: Terça-feira, 9 de Fevereiro de 2010, 12:27 There is... groupIdorg.codehaus.mojo/groupId artifactIdjboss-maven-plugin/artifactId version1.4/version I'd be interested in comparing features with Cargo. -Dave On Tue, Feb 9, 2010 at 1:05 PM, Wendy Smoak wsm...@gmail.com wrote: On Tue, Feb 9, 2010 at 12:26 PM, T N N A C tn...@yahoo.com.br wrote: Which are the options to do a remote deploy in JBoss with Maven? Can I do a remote hard deploy? Take a look at the Cargo plugin to see if it supports what you need. If not, there might be a plugin specific to JBoss. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Filtering dependency artifacts
Hi all, I've been trying to assemble an existing zip/rar file using the maven-assembly-plugin but without success. Here is the use case: Project A contains some files, which are packaged in a zip file and installed. The zip file is available in the local repository. Project B has a runtime dependency on Project A and assembles the zip file in another zip file. Here is the assembly descriptor I am using: assembly idinstaller/id formats formatzip/format /formats includeBaseDirectoryfalse/includeBaseDirectory dependencySets dependencySet useProjectArtifactfalse/useProjectArtifact scoperuntime/scope includes include*:zip/include /includes unpackfalse/unpack useTransitiveDependenciesfalse/useTransitiveDependencies outputDirectory/lib /outputDirectory /dependencySet /dependencySets /assembly I've been reading the documentation in all directions, looked at the code, but still have no clue about the root cause. When looking into http://svn.apache.org/viewvc/maven/plugins/tags/maven-assembly-plugin-2.2-beta-5/src/main/java/org/apache/maven/plugin/assembly/utils/FilterUtils.java?view=markup, my best guess would be the project.getArtifact() does not return anything. Unfortunately, there is no debug information at this point. 72 for ( Iterator it = projects.iterator(); it.hasNext(); ) 73 { 74 MavenProject project = (MavenProject) it.next(); 75 Artifact artifact = project.getArtifact(); 76 77 if ( !filter.include( artifact ) ) 78 { 79 it.remove(); 80 } 81 } Any help or hints would be greatly appreciated. Thanks, David
Re: Curiosity: why does site plugin always re-download woodstox:wstx-asl?
??? I checked my local repository and it contains wstx-asl-3.2.7.jar and wstx-asl-3.2.7.jar.sha1, but not the maven-metadata-*.xml that I'm accustomed to seeing. Does it have the *.pom file as well? Are you sure it is downloading the jar or is it just continuously looking for the pom file? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: General question about remote deploy
Don't know for sure...I've only tried localhost. -Dave On Tue, Feb 9, 2010 at 1:40 PM, T N N A C tn...@yahoo.com.br wrote: Thank you for answers. But doubt persists: in the case of hard deploy, it only work on the localhost? or can I do a hard deploy on a remote server? Thanks, Marco. --- Em ter, 9/2/10, David Hoffer dhoff...@gmail.com escreveu: De: David Hoffer dhoff...@gmail.com Assunto: Re: General question about remote deploy Para: Maven Users List users@maven.apache.org Data: Terça-feira, 9 de Fevereiro de 2010, 12:27 There is... groupIdorg.codehaus.mojo/groupId artifactIdjboss-maven-plugin/artifactId version1.4/version I'd be interested in comparing features with Cargo. -Dave On Tue, Feb 9, 2010 at 1:05 PM, Wendy Smoak wsm...@gmail.com wrote: On Tue, Feb 9, 2010 at 12:26 PM, T N N A C tn...@yahoo.com.br wrote: Which are the options to do a remote deploy in JBoss with Maven? Can I do a remote hard deploy? Take a look at the Cargo plugin to see if it supports what you need. If not, there might be a plugin specific to JBoss. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Need Urgant help regarding Wsmx installing through maven
Hi Everybody=2C I am a new user to maven and wsmx. I am installing wsmx-reshape on my syste= m runing windows xp. when i run the following command from wsmx-dist folder C:\wsmx-reshape\wsmx-dis\mvn install -Dmaven.test.skip=3Dtrue it gives the following error: ---= -- C:\wsmx-reshape\wsmx-distmvn install -Dmaven.test.skip=3Dtrue [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] WSMX project [INFO] WSMX API [INFO] WSMX Aspects [INFO] WSMX Sparql Client [INFO] WSMX Core [INFO] WSMX 2 Agents [INFO] WSMX Parser [INFO] WSMX In memory resource manager [INFO] WSMX Ranking [INFO] WSMX Ant [INFO] WSMX Data Mediator [INFO] WSMX Utilities for Tests [INFO] WSMX Discovery [INFO] WSMX Communication Manager [INFO] WSMX Choreography [INFO] WSMX Axis Entrypoint [INFO] WSMX Grounding [INFO] WSMX Monitoring Manager [INFO] WSMX Invoker [INFO] WSMX Service Discovery [INFO] WSMX Security Manager [INFO] WSMX Integration Tests [INFO] WSMX WebUI [INFO] WSMX Axis Security Interceptor [INFO] Monitoring Ontology API [INFO] Monitoring Ontology [INFO] WSMX Distribution [WARNING] POM for 'org.apache.maven:maven-plugin-api:pom:2.0.7:runtime' is = inval id. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'junit:junit:pom:4.4:test' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.apache.maven:maven-artifact:pom:2.0.8:runtime' is in= valid . Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.apache.ws.commons.axiom:axiom-api:pom:1.2.7:runtime'= is i nvalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.apache.ws.commons.axiom:axiom-impl:pom:1.2.7:runtime= ' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.apache.ws.commons.axiom:axiom-dom:pom:1.2.7:runtime'= is i nvalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'xml-apis:xml-apis:pom:1.3.04:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.codehaus.woodstox:wstx-asl:pom:3.2.4:runtime' is inv= alid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:pom= :1.0. 1:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] = [INFO] Building WSMX project [INFO]task-segment: [install] [INFO] = [INFO] [enforcer:enforce {execution: enforce-java}] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [install:install {execution: default-install}] [INFO] Installing C:\wsmx-reshape\wsmx-project\pom.xml to C:\Documents and = Setti ngs\Amjad Usman\.m2\repository\wsmx\wsmx-project\1.0-SNAPSHOT\wsmx-project-= 1.0-S NAPSHOT.pom [INFO] = [INFO] Building WSMX API [INFO]task-segment: [install] [INFO] = [INFO] [enforcer:enforce {execution: enforce-java}] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\wsmx-reshape\wsmx-api\src\mai= n\res ources [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\wsmx-reshape\wsmx-api\src\tes= t\res ources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Not compiling test sources [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] [install:install {execution: default-install}] [INFO] Installing C:\wsmx-reshape\wsmx-api\target\wsmx-api-1.0-SNAPSHOT.jar= to C :\Documents and Settings\Amjad Usman\.m2\repository\wsmx\wsmx-api\1.0-SNAPS= HOT\w smx-api-1.0-SNAPSHOT.jar [INFO] = [INFO] Building WSMX Aspects [INFO]task-segment: [install] [INFO] = [INFO] [aspectj:compile {execution: default}] [WARNING] no match for this type name: ie.deri.webservices.WSMXEntryPoints = [Xlin t:invalidAbsoluteTypeName] [WARNING] no match for this type name: at.sti2.wsmx.webUI.Entry [Xlint:inva= lidAb soluteTypeName] [WARNING] no match for this type name: