how to deploy multiple wars using the tomcat plugin in maven
At the forums that I looked at I tried some ways to find a way to deploy mutliple wars using tomcat plugin in maven but I could not succeed. I created a third project and used three projects in order to deploy them but I have not succeed it. Could you please tell me way to deploy three different wars at same time using tomcat plugin in maven? Best Regards Alper Kopuz This is the pom.xml that I have used to run Tomcat... code 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/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupId tr.com.provus.pays /groupId artifactIdPAYSGroupProject/artifactId version1.0/version packagingpom/packaging modules module../PAYSWeb/module module../PAYSDashboard/module module../PAYSStaticWeb/module /modules namePAYSGroupProject/name urlhttp://maven.apache.org/url properties project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties build plugins plugin groupIdorg.apache.tomcat.maven/groupId artifactIdtomcat7-maven-plugin/artifactId executions execution iddeploy/id phasepre-integration-test/phase goals goalrun/goal /goals /execution /executions configuration warSourceDirectoryWebContent/warSourceDirectory /configuration /plugin /plugins /build /project /code -- View this message in context: http://maven.40175.n5.nabble.com/how-to-deploy-multiple-wars-using-the-tomcat-plugin-in-maven-tp5769413.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: how to deploy multiple wars using the tomcat plugin in maven
plugin groupIdorg.apache.tomcat.maven/groupId artifactIdtomcat7-maven-plugin/artifactId This groupId tells you the org.apache.tomcat folks are the ones who develop and support this plugin, and thus you should probably ask them for support (in addition to and/or instead of Maven Users). Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
maven, avian and openjdk
Hi all, We are building a Mac OS X framework that would allow native Objective C developers to use bitcoinj. The result was successful and is available at https://github.com/grabhive/BitcoinKit. The problem is that this solution still requires a Java installation on the users' machine. We're trying to get that solved by using Avian JVM. Unfortunately, the minimum classpath.jar that it delivers is too small to run bitcoinj. We compiled Avian with openJDK and then used the genarated classpath.jar as a RT for the bitcoinj Maven compilation. As a result we had two jars, which we've put together and then tried to use. The result is that OpenJDK classes are in the jar, bitcoinj classes also, but when we're trying to use it we're ending up with an exception about missing java.lang.Object. Has anyone of you encountered such a problem? How should we configure maven to be sure that it use our classpath.jar during the compilation? I've commited all my work so far on a branch called integratedvm on my GitHub project, if anyone is kind enough to take a look. I really need some help from a specialist! -darek grabhive.com | twitter.com/grabhive | gpg:182EC140 signature.asc Description: OpenPGP digital signature
Re: Overriding a plugin dependency's profile property?
Can anyone confirm whether this is supported or not? Happy to file ticket if someone can confirm... thanks! On Mon, Sep 2, 2013 at 2:35 AM, Baptiste Mathus m...@batmat.net wrote: Hi, On a related note, please ensure there's a corresponding ticket filed in JIRA or cobertura-m-p. There's currently some activity around this plugin and I suppose this could be fixed in the go. My 2 cents. Le 29 août 2013 22:22, David Hay david@enstratius.com a écrit : hi Wayne, Yes, I can create a symlink pointing ../lib/tools.jar to ../Classes/classes.jar which works. However, it requires all of our devs to add such a symlink and is very inconvenient. Seems to me that maven should allow us to override it in the pom, but I'm struggling to figure out if it does, and if so, how. cheers David On Thu, Aug 29, 2013 at 3:15 PM, Wayne Fay wayne...@gmail.com wrote: I have tried adding my own profile and setting toolsjar appropriately, but it seems to be ignored. I also tried specifying it on the command line, and again, it complains it can't find ../lib/tools.jar. Did you perhaps try using ln to ensure the jar appears where Cobertura is expecting it to be? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
[ANN] Extra Enforcer Rules 1.0-beta-1 Released
Hi, The Mojo team is pleased to announce the release of the Extra Enforcer Rules version 1.0-beta-1. Apache's Maven Enforcer Plugin is used to apply and enforce rules on your Maven projects. The Enforcer plugin ships with a set of standard rules The Mojo project hosts this project to provide extra rules which are not part of the standard rule set. http://mojo.codehaus.org/extra-enforcer-rules/ To get this update, simply specify the version in your project's plugin configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-enforcer-plugin/artifactId version1.3/version dependencies dependency groupIdorg.codehaus.mojo/groupId artifactIdextra-enforcer-rules/artifactId version1.0-beta-1/version /dependency /dependencies /plugin IMPORTANT NOTE: Previous versions of the extra-enforcer-rules used to depend on (sometimes) invalid behavior of the Apache Maven Enforcer plugin. Projects which have upgraded the Maven Enforcer Plugin to 1.3+ must use at least this version of the Extra Enforcer Rules. Release Notes - Mojo - Version extra-enforcer-rules-1.0-beta-1 ** Bug * [MOJO-1948] - UnsupportedOperationException in requirePropertyDiverges when execution of enforce is provoked by a custom LifeCycleMapping * [MOJO-1949] - Minimize/remove inheritence of Apache Maven Standard Enforcer Rules (broken rules with Enforcer 1.3) Enjoy, The Mojo team. Robert Scholte - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: using a plugin twice?
Just add the second execution with a different id On Tuesday, 3 September 2013, Richard Sand wrote: I've a feeling I know the answer at this point, but: Is it possible to use the same plugin twice in the same maven session? E.g. if I want to use maven-assembly-plugin to create two different assemblies? Or if I wanted the maven-shade-plugin to create a zip and a tarball but with slightly different contents? Or is this another case of just use two poms? Best regards, Richard - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org javascript:; For additional commands, e-mail: users-h...@maven.apache.orgjavascript:; -- Sent from my phone
using a plugin twice?
I've a feeling I know the answer at this point, but: Is it possible to use the same plugin twice in the same maven session? E.g. if I want to use maven-assembly-plugin to create two different assemblies? Or if I wanted the maven-shade-plugin to create a zip and a tarball but with slightly different contents? Or is this another case of just use two poms? Best regards, Richard - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
[ANN] AspectJ Maven Plugin version 1.5 released
Hello all, The Mojo team is pleased to announce the release of the AspectJ Maven Plugin version 1.5. This release updates the plugin to current standards, resolving a set of outstanding bugs (c.f. release notes below). The AspectJ-Maven-Plugin weaves AspectJ aspects into your classes using the AspectJ compiler (ajc). The plugin can be included in your project by using the XML snippet below. Please refer to http://mojo.codehaus.org/aspectj-maven-plugin/index.htmlfor usage, option description and full configuration documentation. plugin groupIdorg.codehaus.mojo/groupId artifactIdaspectj-maven-plugin/artifactId version1.5/version /plugin Release Notes - Mojo's AspectJ Maven Plugin - Version 1.5 ** Bug * [MASPECTJ-4] - Corbertura Plugin fails to work when AspectJ plugin is enabled * [MASPECTJ-89] - multi-module build dependency not found - linux only * [MASPECTJ-99] - ajc error when project has no sources * [MASPECTJ-106] - Compiler warning with aspectj-maven-plugin: expected 1.6.11 found 1.6.12 * [MASPECTJ-110] - Don't add nonexistent sourceDirectory * [MASPECTJ-120] - CreateReport and CreateSite tests do not work under Java 7 ** Improvement * [MASPECTJ-11] - Make aspect:aspectj-report store working dir under target/ * [MASPECTJ-88] - Add configuration option for -xmlConfigured as well as path to aop.xml to be used for compiling * [MASPECTJ-94] - excludes could also filter aspects included in aspectLibrary * [MASPECTJ-116] - Add support for -Xset arguments * [MASPECTJ-118] - Update to handle all options available in AspectJ 1.7.2 * [MASPECTJ-121] - Update external systems referred within POM to actual values, and use parent pom's dependency versions where applicable * [MASPECTJ-122] - Include an AJC quick reference in the plugin's documentation ** New Feature * [MASPECTJ-80] - Add support for -Xajruntimelevel * [MASPECTJ-107] - Add support for ajc -xlintfile * [MASPECTJ-108] - Java 1.7 source code not supported ** Task * [MASPECTJ-117] - Update to aspectj 1.7.2 * [MASPECTJ-119] - Update to aspectj 1.7.3 Enjoy, The Mojo team. Lennart Jörelid -- +==+ | Bästa hälsningar, | [sw. Best regards] | | Lennart Jörelid | EAI Architect Integrator | | jGuru Europe AB | Mölnlycke - Kista | | Email: l...@jguru.se | URL: www.jguru.se | Phone | (skype):jgurueurope | (intl): +46 708 507 603 | (domestic): 0708 - 507 603 +==+
RE: using a plugin twice?
Ah, too easy! I was hoping for a more difficult solution :-) -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Tuesday, September 03, 2013 6:09 PM To: Maven Users List Subject: Re: using a plugin twice? Just add the second execution with a different id On Tuesday, 3 September 2013, Richard Sand wrote: I've a feeling I know the answer at this point, but: Is it possible to use the same plugin twice in the same maven session? E.g. if I want to use maven-assembly-plugin to create two different assemblies? Or if I wanted the maven-shade-plugin to create a zip and a tarball but with slightly different contents? Or is this another case of just use two poms? Best regards, Richard - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org javascript:; For additional commands, e-mail: users-h...@maven.apache.orgjavascript:; -- Sent from my phone - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
shade plugin usage
I've a project that uses shade to create an uberjar - since I want that uberjar artifact to be available for use in other projects, does it make sense to *not* attach the artifact in shade, but rather have shade create the uberjar and dependency-reduced-pom, and then use install:install-file to grab the uberjar and drp.xml and install with a new unique artifactid (as opposed to a classifier of the original artifact)? Still feeling my way down the Maven Way... -Richard - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org