how do i get maven-gpg-plugin to sign with primary key rather than sub key
how do i get maven-gpg-plugin to sign with sub key rather than primary key? Details: I am using the maven-gpg-plugin to sign some files prior to uploading to oss.sonatype.org maven repo. This repo seems to expect the files to be signed with the primary key but the maven plugin is signing with the sub key. plugin config is set to use the primary short id 44792C47. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-gpg-plugin/artifactId executions execution idsign-artifacts/id phasepackage/phase goals goalsign/goal /goals configuration executable/usr/local/bin/gpg2/executable keyname44792C47/keyname passphrase${gpg.passphrase}/passphrase /configuration /execution /executions /plugin when I verify the resultant asc file gpg2 --verify file.asc gpg: Signature made Fri 15 Jul 16:13:13 2011 EST using RSA key ID 822CB8B5 it is using the subkey 822CB8B5 If I check the usage of the key gpg2 --edit-key 44792C47 gpg (GnuPG/MacGPG2) 2.0.17; Copyright (C) 2011 Free Software Foundation, Inc. pub 2048R/44792C47 created: 2011-07-13 expires: never usage: SCEA sub 2048R/822CB8B5 created: 2011-07-13 expires: never usage: SEA and if I list keys gpg2 --list-keys /Users/david/.gnupg/pubring.gpg --- pub 2048R/44792C47 2011-07-13 uid ... sub 2048R/822CB8B5 2011-07-13 I am using Mac OSX. The key was generated using a gui called GPG Keychain Access Thanks David - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Dependency Plugin behavior changed to copy timestamped snapshot jars
Hi all, We use the dependency plugin's goal copy-dependencies in several projects. For snapshot dependencies, it would copy unique snapshot jars until version 2.1. Since version 2.2, the behavior has changed in that now timestamped snapshots are copied. I could not find this change anywhere in the release notes. In fact, it is not documented at all, what the correct behavior is supposed to be. Is anyone aware of this change? Has it happened on purpose or by accident? Anyway, I'd really like to get the old behavior back. I think this should be configurable. Any opinions or insights? Thanks, Reinhard - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven fails while running mvn site
Hi I am trying to run mvn site and I get the following error Details : I am using Maven 2.2.1 and use JDK 1.6. I have pasted the POM.xml below ?xml version=1.0 encoding=UTF-8? project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; modelVersion4.0.0/modelVersion groupIdRS/groupId artifactIdAAL/artifactId version12 /version nameATTRIEVAL Service/name description retrieval service/description inceptionYear2010/inceptionYear organization nameer/name url../../galileo/url /organization developers developer idheckr/id nameJohn /name emailj...@gmail.com/email url../../galileo/url organizationier/organization roles roleGalileo Manager/role /roles timezone+0/timezone /developer /developers issueManagement systemWEBSTAR/system urlhttp://webstar/default.asp?logId=/url /issueManagement build/ reporting plugins plugin artifactIdmaven-changes-plugin/artifactId configuration issueLinkTemplate%URL%/default.asp?logId=%ISSUE%/issueLinkTemplate xmlPath${basedir}/src/site/xdoc/changes.xml/xmlPath /configuration reportSets reportSet reports reportjira-report/report /reports /reportSet reportSet reports reportchanges-report/report /reports /reportSet /reportSets /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.3/version configuration outputDirectory${basedir}/../BinaryRetrievalResource/WebContent/xdocs /outputDirectory /configuration /plugin /plugins /reporting /project INFO] Scanning for projects... [INFO] [INFO] Building ATTACHMENT RETRIEVAL Service [INFO]task-segment: [site] [INFO] [WARNING] DEPRECATED [issueLinkTemplate]: As of 2.1 use issueLinkTemplatePerSystem : this one will be with system default [INFO] [site:site {execution: default-site}] [ERROR] The JIRA Report only supports JIRA. No JIRA Report will be generated. [WARNING] No URL defined for the project - decoration links will not be resolved [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for updates from central [INFO] Skipped About report, file index.html already exists for the English version. [INFO] Generating Issue Tracking report. [INFO] Generating Project Team report. [INFO] Generating Dependencies report. [INFO] Generating Project Plugins report. [INFO] Generating Continuous Integration report. [INFO] Generating Source Repository report. [INFO] Generating Plugin Management report. [INFO] Generating Mailing Lists report. [INFO] Generating Project Summary report. [INFO] Generating Changes Report report. [WARNING] Deprecated API called - not org.apache.maven.doxia.sink.Sink instance and no SinkFactory available. Please update this plugin. [FATAL ERROR] org.apache.maven.plugins.site.SiteMojo#execute() caused a linkage error (java.lang.AbstractMethodError) and may be out-of-date. Check the realms: [FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.0-beta -7] urls[0] = file:/D:/Documents and Settings/krishnnx/.m2/repository/org/apache/maven/plugins/maven-site-plu gin/2.0-beta-7/maven-site-plugin-2.0-beta-7.jar urls[1] = file:/D:/Documents and Settings/krishnnx/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/
Explaining to m-eclipse-p that my project is a java-project
Hi, I am having some issues explaining to the m-eclipse-p that my project is actually a java-project and needs to be generated with a .classpath and java-nature. The problem I am facing is that the project is actually of type 'maven-archetype', but I would really like to see my resources and tests in the nice java-layout in eclipse. Anybody have an idea on how to achieve this? -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. - - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven environment configurations
Thanks for all the replies.. it has helped shape the decision i have made for our projects. In the end this is what i did: - The gui, common and server projects get deployed as binary only jars to the nexus. They contain no configuration specific to any environment. It allows me to move the same jars through multiple environments based on external configuration. This conforms to the maven way. These projects have really light poms, describing mostly dependencies and where required extra build info (for example the common project i have generates google protocol buffers code via the maven-protoc-plugin). - I created a seperate project called myproject-build. This is a maven project but is really just a facade to my SCM repository. Theoretically it could be just a whole bunch of files checked in to the repo, but i like the power of mavens assemblies, sql execution plugins, filtering etc. so i use it with that intent. It only has one dependency and this is on the server project and by using the skip property on the deploy plugin i can prevent this project getting uploaded to the nexus. The other good thing about using maven to manage this is that i can still use the m2e plugin inside my IDE, so i can create a 'Run Application...' or Debug, profile locally, simply by setting the main class as my servers main class but on my my-project-build project! Releases are then built from the assemblies in the build project based on profiles which call filters that get put in my src/main/config directory (allows me to run locally). I know this wasn't the goal of maven, but perhaps in an upcoming version, more throught could be put into the multi environment support out of the box, rather than relying on organisations to come up with their own strategies. One big selling point on the idea above is that it works in any IDE that supports maven, but also works on my build server without the need for another configuration mechanism or scripting etc. It just all comes from maven's out of the box features. It also allows me to keep all my passwords and config settings in sync with each other as they are all in the one spot! With regards to production passwords, well they aren't stored anywhere developers know about. I simply use the filtering to put in something like PASSWORD REQUIRED HERE in the production build's filter so the support/release staff know where to apply their passwords (locations supplied in documentation to them). Thanks for all the ideas and i hope this idea helps anyone else looking for out of the box maven support for split binaries and configuration all coming out of maven -- View this message in context: http://maven.40175.n5.nabble.com/Maven-environment-configurations-tp4586719p4590211.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: Maven fails while running mvn site
The site plugin needs to be configured in the build section of the pom, not in reporting. HTH, -Lukas On 07/15/2011 11:56 AM, nataraj.krishnamur...@cognizant.com wrote: Hi I am trying to run mvn site and I get the following error Details : I am using Maven 2.2.1 and use JDK 1.6. I have pasted the POM.xml below ?xml version=1.0 encoding=UTF-8? project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; modelVersion4.0.0/modelVersion groupIdRS/groupId artifactIdAAL/artifactId version12/version nameATTRIEVAL Service/name description retrieval service/description inceptionYear2010/inceptionYear organization nameer/name url../../galileo/url /organization developers developer idheckr/id nameJohn/name emailj...@gmail.com/email url../../galileo/url organizationier/organization roles roleGalileo Manager/role /roles timezone+0/timezone /developer /developers issueManagement systemWEBSTAR/system urlhttp://webstar/default.asp?logId=/url /issueManagement build/ reporting plugins plugin artifactIdmaven-changes-plugin/artifactId configuration issueLinkTemplate%URL%/default.asp?logId=%ISSUE%/issueLinkTemplate xmlPath${basedir}/src/site/xdoc/changes.xml/xmlPath /configuration reportSets reportSet reports reportjira-report/report /reports /reportSet reportSet reports reportchanges-report/report /reports /reportSet /reportSets /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.3/version configuration outputDirectory${basedir}/../BinaryRetrievalResource/WebContent/xdocs /outputDirectory /configuration /plugin /plugins /reporting /project INFO] Scanning for projects... [INFO] [INFO] Building ATTACHMENT RETRIEVAL Service [INFO]task-segment: [site] [INFO] [WARNING] DEPRECATED [issueLinkTemplate]: As of 2.1 use issueLinkTemplatePerSystem : this one will be with system default [INFO] [site:site {execution: default-site}] [ERROR] The JIRA Report only supports JIRA. No JIRA Report will be generated. [WARNING] No URL defined for the project - decoration links will not be resolved [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for updates from central [INFO] Skipped About report, file index.html already exists for the English version. [INFO] Generating Issue Tracking report. [INFO] Generating Project Team report. [INFO] Generating Dependencies report. [INFO] Generating Project Plugins report. [INFO] Generating Continuous Integration report. [INFO] Generating Source Repository report. [INFO] Generating Plugin Management report. [INFO] Generating Mailing Lists report. [INFO] Generating Project Summary report. [INFO] Generating Changes Report report. [WARNING] Deprecated API called - not org.apache.maven.doxia.sink.Sink instance and no SinkFactory available. Please update this plugin. [FATAL ERROR] org.apache.maven.plugins.site.SiteMojo#execute() caused a linkage error (java.lang.AbstractMethodError) and may be out-of-date. Check the realms: [FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.0-beta -7] urls[0] = file:/D:/Documents and
exclude plugin dependencies
Hello, Is there any way how to exclude plugin dependency? I have parent pom with plugin ... pluginManagement plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId dependencies dependency groupIdcz.autocont.internal/groupId artifactIdSuper_CheckStyle/artifactId ... And in the child pom I have pluginManagement plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId dependencies dependency groupIdcz.autocont.internal/groupId artifactIdSpecific_CheckStyle/artifactId What I need is to remove depency from the parent pom. Why I am doing this. I have in the project Super_CheckStyle definitions of the checkstyle and suppressions. In the project Specific_Checkstyle is customized suppressions.xml file. Because of the maven lifecycle Super_CheckStyle project is used during child installation (mvn install). Am I able to force maven to use Specific_checkstyle project? Thanks for the help Vita
Re: exclude plugin dependencies
Hi, You can use artifact exclusions for plugin dependencies as well. For example: plugins plugin groupId/groupId artifactId.../artifactId version.../version dependencies dependency groupIdkung.fu/groupId artifactIdkick/artifactId version1.2/version exclusions exclusion groupIdcom.foo/groupId artifactIdbar/artifactId /exclusion /exclusions /dependency /dependencies /plugin /plugins /build Good luck, Martin -- View this message in context: http://maven.40175.n5.nabble.com/exclude-plugin-dependencies-tp4590474p4590488.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
Error running Maven Tests with powermock and junit
Hi, I am not being able to run Powermock through maven. I've an ejb 2.0 project and i've put under test folder my test's classes. Here's the test: *@RunWith(PowerMockRunner.class) public class AdapterTest{ @Test public void testForSqlDate() { ..* I haven't configured anyting special for running my test. My pom references the following deps: * * junit | junit | 4.8.2 * org.easymock |easymock |3.0 * org.powermock | powermock-easymock-release-full |1.4.7* This part of pom is like this : *... dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.8.2/version typejar/type scopetest/scope /dependency dependency groupIdorg.easymock/groupId artifactIdeasymock/artifactId version3.0/version typejar/type scopetest/scope /dependency dependency groupIdorg.powermock/groupId artifactIdpowermock-easymock-release-full/artifactId version1.4.7/version typejar/type classifierfull/classifier scopetest/scope /dependency ...* When i run Maven Test i obtain the following error : *--- T E S T S --- Running TestSuite Running TestSuite Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.454 sec There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 * why it doesn't recognise my tests?? Pls help me, i'm new in maven.. Thk's a lot Chiara -- View this message in context: http://maven.40175.n5.nabble.com/Error-running-Maven-Tests-with-powermock-and-junit-tp4590688p4590688.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: Error running Maven Tests with powermock and junit
On Fri, Jul 15, 2011 at 9:35 AM, Chiara chiara_sime...@hotmail.it wrote: Hi, I am not being able to run Powermock through maven. I've an ejb 2.0 project and i've put under test folder my test's classes. Everything looked ok to me. But to make sure.. Did you put the tests in project root/src/test/java ? -- Greg Akins http://twitter.com/akinsgre - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Error running Maven Tests with powermock and junit
Hi, yes i've put all test under this folder. I don't know what to do seriously.. 'cause if i try to run test using run as junit tests it works.. Date: Fri, 15 Jul 2011 06:42:28 -0700 From: ml-node+4590720-191037357-230...@n5.nabble.com To: chiara_sime...@hotmail.it Subject: Re: Error running Maven Tests with powermock and junit On Fri, Jul 15, 2011 at 9:35 AM, Chiara [hidden email] wrote: Hi, I am not being able to run Powermock through maven. I've an ejb 2.0 project and i've put under test folder my test's classes. Everything looked ok to me. But to make sure.. Did you put the tests in project root/src/test/java ? -- Greg Akins http://twitter.com/akinsgre - To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] If you reply to this email, your message will be added to the discussion below: http://maven.40175.n5.nabble.com/Error-running-Maven-Tests-with-powermock-and-junit-tp4590673p4590720.html To unsubscribe from Error running Maven Tests with powermock and junit, click here. -- View this message in context: http://maven.40175.n5.nabble.com/Error-running-Maven-Tests-with-powermock-and-junit-tp4590673p4590726.html Sent from the Maven - Users mailing list archive at Nabble.com.
Re: Error running Maven Tests with powermock and junit
On Fri, Jul 15, 2011 at 9:44 AM, Chiara chiara_sime...@hotmail.it wrote: Hi, yes i've put all test under this folder. I don't know what to do seriously.. 'cause if i try to run test using run as junit tests it works.. So the only change you make.. after the JUnit tests run, is to add the @RunWith(PowerMockRunner.class) attribute? And then the tests are not recognized? -- Greg Akins http://twitter.com/akinsgre - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Error running Maven Tests with powermock and junit
Does your class containing the tests matches the default include patterns? http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#includes includes include**/Test*.java/include include**/*Test.java/include include**/*TestCase.java/include /includes Guillaume Le 15/07/2011 15:51, Greg Akins a écrit : On Fri, Jul 15, 2011 at 9:44 AM, Chiarachiara_sime...@hotmail.it wrote: Hi, yes i've put all test under this folder. I don't know what to do seriously.. 'cause if i try to run test using run as junit tests it works.. So the only change you make.. after the JUnit tests run, is to add the @RunWith(PowerMockRunner.class) attribute? And then the tests are not recognized? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Error running Maven Tests with powermock and junit
Hi, I am not being able to run Powermock through maven. I've an ejb 2.0 project and i've put under test folder my test's classes. Here's the test: *@RunWith(PowerMockRunner.class) public class AdapterTest{ @Test public void testForSqlDate() { ..* I haven't configured anyting special for running my test. My pom references the following deps: * * junit | junit | 4.8.2 * org.easymock |easymock |3.0 * org.powermock | powermock-easymock-release-full |1.4.7* This part of pom is like this : *... dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.8.2/version typejar/type scopetest/scope /dependency dependency groupIdorg.easymock/groupId artifactIdeasymock/artifactId version3.0/version typejar/type scopetest/scope /dependency dependency groupIdorg.powermock/groupId artifactIdpowermock-easymock-release-full/artifactId version1.4.7/version typejar/type classifierfull/classifier scopetest/scope /dependency ...* When i run Maven Test i obtain the following error : *--- T E S T S --- Running TestSuite Running TestSuite Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.454 sec There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 * why it doesn't recognise my tests?? Pls help me, i'm new in maven.. Thk's a lot Chiara -- View this message in context: http://maven.40175.n5.nabble.com/Error-running-Maven-Tests-with-powermock-and-junit-tp4590673p4590673.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: Error running Maven Tests with powermock and junit
Yes 'cause my test class is AdapterTest.java I have to add some specific plugin ?? Plugin i've added to project are : plugin groupIdorg.codehaus.mojo/groupId artifactIdwas6-maven-plugin/artifactId version1.1.2/version executions execution goals goalejbdeploy/goal /goals /execution /executions configuration wasHome${was61.home}/wasHome /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId version2.3/version configuration ejbVersion2.1/ejbVersion generateClienttrue/generateClient archive manifest addClasspathtrue/addClasspath /manifest indexfalse/index addMavenDescriptorfalse/addMavenDescriptor /archive /configuration /plugin thk a lot Date: Fri, 15 Jul 2011 07:05:39 -0700 From: ml-node+4590805-1772571158-230...@n5.nabble.com To: chiara_sime...@hotmail.it Subject: Re: Error running Maven Tests with powermock and junit Does your class containing the tests matches the default include patterns? http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#includes includes include**/Test*.java/include include**/*Test.java/include include**/*TestCase.java/include /includes Guillaume Le 15/07/2011 15:51, Greg Akins a écrit : On Fri, Jul 15, 2011 at 9:44 AM, Chiara[hidden email] wrote: Hi, yes i've put all test under this folder. I don't know what to do seriously.. 'cause if i try to run test using run as junit tests it works.. So the only change you make.. after the JUnit tests run, is to add the @RunWith(PowerMockRunner.class) attribute? And then the tests are not recognized? - To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] If you reply to this email, your message will be added to the discussion below: http://maven.40175.n5.nabble.com/Error-running-Maven-Tests-with-powermock-and-junit-tp4590673p4590805.html To unsubscribe from Error running Maven Tests with powermock and junit, click here. -- View this message in context: http://maven.40175.n5.nabble.com/Error-running-Maven-Tests-with-powermock-and-junit-tp4590673p4590845.html Sent from the Maven - Users mailing list archive at Nabble.com.
Re: Error running Maven Tests with powermock and junit
Yes 'cause my test class is AdapterTest.java I have to add some specific plugin ?? Perhaps try mvn -X ... and see if you notice anything interesting in the debug output? Otherwise maybe post the output of that command to www.pastebin.com and send a link here (please do NOT send the full log via email) and someone can take a look at it. Also, if you can package up a sample project that demonstrates this behavior consistently, that may be helpful for diagnosing the problem and providing a fix. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Dependency Plugin behavior changed to copy timestamped snapshot jars
If the snapshot was resolved from a repo then it will be timestamped, if it came from the reactor or local repo, then it will be -SNAPSHOT. The plugin calls into the maven resolution logic so this is core maven behavior. In 2.2, resolution from the reactor was introduced for these goals, previously they would always go to the repository, this could be why you see a change in the new version. On Fri, Jul 15, 2011 at 5:28 AM, Reinhard Nägele reinhard.naeg...@mgm-tp.com wrote: Hi all, We use the dependency plugin's goal copy-dependencies in several projects. For snapshot dependencies, it would copy unique snapshot jars until version 2.1. Since version 2.2, the behavior has changed in that now timestamped snapshots are copied. I could not find this change anywhere in the release notes. In fact, it is not documented at all, what the correct behavior is supposed to be. Is anyone aware of this change? Has it happened on purpose or by accident? Anyway, I'd really like to get the old behavior back. I think this should be configurable. Any opinions or insights? Thanks, Reinhard - 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
How do I make my archetype from a multimodule project use directories that are based on the artifactId ?
I have create an archetype using archetype:create-from-project out of a multi module project. The archetype-metadata.xml is attached and also as a paste below, what I would want is that the dir can be modified when I run mvn archetype:generate by using the archetypeId I provide instead of using a fixed one. Can that be done? http://snipt.net/feniix/archetype-metadataxml Basically my archetype has this structure: ├── pom.xml └── src ├── main │ └── resources │ ├── archetype-resources │ │ ├── pom.xml │ │ ├── service │ │ │ ├── pom.xml │ │ │ └── src │ │ │ ├── main │ │ │ │ └── java │ │ │ └── test │ │ │ ├── java │ │ │ └── resources │ │ ├── service-def │ │ │ ├── pom.xml │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ └── service-web │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ ├── resources │ │ │ ├── dao-context.xml │ │ │ ├── hibernate.cfg.xml │ │ │ └── single-context.xml │ │ └── webapp │ │ └── WEB-INF │ │ ├── jboss-web.xml │ │ ├── remoting-servlet.xml │ │ └── web.xml │ └── META-INF │ └── maven │ └── archetype-metadata.xml └── test └── resources └── projects └── basic ├── archetype.properties └── goal.txt Is there any way I can make the directories service-web service and service-def be dynamic when I use the archetype? Thanks in advance -- Those who do not understand Unix are condemned to reinvent it, poorly. Any sufficiently recent Microsoft OS contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Unix. ?xml version=1.0 encoding=UTF-8? archetype-descriptor xsi:schemaLocation=http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd; name=service-parent xmlns=http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; modules module id=service-def dir=service-def name=service-def fileSets fileSet filtered=true packaged=true encoding=UTF-8 directorysrc/main/java/directory includes include**/*.java/include /includes /fileSet /fileSets /module module id=service dir=service name=service fileSets fileSet filtered=true packaged=true encoding=UTF-8 directorysrc/main/java/directory includes include**/*.java/include /includes /fileSet fileSet filtered=true packaged=true encoding=UTF-8 directorysrc/test/java/directory includes include**/*.java/include /includes /fileSet fileSet filtered=true encoding=UTF-8 directorysrc/test/resources/directory includes include**/*.xml/include include**/*.properties/include /includes /fileSet fileSet encoding=UTF-8 directorysrc/test/resources/directory includes include**/*.sql/include include**/*.dtd/include /includes /fileSet /fileSets /module module id=service-web dir=service-web name=service-web fileSets fileSet filtered=true encoding=UTF-8 directorysrc/main/webapp/directory includes include**/*.xml/include /includes /fileSet fileSet filtered=true encoding=UTF-8 directorysrc/main/resources/directory includes include**/*.xml/include /includes /fileSet /fileSets /module /modules /archetype-descriptor - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven scm:commit is not working for multi module project
Hi, I have a multi module project with following structure Parent Module1 Module2 When I run the scm:commit on parent project, maven is not commiting changes in Module1 Module2. How do I resolve this issue ? Thanks, sm11299 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org