Re: artifacts associated with a WAR
mvn help:effective-pom shows the outout in the project POM.xml and the source tree. I want to see the same information on a WAR/EAR/JAR/ZIP file. TIA, Wayne Fay wrote: > >> I know that we can see useful info using mvn help:effective-pom on the >> source code. But how can I see the same on a WAR file ? We deploy the >> WARS >> to nexus. > > What (specific) information about the WAR file do you want to see > which is not already being shown via help:effective-pom? > > Wayne > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://old.nabble.com/artifacts-associated-with-a-WAR-tp26135064p26135738.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
artifacts associated with a WAR
Hi, We use Maven WAR plugin for generating WAR. Is there a way to see the artifacts associated with a WAR. I know that we can see useful info using mvn help:effective-pom on the source code. But how can I see the same on a WAR file ? We deploy the WARS to nexus. TIA, -- View this message in context: http://old.nabble.com/artifacts-associated-with-a-WAR-tp26135064p26135064.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
emma exclude filter
Hi, We are using M2.2 and Emma plugin to report coverage. I want to exlcude certain packages from code coverage using emma-maven plugin. I dont want to use CLI. This doesnt seem to work. Any suggestions ? I still see coverage reported for com.abc.t3.db ? org.codehaus.mojo emma-maven-plugin true -com/abc/t3/cm/db/**/* -**/*Abstract*Test.java -test/integration/**/*.java -**/*$* instrument -- View this message in context: http://www.nabble.com/emma-exclude-filter-tp25881236p25881236.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
maven build from central repossitory
Hi, Is there a way to run maven build in such a way that it forcefully downloads the artifacts from central/in-house repository instead of using the local .m2 repo ? I realise cleaning .m2 will force the artifacts download from Nexus (our repo manager). But since we run builds through Hudson I cannot always create .m2 when I have builds queued up. Thanks ! -- View this message in context: http://www.nabble.com/maven-build-from-central-repossitory-tp25085572p25085572.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 deploy plugin
Here is what I added in the maven goal. -e deploy:deploy-file -Dfile=pom.xml -Durl=http://abc001.na.abcglobal.com:8081/nexus/content/repositories/releases -DrepositoryId=releases -DgroupId=com.abc.t3 -DartifactId=t3 -Dversion=1.1 -Dpackaging=pom But this creates incorrect 1.1 version of my project POM. I want to see the actual contents of pom.xml from my version control repository to get deployed to Nexus. Instead the resulting POM is ?xml version="1.0" encoding="UTF-8"?> 4.0.0 com.abc.t3 t3 pom 1.1 ~ I was expecting that deploy-file will deploy the actual file i.e pom.xml in this case. What could be wrong here ? Thanks, huser wrote: > > Hi, > > I want to deploy a project POM file only. I added maven-deploy plugin as > follows. When I run > > mvn dpeloy:deploy-file > > It still complains about missing modules directories. I dont want to build > the modules. I want to generate the pom file only. How can I do this ? > > > > com.abc > abc-parent > 2.4 > > com.abc.t3 > t3 > 1.1 > pom > ABC T3 > > > > > > org.apache.maven.plugins >maven-deploy-plugin >2.4 > > > > > > -- View this message in context: http://www.nabble.com/maven-deploy-plugin-tp24902976p24943430.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
maven deploy plugin
Hi, I want to deploy a project POM file only. I added maven-deploy plugin as follows. When I run mvn dpeloy:deploy-file It still complains about missing modules directories. I dont want to build the modules. I want to generate the pom file only. How can I do this ? com.abc abc-parent 2.4 com.abc.t3 t3 1.1 pom ABC T3 org.apache.maven.plugins maven-deploy-plugin 2.4 -- View this message in context: http://www.nabble.com/maven-deploy-plugin-tp24902976p24902976.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
change outputfile name
Hi, I have a maven module which builds moduleA-1.0-SNAPSHOT.jar. I need the output file name to be moduleA.jar. How can I do this via CLI or POM change ? Thanks -- View this message in context: http://www.nabble.com/change-outputfile-name-tp24095098p24095098.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
maven assembly plugin
Hi, I am using the maven assembly plugin to create a zip file containing certain jars. The zip file contains the version info of the jars as well. Example: abc.zip has activation-1.1.jar, commons-7.2.jar How can I remove the version info from getting attached to the jar file and consequently getting zipped ? TIA, -- View this message in context: http://www.nabble.com/maven-assembly-plugin-tp23871508p23871508.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
maven cobertura plugin - haltonFailure ?
Hi, I am trying to use Maven Cobertura Plugin. I want to setup different lineRate/branchRate for different packages. But this doesnt seem to be working. 1. haltnFailure does not work even if I set the values to 100 for the top level module. 2. regex doesnt seem to do anything. I specified higher values for critical code and lower values for un-important code. But I dont see any difference. Any ideas ? org.codehaus.mojo cobertura-maven-plugin true xml true 90 90 90 90 90 90 com.abc.t3.st 90 90 com.abc.t3.findservice.impl 40 30 -- View this message in context: http://www.nabble.com/maven-cobertura-plugin---haltonFailure---tp23675026p23675026.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
unit test coverage
Hi, Is there a way to setup different BranchRate in Cobertura Plugin for each maven module ? I have a Maven build which runs cobertura covergae and shows the results for the entire project. The team wants to seup different BranchRate values for different values. Is this possible ? I am usung Hudson to render Cobertura results (not using the site goal). Thanks, -- View this message in context: http://www.nabble.com/unit-test-coverage-tp23510082p23510082.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
cobertura results
Hi, I have Cobertura plugin configured in my pom.xml. Hudson renders the results from coverage.xml and reports the coverage results classified as Packages,Files, Classes,Methods,Lines,Conditionals Why am I not seeing BranchRate,LineRate,PackageLineRate etc ? I am not using "Maven Genertate Site" for any kind of Project Reports. My pom.xml looks like this: org.codehaus.mojo cobertura-maven-plugin true xml false 70 70 70 70 85 85 -- View this message in context: http://www.nabble.com/cobertura-results-tp23490065p23490065.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 release plugin issue
I am fairly new to maven. So I guess I need a plugin to copy the abc-interface-api.jar to my local repository ? Are you suggesting I do this by dependency plugin. I tried adding this. Basically, abc-interface-api-$project.parent.version} should get copied to local .m2 repository under com/abc/t3/abc-interface=api/1.6 org.apache.maven.plugins maven-dependency-plugin copy package copy com.abc.t3 abc-interface-api ${project.parent.version} jar true ${env.M2_REPO}/com/abc/t3 abc-interface-api-${project.parent.version}.jar but, then I get this error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] -- -- [INFO] [INFO] Unable to find artifact. [INFO] [INFO] Embedded error: Unable to download the artifact from any repository [INFO] [INFO] Try downloading the file manually from the project website. [INFO] [INFO] Then, install it using the command: [INFO] mvn install:install-file -DgroupId=com.abc.t3 -DartifactId=abc-inter face-api -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file [INFO] [INFO] Alternatively, if you host your own repository you can deploy the file th ere: [INFO] mvn deploy:deploy-file -DgroupId=com.abc.t3 -DartifactId=abc-interfa ce-api -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dreposito ryId=[id] [INFO] [INFO] [INFO] com.abc.t3:abc-interface-api:jar:1.6 [INFO] [INFO] from the specified remote repositories: [INFO] nexus (http://abcsvn001.na.abcglobal.com:8081/nexus/content/groups/publi c), [INFO] snapshots (http://abcsvn001.na.abcglobal.com:8081/nexus/content/reposito ries/snapshots) [INFO] [INFO] [INFO] -- Stephen Connolly-2 wrote: > > ugh! > > that sounds hacky hacky hack > > you probably should try having the dependency plugin unpack for you > > -Stephen > On 04/05/2009, huser wrote: >> >> Hi, >> >> I am running maven release plugin by: >> >> mvn -f pom.xml -Pabc.debug.release --batch-mode -Dtag=REL1.5-TEST >> -DtagBase="https://abcsvn001.na.abcglobal.com/abc_repos/T3/tags"; >> -DreleaseVersion=1.5 -DdevelopmentVersion=1.6-SNAPSHOT release:prepare >> >> And I get this build error. >> [INFO] [INFO] An Ant BuildException has occured: The following error >> occurred wh >> ile executing this line: >> [INFO] >> C:\mvn_rel\int_002_dev_test\services-api\abc-interface-api\xsd-extract.xm >> l:19: Error while expanding C:\Documents and >> Settings\huser\.m2\repository\co >> m\abc\t3\abc-websvc-api\1.5\abc-websvc-api-1.5.jar >> [INFO] java.io.FileNotFoundException: C:\Documents and >> Settings\huser\.m2\rep >> ository\com\abc\t3\abc-websvc-api\1.5\abc-websvc-api-1.5.jar (The system >> cannot >> find the path specified) >> >> I do not get this error if I do not use the release plugin i.e. >> mvn -f pom.xml -Pabc.debug.release clean install deploy >> >> In my xsd-extract.xml, I have an environment variable $verinfo which >> >> > src="${env.M2_REPO}/com/abc/t3/abc-websvc-api/${verinfo}/abc-websvc-api-${verinfo}.jar" >> >> gets its value defined in abc-interface-api >> >> >> >> org.apache.maven.plugins >> maven-antrun-plugin >> >> >> extract-xsds >> initialize >> >> >> >> >> >> >> >> >> >> >> run >> >> >> >> >> >> Why is abc-websvc-api-1.5.jar being called before it is deployed in .m2 ? >> This jar does get generated in abc-interface-api\target. But it does not >> get >> deployed in .m2 >> >> Any ideas ? >> >> thanks, >> -- >> View this message in context: >> http://www.nabble.com/maven-release-plugin-issue-tp23375978p23375978.htm
maven release plugin issue
Hi, I am running maven release plugin by: mvn -f pom.xml -Pabc.debug.release --batch-mode -Dtag=REL1.5-TEST -DtagBase="https://abcsvn001.na.abcglobal.com/abc_repos/T3/tags"; -DreleaseVersion=1.5 -DdevelopmentVersion=1.6-SNAPSHOT release:prepare And I get this build error. [INFO] [INFO] An Ant BuildException has occured: The following error occurred wh ile executing this line: [INFO] C:\mvn_rel\int_002_dev_test\services-api\abc-interface-api\xsd-extract.xm l:19: Error while expanding C:\Documents and Settings\huser\.m2\repository\co m\abc\t3\abc-websvc-api\1.5\abc-websvc-api-1.5.jar [INFO] java.io.FileNotFoundException: C:\Documents and Settings\huser\.m2\rep ository\com\abc\t3\abc-websvc-api\1.5\abc-websvc-api-1.5.jar (The system cannot find the path specified) I do not get this error if I do not use the release plugin i.e. mvn -f pom.xml -Pabc.debug.release clean install deploy In my xsd-extract.xml, I have an environment variable $verinfo which org.apache.maven.plugins maven-antrun-plugin extract-xsds initialize run Why is abc-websvc-api-1.5.jar being called before it is deployed in .m2 ? This jar does get generated in abc-interface-api\target. But it does not get deployed in .m2 Any ideas ? thanks, -- View this message in context: http://www.nabble.com/maven-release-plugin-issue-tp23375978p23375978.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
Maven variable in antrun plugin
Hi, I have a maven-antrun-plugin in sub-project\pom.xml which does this: org.apache.maven.plugins maven-antrun-plugin extract-xsds initialize run In the file xsd-extract.xml there is a target. I need to replace the version infor with ${project.parent.version}. How can I do this ? I am fairly new to ANT/Maven. TIA, -- View this message in context: http://www.nabble.com/Maven-variable-in-antrun-plugin-tp23299675p23299675.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 antrun plugin
Hi, I added pre-site. POM looks like this: org.apache.maven.plugins maven-antrun-plugin 1.3 pre-site run I still dont see the ant task being run. mvn antrun:run javadoc is not getting created in target. Stephen Connolly-2 wrote: > > bind the execution to the pre-site phase > > Sent from my [rhymes with myPod] ;-) > > On 22 Apr 2009, at 22:40, huser wrote: > >> >> Hi , >> >> I added maven ant run plugin to my project POM.xml. Then I ran mvn >> clean >> install antrun:run. >> >> I do not see the javadoc target getting generated. The plugin is not >> working >> as expected. Any ideas ? >> >> My project has various modules inside it. Following change was made in >> project\pom.xml >> >> >>maven-antrun-plugin >> >> >> >> >> >> >> >> >> >> run >> >> >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/maven-antrun-plugin-tp23176592p23176592.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 >> > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://www.nabble.com/maven-antrun-plugin-tp23176592p23197429.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
maven antrun plugin
Hi , I added maven ant run plugin to my project POM.xml. Then I ran mvn clean install antrun:run. I do not see the javadoc target getting generated. The plugin is not working as expected. Any ideas ? My project has various modules inside it. Following change was made in project\pom.xml maven-antrun-plugin run -- View this message in context: http://www.nabble.com/maven-antrun-plugin-tp23176592p23176592.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 changelog plugin
Any ideas ? Anyone ? huser wrote: > > Hi, > > I have a situation in which I need to specify different location for scm > connections in the plugin. How can I set this up ? See the comment > and > > Adding new locations like these does not work. > > Thanks, > > > > > scm:svn:https://domain1.na.abcglobal.com/abc_repos/T3/branches/int_002_dev_test/common > > scm:svn:https://domain1.na.atxglobal.com/abc_repos/T3/branches/int_002_dev_test/sys-trace > --> > > HEAD > > https://domain1.na.atxglobal.com/abc_repos/T3/branches/int_002_dev_test > > > > -- View this message in context: http://www.nabble.com/maven-changelog-plugin-tp22978971p23023530.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
maven changelog plugin
Hi, I have a situation in which I need to specify different location for scm connections in the plugin. How can I set this up ? See the comment and Adding new locations like these does not work. Thanks, scm:svn:https://domain1.na.abcglobal.com/abc_repos/T3/branches/int_002_dev_test/common HEAD https://domain1.na.atxglobal.com/abc_repos/T3/branches/int_002_dev_test -- View this message in context: http://www.nabble.com/maven-changelog-plugin-tp22978971p22978971.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
Equivalent of latest.integration in maven ?
Hi, The developers setup the rev number in ivy.xml as "latest.integration" for project dependencies. Is there an equivalent of this in Maven ? Revision always pointing to latest SNAPSHOT version (coming from Nexus) ? Thanks, -- View this message in context: http://www.nabble.com/Equivalent-of-latest.integration-in-maven---tp22959682p22959682.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 release plugin issue
I am using tagBase and still the same result [INFO] Tagging release with the label REL1.0-TEST... [INFO] Executing: svn --non-interactive copy --file C:\DOCUME~1\huser\LOCALS~ 1\Temp\maven-scm-1923501528.commit . https://domain1.na.abcglobal.com/abc_repos /sip/tags/REL1.0-TEST [INFO] Working directory: C:\ws17\sip [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Unable to tag SCM Provider message: The svn tag command failed. Command output: svn: Commit failed (details follow): svn: '/abc_repos/sip/tags' path not found The tagging needs to be done under /abc_repos/projectA/tags. "sip" is a module under projectA, which is where I am running the maven release plugin from. POM.xml org.apache.maven.plugins maven-release-plugin 2.0-beta-9 https://domain1.na.abcglobal.com/abc_repos/projectA/tags false false deploy -Prelease Olivier Lamy wrote: > > Have a look at : > http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#tagBase > > HTH, > -- > Olivier > > 2009/4/6 huser : >> >> Here is what i did: >> >> - Changed the version to 2.0-beta-9 >> - Set remoteTagging to false >> - scm element is listed as >> >> The release plugin commits the POM's even if tagging fails. And tagging >> does >> fail, because of incorrect location. Why is SVN trying to tag >> /abc_repos/sip/tags instead of /abc_repos/tags ? >> >> [INFO] Executing: svn --non-interactive copy --file >> C:\DOCUME~1\huser\LOCALS~ >> 1\Temp\maven-scm-1466134858.commit . >> https://domain1.na.abcglobal.com/abc_repos >> /sip/tags/REL_1.0-TEST >> [INFO] Working directory: C:\ws17\sip >> [INFO] >> >> [ERROR] BUILD FAILURE >> [INFO] >> >> [INFO] Unable to tag SCM >> Provider message: >> The svn tag command failed. >> Command output: >> svn: Commit failed (details follow): >> svn: '/abc_repos/sip/tags' path not found >> >> POM now looks like: >> >> >> >> >> scm:svn:https://domain1.na.abcglobal.com/abc_repos >> >> scm:svn:https://domain1.na.abcglobal.com/abc_repos >> https://domain1.na.abcglobal.com/abc_repos >> >> >> >> >> >> org.apache.maven.plugins> Id> >> >> maven-release-plugin >> 2.0-beta-9 >> >> >> false> ing> >> >> false >> deploy >> >> -Prelease >> >> >> >> >> >> Olivier Lamy wrote: >>> >>> Hi, >>> First use a released version of the plugin : 2.0-beta-9. >>> Then two options : >>> - remoteTagging to false >>> - add a scm element in your pom. >>> >>> -- >>> Olivier >>> >>> 2009/4/6 huser : >>>> >>>> Hi, >>>> >>>> I setup the maven release plugin as >>>> >>>> >>>> org.apache.maven.plugins >>>> >>>> maven-release-plugin >>>> >>>> 2.0-beta-9-SNAPSHOT >>>> >>>> >>>> true >>>> >>>> false >>>> deploy >>>> >>>> -Prelease >>>> >>>> >>>> When I run mvn release:plugin it is not able to tag SVN. >>>> >>>> Provider message: >>>> The svn tag command failed. >>>> Command output: >>>> svn: Commit failed (details follow): >>>> svn: '/abc_repos/sip/tags' path not found >>>> >>>> This is because I am running the plugin ins
Re: maven release plugin issue
Here is what i did: - Changed the version to 2.0-beta-9 - Set remoteTagging to false - scm element is listed as The release plugin commits the POM's even if tagging fails. And tagging does fail, because of incorrect location. Why is SVN trying to tag /abc_repos/sip/tags instead of /abc_repos/tags ? [INFO] Executing: svn --non-interactive copy --file C:\DOCUME~1\huser\LOCALS~ 1\Temp\maven-scm-1466134858.commit . https://domain1.na.abcglobal.com/abc_repos /sip/tags/REL_1.0-TEST [INFO] Working directory: C:\ws17\sip [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Unable to tag SCM Provider message: The svn tag command failed. Command output: svn: Commit failed (details follow): svn: '/abc_repos/sip/tags' path not found POM now looks like: scm:svn:https://domain1.na.abcglobal.com/abc_repos scm:svn:https://domain1.na.abcglobal.com/abc_repos https://domain1.na.abcglobal.com/abc_repos org.apache.maven.plugins maven-release-plugin 2.0-beta-9 false false deploy -Prelease Olivier Lamy wrote: > > Hi, > First use a released version of the plugin : 2.0-beta-9. > Then two options : > - remoteTagging to false > - add a scm element in your pom. > > -- > Olivier > > 2009/4/6 huser : >> >> Hi, >> >> I setup the maven release plugin as >> >> >> org.apache.maven.plugins >> >> maven-release-plugin >> >> 2.0-beta-9-SNAPSHOT >> >> >> true >> >> false >> deploy >> >> -Prelease >> >> >> When I run mvn release:plugin it is not able to tag SVN. >> >> Provider message: >> The svn tag command failed. >> Command output: >> svn: Commit failed (details follow): >> svn: '/abc_repos/sip/tags' path not found >> >> This is because I am running the plugin inside a module, which exists >> under >> a SVN repo. The path listed above does not exist. The correct path should >> be >> be /abc_repos/tags. How can I run this ? >> >> thanks, >> -- >> View this message in context: >> http://www.nabble.com/maven-release-plugin-issue-tp22911245p22911245.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 >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://www.nabble.com/maven-release-plugin-issue-tp22911245p22914943.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
maven release plugin issue
Hi, I setup the maven release plugin as org.apache.maven.plugins maven-release-plugin 2.0-beta-9-SNAPSHOT true false deploy -Prelease When I run mvn release:plugin it is not able to tag SVN. Provider message: The svn tag command failed. Command output: svn: Commit failed (details follow): svn: '/abc_repos/sip/tags' path not found This is because I am running the plugin inside a module, which exists under a SVN repo. The path listed above does not exist. The correct path should be be /abc_repos/tags. How can I run this ? thanks, -- View this message in context: http://www.nabble.com/maven-release-plugin-issue-tp22911245p22911245.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
Maven release plugin issue- Error code 401
Hi, I am running maven perform and get the following error. I am the Nexus Administrator and I have commented out in settings.xml in my local repo. What could be wrong here ? I want to use the release plugin only for deployments. [ERROR] BUILD ERROR [INFO] - --- [INFO] Error deploying artifact: Failed to transfer file: http://fpsvn00 1.na.coglobal.com:8081/nexus/content/repositories/releases/com/co/maven/co-m aven/1.0/co-maven-1.0.pom. Return code is: 401 Thanks, -- View this message in context: http://www.nabble.com/Maven-release-plugin-issue--Error-code-401-tp22729480p22729480.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
Duplicate name in parent and current
Hi, I have a situation in which the dir names are same. Example: /base /base/modA /base/modA/modA I get the following error while trying to run mvn compile. The code for 2 POM's is below. What should I change in the parent to make this work ? Thanks, Reason: Parent element is a duplicate of the current project for project com.co.t3:modA [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Parent element is a duplicate of the current project for project com.co.t3:modA at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) /base/modA/pom.xml com.co.t3 t3 1.0-SNAPSHOT ../base/pom.xml modA com.co.t3 modA pom 1.0-SNAPSHOT /base/modA/modA/pom.xml com.co.t3 modA 1.0-SNAPSHOT com.co.t3 modA jar 1.0-SNAPSHOT -- View this message in context: http://www.nabble.com/Duplicate-name-in-parent-and-current-tp22707830p22707830.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
mvn site issue with cobertura
Hi, I am getting the following error while running mvn site. What is wrong here ? [INFO] Storing buildNumber: 65557 at timestamp: 2009-03-16T14:33:40-0500 [INFO] [cobertura:instrument] [INFO] Not executing cobertura:instrument as the project is not a Java classpath -capable package [INFO] [site:site] [INFO] Not executing cobertura:report as the cobertura data file (C:\ws\int_002_ dev_test\services-api\target\cobertura\cobertura.ser) could not be found Downloading: http://domain.com:8081/nexus/content/groups/public/c om/co/t3/t3/${co.t3.version}/t3-${co.t3.version}.pom Downloading: http://domain.com:8081/nexus/content/groups/public/c om/co/t3/t3/${co.t3.version}/t3-${co.t3.version}.pom Downloading: http://domain.com:8081/nexus/content/groups/public/c om/co/t3/t3/${co.t3.version}/t3-${co.t3.version}.pom [INFO] Parent project loaded from repository. Downloading: http://domain.com:8081/nexus/content/groups/public/c om/co/t3/t3/${co.t3.version}/t3-${co.t3.version}-site_en.xml Downloading: http://domain:8081/nexus/content/groups/public/c om/co/t3/t3/${co.t3.version}/t3-${co.t3.version}-site_en.xml Downloading: http://domain.com:8081/nexus/content/groups/public/c om/co/t3/t3/${co.t3.version}/t3-${co.t3.version}-site_en.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The site descriptor cannot be resolved from the repository: The system ca nnot find the path specified [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 18 seconds [INFO] Finished at: Mon Mar 16 14:33:40 CDT 2009 [INFO] Final Memory: 43M/77M [INFO] The plugin for Cobertura is: org.codehaus.mojo cobertura-maven-plugin true -- View this message in context: http://www.nabble.com/mvn-site-issue-with-cobertura-tp22544188p22544188.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: changelog plugin SVN issue
Thanks this worked ! MP Reinhard Nägele wrote: > > Why did you configure connection and developerConnection differently? I > guess they should both point to the trunk. The changelog plugin by > default uses "connection." > > Reinhard > > huser schrieb: >> Any ideas anyone ? The code is under "trunk". How/Where can I change the >> path >> for Maven to look at the correct path ? >> >> Thanks, >> >> >> >> >> huser wrote: >> >>> Hi, >>> >>> I added the ChangeLog Plugin in Maven2. But I get the following error: >>> >>> [INFO] Executing: svn --non-interactive log -v -r "{2009-02-11 16:57:46 >>> +}:{ >>> 2009-03-14 16:57:46 +}" https://my-co-srvr/ABC_tools/ABC-tool >>> s-src/ABC-maven/jarred-test-wsdls >>> [INFO] Working directory: >>> C:\ABC_tools\ABC-tools-src\ABC-maven\trunk\jarred-test >>> -wsdls >>> [ERROR] Provider message: >>> [ERROR] The svn command failed. >>> [ERROR] Command output: >>> [ERROR] svn: >>> '/ABC_tools/!svn/bc/39/ABC-tools-src/ABC-maven/jarred-test-wsdls' p >>> ath not found >>> >>> This is because the correct paths need to be svn --non-interactive log >>> -v >>> -r "{2009-02-11 16:57:46 +}:{ >>> 2009-03-14 16:57:46 +}" https://my-co-srvr/ABC_tools/ABC-tool >>> s-src/ABC-maven/trunk/jarred-test-wsdls >>> >>> How can I pass the branch name as trunk ? My POM.xml looks like this: >>> >>> >>> >>> scm:svn:https://my-co-srvr/ABC_tools/ABC-tools-src/ABC-maven >>> >>> >>> >>> scm:svn:https://my-co-srvr/atx_tools/ABC-tools-src/ABC-maven/trunk >>> >>> HEAD >>> https://my-co-srvr/ABC_tools/ABC-tools-src/ABC-maven >>> >>> >>> >>> org.apache.maven.scm >>> maven-scm-provider-svnexe >>> 1.1 >>> >>> >>> >>> >>> 1.0-beta-4 >>> >>> >>> >>> >>> org.apache.maven.plugins >>> maven-changelog-plugin >>> >>> >>> >>> >>> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://www.nabble.com/changelog-plugin-SVN-issue-tp22500898p22543367.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: changelog plugin SVN issue
Any ideas anyone ? The code is under "trunk". How/Where can I change the path for Maven to look at the correct path ? Thanks, huser wrote: > > Hi, > > I added the ChangeLog Plugin in Maven2. But I get the following error: > > [INFO] Executing: svn --non-interactive log -v -r "{2009-02-11 16:57:46 > +}:{ > 2009-03-14 16:57:46 +}" https://my-co-srvr/ABC_tools/ABC-tool > s-src/ABC-maven/jarred-test-wsdls > [INFO] Working directory: > C:\ABC_tools\ABC-tools-src\ABC-maven\trunk\jarred-test > -wsdls > [ERROR] Provider message: > [ERROR] The svn command failed. > [ERROR] Command output: > [ERROR] svn: > '/ABC_tools/!svn/bc/39/ABC-tools-src/ABC-maven/jarred-test-wsdls' p > ath not found > > This is because the correct paths need to be svn --non-interactive log -v > -r "{2009-02-11 16:57:46 +}:{ > 2009-03-14 16:57:46 +}" https://my-co-srvr/ABC_tools/ABC-tool > s-src/ABC-maven/trunk/jarred-test-wsdls > > How can I pass the branch name as trunk ? My POM.xml looks like this: > > > > scm:svn:https://my-co-srvr/ABC_tools/ABC-tools-src/ABC-maven > > > > scm:svn:https://my-co-srvr/atx_tools/ABC-tools-src/ABC-maven/trunk > > HEAD > https://my-co-srvr/ABC_tools/ABC-tools-src/ABC-maven > > > > org.apache.maven.scm > maven-scm-provider-svnexe > 1.1 > > > > > 1.0-beta-4 > > > > > org.apache.maven.plugins > maven-changelog-plugin > > > > -- View this message in context: http://www.nabble.com/changelog-plugin-SVN-issue-tp22500898p22501667.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
changelog plugin SVN issue
Hi, I added the ChangeLog Plugin in Maven2. But I get the following error: [INFO] Executing: svn --non-interactive log -v -r "{2009-02-11 16:57:46 +}:{ 2009-03-14 16:57:46 +}" https://my-co-srvr/ABC_tools/ABC-tool s-src/ABC-maven/jarred-test-wsdls [INFO] Working directory: C:\ABC_tools\ABC-tools-src\ABC-maven\trunk\jarred-test -wsdls [ERROR] Provider message: [ERROR] The svn command failed. [ERROR] Command output: [ERROR] svn: '/ABC_tools/!svn/bc/39/ABC-tools-src/ABC-maven/jarred-test-wsdls' p ath not found This is because the correct paths need to be svn --non-interactive log -v -r "{2009-02-11 16:57:46 +}:{ 2009-03-14 16:57:46 +}" https://my-co-srvr/ABC_tools/ABC-tool s-src/ABC-maven/trunk/jarred-test-wsdls How can I pass the branch name as trunk ? My POM.xml looks like this: scm:svn:https://my-co-srvr/ABC_tools/ABC-tools-src/ABC-maven scm:svn:https://my-co-srvr/atx_tools/ABC-tools-src/ABC-maven/trunk HEAD https://my-co-srvr/ABC_tools/ABC-tools-src/ABC-maven org.apache.maven.scm maven-scm-provider-svnexe 1.1 1.0-beta-4 org.apache.maven.plugins maven-changelog-plugin -- View this message in context: http://www.nabble.com/changelog-plugin-SVN-issue-tp22500898p22500898.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
mvn compile issue
Hi, I am new to Maven. I wanted to compile a list of sources using Maven. I get the following error. The compilation with ANT is fine. What is wrong here ? C:\workspace\sip\SIPProxy\src\main\java\com\atxg\SIPProxy\SIPProxyMsgHandler\E91 1CallHistory.java:[10,15] generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) private Vector sip_message_event; C:\workspace\sip\SIPProxy\src\main\java\com\atxg\SIPProxy\Manager\SIProxyMsgMana ger.java:[20,15] generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) private Vector sessionPool; http://www.nabble.com/file/p22420560/pom.xml pom.xml mvn --version Maven version: 2.0.9 Java version: 1.6.0_07 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" I have attached the POM.xml. Thanks, -- View this message in context: http://www.nabble.com/mvn-compile-issue-tp22420560p22420560.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