RE: Calling mvn from ant does not propagate errors
Title: RE: Calling mvn from ant does not propagate errors Absolutely! Thx, -Xavier -Original Message- From: dan tran [mailto:[EMAIL PROTECTED]] Sent: 13 February 2006 08:33 To: Maven Users List Subject: Re: Calling mvn from ant does not propagate errors I thought ant:exec accepts env settings http://ant.apache.org/manual/index.html -Dan On 2/12/06, Xavier Galleri [EMAIL PROTECTED] wrote: Ok, it gets working eventually, both with the latest mvn.bat and your solution (tracked too by http://jira.codehaus.org/browse/MNG-2002). Thx a lot! -Xavier P.S.: as for setting an env var in ant, it's not possible as far as I know. Thus, I wrote another batch file to be called by the exec ant task. Any other idea? -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]] Sent: 10 February 2006 19:39 To: Maven Users List Subject: Re: Calling mvn from ant does not propagate errors sorry, it wont work unless you get the lastest mvn.bat from 2.0.x in svn trunk http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/ maven-core/src/bin/ On 2/10/06, dan tran [EMAIL PROTECTED] wrote: looking at mvn.bat, if you pass in env variable MAVEN_TERMINATE_CMD=on into ant's exec mvn will return exit probably. -D On 2/10/06, Pete [EMAIL PROTECTED] wrote: We had the same issue but got around it by using the ant java task to invoke maven's main class directly. i.e. the java command that appears at the end of the mvn.bat script. Your solution is probably neater. On 10/02/06, Xavier Galleri [EMAIL PROTECTED] wrote: Precisely, CC is the reason... Rgds, -Xavier -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED][EMAIL PROTECTED] [EMAIL PROTECTED]] Sent: 10 February 2006 14:42 To: Maven Users List Subject: Re: Calling mvn from ant does not propagate errors Good to hear that you've made it work. But then, I'm just curious as to why you have to invoke Maven using Ant in the first place. :) Using cruisecontrol is one reason. Cruisecontrol calls ant which forks maven. In that case, you definitely want to know if Maven failed so you can get cruisecontrol to report the failure properly. Don't bother mentioning continuum. It's not usable (yet, give them time) for a lot of people. Enjoy! -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Ce message et ses pièces jointes (le message) est destiné à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite. Le présent message pouvant être altéré à notre insu, CALYON Corporate and Investment Bank ne peut pas être engagé par son contenu. Tous droits réservés. This message and/or any attachments (the message) is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Corporate and Investment Bank. All rights reserved. -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Ce message et ses pièces jointes (le message) est destiné à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite. Le présent message pouvant être altéré à notre insu, CALYON Corporate and Investment Bank ne peut pas être engagé par son contenu. Tous droits réservés. This message and/or any attachments (the message) is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Corporate and Investment Bank. All rights reserved. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Ce message et ses pièces jointes (le message) est destiné à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite. Le présent message pouvant
Re: Newbie question
On Sun, Feb 12, 2006 at 04:32:15PM -0500, Alexandre Poitras wrote: For instance 'mvn compile' will compile all the child modules while taking care of their interdependencies. I don't need to build entire project, i just want to build module2 :( How could I specify dependency of the module at the same hierarchy level? -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] deploying snapshots with antlib
-Original Message- From: Michał Stochmiałek [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 12:23 PM To: Maven Users List Subject: RE: [m2] deploying snapshots with antlib Anyone can confirm correct deployment of snapshots to remote repo (with timestamp assignment)? In my case not only names of deployed artifacts are wrong. The version in deployed pom is also not changed (still 1.0-SNAPSHOT), the same is with maven-metadata.xml. Here's an example: ?xml version=1.0 encoding=UTF-8?metadata groupIdfoo/groupId artifactIdfoo-bar/artifactId version1.0-SNAPSHOT/version versioning snapshot buildNumber4/buildNumber /snapshot lastUpdated20060209111228/lastUpdated /versioning /metadata I've filed the issue in jira: http://jira.codehaus.org/browse/MNG-2060 best regards, -- Michal Stochmialek IT Department, Technology Division Euro Bank S.A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
wagon-http-lightweight: unsupported protocol
The following message was encountered when using wagon-http-lightweight extension in pom.xml. [WARNING] repository metadata for: 'artifact org.apache.maven.wagon:wagon-http-lightweight' could not be retrieved from repository: central due to an error: Unsupported Protocol: 'http': Cannot find wagon which supports the requested protocol: http The version of wagon-http-lightweight is alpha 6. I have wagon-http extension working. What could be the problem for http lightweight? - Do you Yahoo!? New and Improved Yahoo! Mail - 1GB free storage!
site plug-in error if src folders do not exist
I am wondering if this is a know error for the site plug-in, throws an error if src folders do not exist. Src folders are absent as I am using a module to aggregate packages. [INFO] [INFO] Building RMS Packager [INFO]task-segment: [site:site] [INFO] [INFO] Preparing surefire-report:report [INFO] [ear:generate-application-xml] [INFO] Generating application.xml [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [site:site] [WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport - AbstractMethodError: canGenerateReport() [WARNING] Error loading report org.codehaus.mojo.surefire.SurefireReportMojo - AbstractMethodError: canGenerateReport() [INFO] Generate JavaDocs report. [INFO] Generate CPD Report report. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during report generation Embedded error: Couldn't find directory C:\IdeaProjects\rms271\rms\rmspackager\src\java [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error during report generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa l(DefaultLifecycleExecutor.java:485) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:455) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.jav a:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:139) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during report generation at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:389) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:531) ... 16 more Caused by: org.apache.maven.reporting.MavenReportException: Couldn't find directory C:\IdeaProjects\rms271\rms\rmspackag er\src\java at org.apache.maven.plugin.pmd.CpdReport.executeReport(CpdReport.java:159) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRep ort.java:98) at org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.jav a:802) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) ... 18 more Caused by: java.io.FileNotFoundException: Couldn't find directory C:\IdeaProjects\rms271\rms\rmspackager\src\java at net.sourceforge.pmd.cpd.CPD.addDirectory(CPD.java:69) at net.sourceforge.pmd.cpd.CPD.addRecursively(CPD.java:58) at org.apache.maven.plugin.pmd.CpdReport.executeReport(CpdReport.java:155) ... 21 more [INFO] [INFO] Total time: 3 minutes 38 seconds [INFO] Finished at: Mon Feb 13 03:52:01 EST 2006 [INFO] Final Memory: 18M/52M [INFO] Sanjay Shukla, HPI Product Engineering, 2 Penn Plaza, NY. 212 904 3629 Office 732 692 4419 Cell
Re: xdoc plugin and comment in dependencies
Don't you think it woudl be simplier to use de property tag from dependancies ? instead of adding the scope informations into 1.1 ? Quoting Arnaud HERITIER [EMAIL PROTECTED]: I suppose just for the documentation. I think it was also asked to the users to begin to declare them in m1 POMs to be fully usable by m2 projects. Arnaud On 2/11/06, Lukas Theussl [EMAIL PROTECTED] wrote: Maven 1 doesn't know anything about scope, so I don't see how this could be useful? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
artifact plugin: invlaid private key
Hi all, I'm using antlib and Maven 2.0.2. I should like deploy, using wagon-ssh, my artifact to my local repository. So I created public/private key for the authentication with the server. I used rsa-2. target name=test-deploy depends=initTaskDefs, create-jar .. remoteRepository id=internal.repository url=scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository authentication username=user01 privateKey=${user.home}/.ssh/id_rsa.ppk / /remoteRepository .. /target When I execute the task this is what happens: [artifact:deploy] Deploying to scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository [artifact:deploy] Identity: com.jcraft.jsch.JSchException: invaid privatekey: C:\Documents and Settings\lucarasconi\.ssh\id_rsa.ppk [artifact:deploy] An error has occurred while processing the Maven artifact tasks. [artifact:deploy] Error deploying artifact 'mypackage.cms:GeneratorXML-core:jar': Error deploying artifact: Authentication failed: Cannot connect. Reason: invaid privatekey: C:\Documents and Settings\lucarasconi\.ssh\id_rsa.ppk Somebody can help me with this error? Is it a bug? Thank you, Luca
Re: xdoc plugin and comment in dependencies
It's exactly what I was thinking about. I'd like the scope property in m1 to be only informative and used by xdoc dependencies tempate to add a scope column, or even better, to group dependencies by scope ? Arnaud HERITIER a écrit : Yes, it's how it was defined to : http://mavenbook.xwiki.com/xwiki/bin/view/Main/BeMaven2Friendly Arnaud On 2/13/06, Charles-alexandre Sabourdin [EMAIL PROTECTED] wrote: Don't you think it woudl be simplier to use de property tag from dependancies ? instead of adding the scope informations into 1.1 ? Quoting Arnaud HERITIER [EMAIL PROTECTED]: I suppose just for the documentation. I think it was also asked to the users to begin to declare them in m1 POMs to be fully usable by m2 projects. Arnaud On 2/11/06, Lukas Theussl [EMAIL PROTECTED] wrote: Maven 1 doesn't know anything about scope, so I don't see how this could be useful? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
pmd-3.4 pom is wrong
Hi, I believe the pom for pmd-3.4 contains an error. The exclusions list a version tag which is not expected. This might cause an incomplete classpath e.g. when running maven-pmd-plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven 2 - Ant - Regular Expressions
Try this: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.0/version executions execution idant-install/id phaseinstall/phase configuration tasks ant antfile=${basedir}/build.xml=true target name=prepare-portal/ /ant /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdant-apache-regexp/groupId artifactIdant-apache-regexp/artifactId version1.6.5/version scoperuntime/scope /dependency dependency groupIdjakarta-regexp/groupId artifactIdjakarta-regexp/artifactId version1.4/version /dependency /dependencies /plugin /plugins /build -Hassan Reply (Restricted by the Administrator) | Show Only this Message Right. It is in my classpath environment variable so that when I run ant, it picks up ant-jakarta-regexp. But when maven does the antrun, I get the error. I had attempted to make ant-jakarta-regexp a dependency for the antrun plugin (as you can see in the pom, below (I put it into our local repository)), but it doesn't make the error go away. --John -Original Message- From: Hassan Sajjad [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 6:42 PM To: [EMAIL PROTECTED] Subject: Maven 2 - Ant - Regular Expressions Are you missing a dependency? The documentation for regexp mapper here [http://ant.apache.org/manual/CoreTypes/mapper.html] says that you need one of the supported regular expression libraries and the corresponding ant-[jakarta-oro, jakarta-regexp, apache-oro, apache-regexp].jar in your classpath. ORIGINAL MESSAGE: I have an ant task (ant 1.6.5) that uses the regexpmapper. When I run the task with just ant, it works. When I add that task using antrun in maven, I get this error: Embedded error: The following error occurred while executing this line: /var/home/jmartin/build.xml:80: Could not create type regexpmapper due to No supported regular expression matcher found I don't understand where this is coming from. --John My pom has this: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.0/version executions execution idant-install/id phaseinstall/phase configuration tasks ant antfile=${basedir}/build.xml inheritRefs=true target name=prepare-portal/ /ant /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdant-apache-regexp/groupId artifactIdant-apache-regexp/artifactId version1.6.5/version scoperuntime/scope /dependency /dependencies /plugin /plugins /build - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] « Return to search results © 2005-2006 Nabble, Inc. FAQ - Terms of Use - Nabble Support
Re: pmd-3.4 pom is wrong
fixed On 2/13/06, Kristof Vanbecelaere [EMAIL PROTECTED] wrote: Hi, I believe the pom for pmd-3.4 contains an error. The exclusions list a version tag which is not expected. This might cause an incomplete classpath e.g. when running maven-pmd-plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
deploy:deploy-file
Hi all, im trying to deploy third party jars to my internal repository so i use deploy plugin in this way: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo -Dversion=8i-r2 but mnv responds in this way: [ERROR] BUILD ERROR [INFO] --- [INFO] Missing group, artifact, version, or packaging information I don't understand! Tnx, Luca
Re: deploy:deploy-file
On 2/13/06, Rasconi Luca (u.e.) [EMAIL PROTECTED] wrote: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo ID = Id -- If you obey all the rules you miss all the fun. (Katharine Hepburn) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2.0.2 SVN ChangeLog
Hi All, regarding the changelog and developer activity reports generated , where do you specify the username and password used to access the SCM - SVN ? is that in the settings.xml ... any one has an example? Right now my reports are being generated but without being able to indentify any commits watsoever. regards, Javed
RE: deploy:deploy-file
No comment :-) Tnx, Luca -Original Message- From: Jochen Wiedmann [mailto:[EMAIL PROTECTED] Sent: lunedì 13 febbraio 2006 12.57 To: Maven Users List Subject: Re: deploy:deploy-file On 2/13/06, Rasconi Luca (u.e.) [EMAIL PROTECTED] wrote: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo ID = Id -- If you obey all the rules you miss all the fun. (Katharine Hepburn) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: deploy:deploy-file
Hi all, im trying to deploy third party jars to my internal repository so i use deploy plugin in this way: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo -Dversion=8i-r2 but mnv responds in this way: [ERROR] BUILD ERROR [INFO] --- [INFO] Missing group, artifact, version, or packaging information I don't understand! Tnx, Luca
maven:reactor problem
i tried to run my goal. my goal described as this: goal name=custom:test description=Clean all JDoppio components ant:echoProject Name: ${basedir}/ant:echo maven:reactor basedir=${basedir} includes=**/project.xml goals=clean:clean banner=Cleaning: ignoreFailures=false/ /goal it making the error as below: could you please soleve this: org.xml.sax.SAXParseException: The prefix maven for element maven:reactor is not bound. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177) at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:514) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:580) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.werken.forehead.Forehead.run(Forehead.java:551) __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 - Yahoo! Mail Use Photomail to share photos without annoying attachments.
Re: maven:reactor problem
You need to declare the maven namespace project xmlns:maven=jelly:maven YOUR GOAL HERE /project Arnaud On 2/13/06, ravi kumar [EMAIL PROTECTED] wrote: i tried to run my goal. my goal described as this: goal name=custom:test description=Clean all JDoppio components ant:echoProject Name: ${basedir}/ant:echo maven:reactor basedir=${basedir} includes=**/project.xml goals=clean:clean banner=Cleaning: ignoreFailures=false/ /goal it making the error as below: could you please soleve this: org.xml.sax.SAXParseException: The prefix maven for element maven:reactor is not bound. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177) at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:514) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:580) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.werken.forehead.Forehead.run(Forehead.java:551) __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 - Yahoo! Mail Use Photomail to share photos without annoying attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: artifact plugin: invlaid private key
From: Luca Gmail [mailto:[EMAIL PROTECTED] Sent: lunedì 13 febbraio 2006 10.20 To: 'Maven Users List' Subject: artifact plugin: invlaid private key Hi all, I'm using antlib and Maven 2.0.2. I should like deploy, using wagon-ssh, my artifact to my local repository. So I created public/private key for the authentication with the server. I used rsa-2. target name=test-deploy depends=initTaskDefs, create-jar remoteRepository id=internal.repository url=scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository authentication username=user01 privateKey=${user.home}/.ssh/id_rsa.ppk / /remoteRepository /target When I execute the task this is what happens: [artifact:deploy] Deploying to scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository [artifact:deploy] Identity: com.jcraft.jsch.JSchException: invaid privatekey: C:\Documents and Settings\lucarasconi\.ssh\id_rsa.ppk [artifact:deploy] An error has occurred while processing the Maven artifact tasks. [artifact:deploy] Error deploying artifact 'mypackage.cms:GeneratorXML-core:jar': Error deploying artifact: Authentication failed: Cannot connect. Reason: invaid privatekey: C:\Documents and Settings\lucarasconi\.ssh\id_rsa.ppk Somebody can help me with this error? Is it a bug? Thank you, Luca
Re: M2.0.2 SVN ChangeLog
If you have an anonymous access to your svn, they don't required. If you need them, try the followings parameters to command line : -Dusername=your_username -Dpassword=your_password Emmanuel javed mandary a écrit : Hi All, regarding the changelog and developer activity reports generated , where do you specify the username and password used to access the SCM - SVN ? is that in the settings.xml ... any one has an example? Right now my reports are being generated but without being able to indentify any commits watsoever. regards, Javed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: hibernate3 plugin
Hello, the Hibernate3 plugin can be found at the mojo-sandbox. http://mojo.codehaus.org/faq.html#what-is-the-sandbox I am not sure whether it supports Maven 1.x. You'll have to build it from the source. The source can be downloaded from a public SVN repository. Regards Michal Palicka -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Saturday, February 11, 2006 2:17 PM To: Maven Users List Subject: hibernate3 plugin hello all, i m currently using Maven 1.1, and i need to download hibernate3-maven-plugin can anyone tell me where i can downlod it, and which version? thanks in advance and regards marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
m2: install-snapshot
Hi all! I'm wondering how to get snapshot installed in m2. In m1 there was nice install-snapshot goal and I could get artifactId-MMDD.ext artifact file installed (same with deploy-snapshot). I need to publish artifacts with such pattern for artifact's name. How to get this in m2? Should I write own plugin for this? Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html2xdocs and accentuated characters
Hello, I'm writing my doc in html and use html2xdoc to produce the maven site. It works fine, but fails to render accentuated characters (I'm french) My HTML uses entities (eacute; for é) as I'm using a nice html editor (openoffice) generated xdoc includes accentuated characters, not entities. generated html inclues ? character for every oringal accentuated character on my linux (ubuntu) nignthly-build server. Pleaser notice if I build site on my windows it works fine I seems xdoc - html process is expecting input to be ASCII text, or something like this. Is this a known bug ? Is there a workaround for this ? Nico. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New Archetype with parent project
Hi, I have a problem to define a new Archetype which creates a non-Maven directory structure. My desiered directory structure is defined in src/main/resources/META-INF/archetype.xml: sources sourcesrc/Version.java/source /sources testSources sourcetest/src/VersionTest.java/source /testSources resources resourceconf/app.properties/resource /resources test-resources resourcetest/conf/app_test.properties/resource /test-resources and in a parent project named my-parent-projekt under the build-section: build directorybuild/directory sourceDirectorysrc/sourceDirectory testSourceDirectorytest/src/testSourceDirectory outputDirectorybuild/classes/outputDirectory testOutputDirectorybuild/test-classes/testOutputDirectory ... The prototype pom.xml for my Archetype inherits the parent project and looks like this: project parent artifactIdmy-parent-projekt/artifactId groupIdcom.myCompany/groupId version1.0/version /parent modelVersion4.0.0/modelVersion groupId${groupId}/groupId artifactId${artifactId}/artifactId packagingjar/packaging version${version}/version nameA custom project/name dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies /project When I try to create a new project using my Archetype, Maven creates not only my defiend directories but also the standard Maven directries and i get the debug message: Was build element found in generated POM?: false The build element is not in the prototype pom.xml but in its parent. I use Maven 2.0.1 and maven-archetype-plugin 1.0-alpha-3 Any idea how I can resolve this problem? Regards, Wahid Bashirazad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xDoc Link Check Reports Invalid Redirect
What causes the xDoc plug-in to report an invalid redirect URI while performing a link check? Here is an example message. Invalid Redirect URI from: http://www.ibm.com:80/software/info/websphere/r/was-ce/ to: http://www-306.ibm.com/software/info/websphere/r/was-ce/ Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/ Note that browser's follow the redirection without complaint. If the target web site is violating an important redirect convention, I'm willing to report the problem, but, before I start, I need to understand exactly what is invalid. Lance
Re: Changelog plugin not working
For Maven 1.x it was necessary to set the property maven.changelog.factory, e.g. for SVN: maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory in the project.properties I guess you have to configure the changelog plugin likewise for Maven 2. Regards, Gisbert Amm Silva, Vandermi Joao Da schrieb: Hi all, I am using the changelog plugin, with my svn , but is not creating the reports, and show the message below. Somebody can help me? Messages [INFO] Generate changelog report. [INFO] Generating changed sets xml to: C:\Documents and Settings\op0837\AMP_EXT\ map_src\amp_ext\target\changelog.xml [WARNING] Connection does not appear valid [WARNING] Could not derive factory from connection: using default CVS (valid fac tories are: [starteam, cvs, perforce, svn, clearcase, vss]) [INFO] - --- [ERROR] FATAL ERROR [INFO] - --- [INFO] repository connection string does not specify 'cvs' as the scm If using another scm, maven.changelog.factory must be set. See the maven changelog plugin documentation for correct settings. [INFO] - --- [INFO] Trace java.lang.IllegalArgumentException: repository connection string does not specif y 'cvs' as the scm If using another scm, maven.changelog.factory must be set. See the maven changelog plugin documentation for correct settings. This is my POM configurations !-- plugin for changelog-- plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdchangelog-maven-plugin/artifactId version2.0-beta-1/version configuration scm connectionscm|svn|https://mysite.com.br/my_dir/connection developerConnectionscm|svn|https://mysite.com.br/my_dir/developerConnection urlhttps://mysite.com.br/my_dir/url /scm typedate/type dates date implementation=java.lang.String2006-01-01/date date implementation=java.lang.String2006-03-01/date /dates dateFormat-MM-dd/dateFormat /configuration /plugin /plugins !-- Create changelog reports -- reporting outputDirectorytarget/site/outputDirectory plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdchangelog-maven-plugin/artifactId /plugin /plugins /reporting Best Regards Picture (Metafile) ***Vandermi João da Silva RD MAO - Core Engines BenQ Eletroeletrônica Ltda. * TEL +55(92) 2127-8015 Mobile: +55(92) 8125-2248 FAX +55(92) 2127-8102 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___www.BenQMobile.com_ file://www.BenQMobile.com Rua João Alfredo, 536 - Edifício Gabriela Bairro São Geraldo CEP: 69053-270 - Manaus/AM Brasil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Changelog plugin not working
you must define your scm url in scm part of your pom Silva, Vandermi Joao Da a écrit : Hi all, I am using the changelog plugin, with my svn , but is not creating the reports, and show the message below. Somebody can help me? Messages [INFO] Generate changelog report. [INFO] Generating changed sets xml to: C:\Documents and Settings\op0837\AMP_EXT\ map_src\amp_ext\target\changelog.xml [WARNING] Connection does not appear valid [WARNING] Could not derive factory from connection: using default CVS (valid fac tories are: [starteam, cvs, perforce, svn, clearcase, vss]) [INFO] - --- [ERROR] FATAL ERROR [INFO] - --- [INFO] repository connection string does not specify 'cvs' as the scm If using another scm, maven.changelog.factory must be set. See the maven changelog plugin documentation for correct settings. [INFO] - --- [INFO] Trace java.lang.IllegalArgumentException: repository connection string does not specif y 'cvs' as the scm If using another scm, maven.changelog.factory must be set. See the maven changelog plugin documentation for correct settings. This is my POM configurations !-- plugin for changelog-- plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdchangelog-maven-plugin/artifactId version2.0-beta-1/version configuration scm connectionscm|svn|https://mysite.com.br/my_dir/connection developerConnectionscm|svn|https://mysite.com.br/my_dir/developerConnection urlhttps://mysite.com.br/my_dir/url /scm typedate/type dates date implementation=java.lang.String2006-01-01/date date implementation=java.lang.String2006-03-01/date /dates dateFormat-MM-dd/dateFormat /configuration /plugin /plugins !-- Create changelog reports -- reporting outputDirectorytarget/site/outputDirectory plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdchangelog-maven-plugin/artifactId /plugin /plugins /reporting Best Regards Picture (Metafile) ***Vandermi João da Silva RD MAO - Core Engines BenQ Eletroeletrônica Ltda. * TEL +55(92) 2127-8015 Mobile: +55(92) 8125-2248 FAX +55(92) 2127-8102 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___www.BenQMobile.com_ file://www.BenQMobile.com Rua João Alfredo, 536 - Edifício Gabriela Bairro São Geraldo CEP: 69053-270 - Manaus/AM Brasil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xDoc Link Check Timeouts
When I use xDoc to build my web site, the link check function generates a number of false alarms, apparently because the check times out. The links are typically links to Apache project sites ( http://jakarta.apache.org/commons/discovery/, for example). I have never noticed a significant delay when I use the browser to verify the links. Does the link check function do something different than what the browser does, something that necessitates a slower response? Is there a way to adjust the timeout value used so I can elminiate the false alarms? Lance
Re: xDoc Link Check Reports Invalid Redirect
With maven 1 ? (I'm not sure that there's a linkcheck plugin in m2) Which release are you using ? The last one (3.0) ? If not it's certainly fixed in this release.. Can you try it ? Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: What causes the xDoc plug-in to report an invalid redirect URI while performing a link check? Here is an example message. Invalid Redirect URI from: http://www.ibm.com:80/software/info/websphere/r/was-ce/ to: http://www-306.ibm.com/software/info/websphere/r/was-ce/ Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/ Note that browser's follow the redirection without complaint. If the target web site is violating an important redirect convention, I'm willing to report the problem, but, before I start, I need to understand exactly what is invalid. Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: deploy:deploy-file
Hi, It's 'groupId' not 'groupID' and 'artifactId' not 'artifactID'. Hope this helps -Tim Rasconi Luca (u.e.) schrieb: Hi all, im trying to deploy third party jars to my internal repository so i use deploy plugin in this way: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo -Dversion=8i-r2 but mnv responds in this way: [ERROR] BUILD ERROR [INFO] --- [INFO] Missing group, artifact, version, or packaging information I don't understand! Tnx, Luca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc Link Check Timeouts
Same question : Which release ? The linkcheck plugin uses the head method and not a get. It's faster to retreive the status of a page but sometimes some servers are configured to reject them. In the last plugin release you can set a property to use the get method. The result will be more reliable but very more slower to obtain. Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: When I use xDoc to build my web site, the link check function generates a number of false alarms, apparently because the check times out. The links are typically links to Apache project sites ( http://jakarta.apache.org/commons/discovery/, for example). I have never noticed a significant delay when I use the browser to verify the links. Does the link check function do something different than what the browser does, something that necessitates a slower response? Is there a way to adjust the timeout value used so I can elminiate the false alarms? Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: artifact plugin: invlaid private key
Hi Luca, Given the name of your private key file, id_rsa.ppk, I presume you used putty to generate the key (.ppk = Putty Private Key). Putty SSH2 keys are not compatible with openssh clients, they can only be used by the putty clients themselves. Either you need to configure putty as your scp-protocol executable[1], or you have to use a private key in openssh format. FYI, puttygen can be used to convert between the various SSH2 key formats. [1] http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html HTH, Doug Luca Gmail wrote: Hi all, I'm using antlib and Maven 2.0.2. I should like deploy, using wagon-ssh, my artifact to my local repository. So I created public/private key for the authentication with the server. I used rsa-2. target name=test-deploy depends=initTaskDefs, create-jar .. remoteRepository id=internal.repository url=scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository authentication username=user01 privateKey=${user.home}/.ssh/id_rsa.ppk / /remoteRepository .. /target When I execute the task this is what happens: [artifact:deploy] Deploying to scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository [artifact:deploy] Identity: com.jcraft.jsch.JSchException: invaid privatekey: C:\Documents and Settings\lucarasconi\.ssh\id_rsa.ppk [artifact:deploy] An error has occurred while processing the Maven artifact tasks. [artifact:deploy] Error deploying artifact 'mypackage.cms:GeneratorXML-core:jar': Error deploying artifact: Authentication failed: Cannot connect. Reason: invaid privatekey: C:\Documents and Settings\lucarasconi\.ssh\id_rsa.ppk Somebody can help me with this error? Is it a bug? Thank you, Luca This message has been 'sanitized'. This means that potentially dangerous content has been rewritten or removed. The following log describes which actions were taken. Sanitizer (start=1139822389): Forcing message to be multipart/mixed, to facilitate logging. Writer (pos=3116): Part (pos=3202): Part (pos=162): SanitizeFile (filename=unnamed.txt, mimetype=text/plain): Match (names=unnamed.txt, rule=9): Enforced policy: accept Anomy 0.0.0 : Sanitizer.pm $Id: Sanitizer.pm,v 1.82 2004/01/12 18:02:35 bre Exp $ -- Norman Doug Douglass Director of Engineering Denver Data Systems, Inc. Office: (303) 534-1745 Fax: (303) 534-2745 E-mail: mailto:[EMAIL PROTECTED] Web: http://www.denverdata.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question
I have something like this project |-module1 |-module2 |-module3 If you have something like this, have you defined a parent POM in your project directory? If you have, then you can compile module 2 by running mvn compile in your module2 directory. Please refer to this thread: http://www.nabble.com/-m2-parent-pom-t1021082.html for instructions on how to set up a parent/child hierarchy. _Mang Lau Eugeny N Dzhurinsky [EMAIL PROTECTED] 02/13/2006 03:07 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Newbie question On Sun, Feb 12, 2006 at 04:32:15PM -0500, Alexandre Poitras wrote: For instance 'mvn compile' will compile all the child modules while taking care of their interdependencies. I don't need to build entire project, i just want to build module2 :( How could I specify dependency of the module at the same hierarchy level? -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Differences between resources and config
I have a fairly clear understanding of where the resources directory should be used, but the config directory seems to only be mentioned once in the documentation (Standard Directory Layout) and I am unclear what it is intended for. Resources are files that are eventually packaged with the artifact and sometimes are dynamic. What is the purpose of src/main/config? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question
On Mon, Feb 13, 2006 at 10:21:15AM -0500, Mang Jun Lau wrote: I have something like this project |-module1 |-module2 |-module3 If you have something like this, have you defined a parent POM in your project directory? If you have, then you can compile module 2 by running mvn compile in your module2 directory. Please refer to this thread: http://www.nabble.com/-m2-parent-pom-t1021082.html for instructions on how to set up a parent/child hierarchy. I need to compile module2, which depends on module1, i.e sources in module2 have imports of packages defined in module1 -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven 2 J2EE examples?
Hi, I'm looking for an example project which uses Maven 2 to build standard J2EE targets (war/ear/jar/har/etc). I found the following : http://cvs.sourceforge.net/viewcvs.py/edemocrazy/ but was wondering whether there were any other publicly available examples out there that anyone here knew of. I'm most interested in directory structure best practices, plugins being used, etc. --Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc Link Check Reports Invalid Redirect
Oh, man! I'm so embarassed. We are using Maven v. 1.1-beta-2 and maven-xdoc-plugin-1.9.2. I would be happy to try what you call this release but I need a better clue on how to find it. I checked the xDoc reference and could find no newer plug-in and no reference to (3.0). Did you mean Maven 1.1-beta-3? Lance On 2/13/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: With maven 1 ? (I'm not sure that there's a linkcheck plugin in m2) Which release are you using ? The last one (3.0) ? If not it's certainly fixed in this release.. Can you try it ? Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: What causes the xDoc plug-in to report an invalid redirect URI while performing a link check? Here is an example message. Invalid Redirect URI from: http://www.ibm.com:80/software/info/websphere/r/was-ce/ to: http://www-306.ibm.com/software/info/websphere/r/was-ce/ Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/ Note that browser's follow the redirection without complaint. If the target web site is violating an important redirect convention, I'm willing to report the problem, but, before I start, I need to understand exactly what is invalid. Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc Link Check Timeouts
Oh, gosh. Made the same mistake twice. I'm doubly embarassed. We are using Maven v. 1.1-beta-2 and maven-xdoc-plugin-1.9.2. I will look for the appropriate property. Thanks, Lance On 2/13/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Same question : Which release ? The linkcheck plugin uses the head method and not a get. It's faster to retreive the status of a page but sometimes some servers are configured to reject them. In the last plugin release you can set a property to use the get method. The result will be more reliable but very more slower to obtain. Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: When I use xDoc to build my web site, the link check function generates a number of false alarms, apparently because the check times out. The links are typically links to Apache project sites ( http://jakarta.apache.org/commons/discovery/, for example). I have never noticed a significant delay when I use the browser to verify the links. Does the link check function do something different than what the browser does, something that necessitates a slower response? Is there a way to adjust the timeout value used so I can elminiate the false alarms? Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Transitive Dependencies
Hi, i get an Transitive Dependencies to commons-logging 1.0.4 and don't know why! Is there a way to find it out? OfTopic: Does anybody knows the prob commons-logging with log4j1.2.8? Thanks Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Transitive Dependencies
On 2/13/06, Fredy [EMAIL PROTECTED] wrote: i get an Transitive Dependencies to commons-logging 1.0.4 and don't know why! Is there a way to find it out? Use -X on the command line, and you'll be able to see where it's coming from. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc Link Check Reports Invalid Redirect
The beta 3 is not yet out. I'm sorry I took a look at the wrong plugin. I didn't yet publish the new linkcheck plugin You can try the last snapshot with : maven plugin:download -Dmaven.repo.remote=http://www.ibiblio.org/maven, http://cvs.apache.org/repository/ -DgroupId=maven -DartifactId=maven-linkcheck-plugin -Dversion=1.4-SNAPSHOT Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: Oh, man! I'm so embarassed. We are using Maven v. 1.1-beta-2 and maven-xdoc-plugin-1.9.2. I would be happy to try what you call this release but I need a better clue on how to find it. I checked the xDoc reference and could find no newer plug-in and no reference to (3.0). Did you mean Maven 1.1-beta-3? Lance On 2/13/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: With maven 1 ? (I'm not sure that there's a linkcheck plugin in m2) Which release are you using ? The last one (3.0) ? If not it's certainly fixed in this release.. Can you try it ? Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: What causes the xDoc plug-in to report an invalid redirect URI while performing a link check? Here is an example message. Invalid Redirect URI from: http://www.ibm.com:80/software/info/websphere/r/was-ce/ to: http://www-306.ibm.com/software/info/websphere/r/was-ce/ Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/ Note that browser's follow the redirection without complaint. If the target web site is violating an important redirect convention, I'm willing to report the problem, but, before I start, I need to understand exactly what is invalid. Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc Link Check Timeouts
This porperty (maven.linkcheck.method) is available only in the last snapshot. You'll find the documentation here : http://people.apache.org/~aheritier/maven-stage-site/maven-1.x/reference/plugins/linkcheck/properties.html Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: Oh, gosh. Made the same mistake twice. I'm doubly embarassed. We are using Maven v. 1.1-beta-2 and maven-xdoc-plugin-1.9.2. I will look for the appropriate property. Thanks, Lance On 2/13/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Same question : Which release ? The linkcheck plugin uses the head method and not a get. It's faster to retreive the status of a page but sometimes some servers are configured to reject them. In the last plugin release you can set a property to use the get method. The result will be more reliable but very more slower to obtain. Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: When I use xDoc to build my web site, the link check function generates a number of false alarms, apparently because the check times out. The links are typically links to Apache project sites ( http://jakarta.apache.org/commons/discovery/, for example). I have never noticed a significant delay when I use the browser to verify the links. Does the link check function do something different than what the browser does, something that necessitates a slower response? Is there a way to adjust the timeout value used so I can elminiate the false alarms? Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Surefire-Plugin ignores argLine
Marcin, I didn't see a fix version. Do you know if this is going to be fixed in Maven-2.0.3? Thanks, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Marcin Cetnarski [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org com.pl cc: Subject: Re: [m2] Surefire-Plugin ignores argLine 02/13/2006 02:15 AM Please respond to Maven Users List Hello Jim, Are you working on Windows? There is a bug in Surefire on Windows platform in forkMode. See http://jira.codehaus.org/browse/SUREFIRE-30. Maybe this will help. JB I am trying to run tests with assertions enabled, but the surefire JB plugin is apparently ignoring the argLine parameter. If I specify the JB following, assertions are not turned on: JB ... JB build JB ... JB plugins JB plugin JB groupIdorg.apache.maven.plugins/groupId JB artifactIdmaven-surefire-plugin/artifactId JB configuration JB test**/*TestSuite*/test JB useFilefalse/useFile JB forkModeonce/forkMode JB argLine-ea/argLine JB /configuration JB /plugin JB ... JB /plugins JB /build JB ... JB By the way, I did try this with -enableassertions as well (which is what JB is shown in the surefire example doc), and it made no difference. JB As a further example, this produces no error at all, even though it JB clearly should, so this argLine parameter is really being ignored: JB plugin JB groupIdorg.apache.maven.plugins/groupId JB artifactIdmaven-surefire-plugin/artifactId JB configuration JB test**/*TestSuite*/test JB useFilefalse/useFile JB forkModeonce/forkMode JB argLine-xxx/argLine JB /configuration JB /plugin JB What is the right way to get surefire to run tests with assertions on? JB Jim Babka JB Senior Software Engineer JB Main: (512) 334 3200 JB Direct: (512) 334 3237 JB Email: [EMAIL PROTECTED] JB JB Webify Solutions JB Enabling the On Demand Enterprise(tm) JB www.webifysolutions.com JB - JB To unsubscribe, e-mail: [EMAIL PROTECTED] JB For additional commands, e-mail: [EMAIL PROTECTED] -- Pozdrowienia, Marcin Cetnarski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven 2 J2EE examples?
Hi, I am alos very interested by such examples. Did you had a look to the documents provided by Vincent Massol ? Some of my favorite links: http://www.onjava.com/pub/a/onjava/2005/09/07/maven.html http://www.phptr.com/articles/article.asp?p=411571rl=1 http://www.theserverside.com/articles/article.tss?l=MavenMagic Regards Gianfranco Original Message Follows From: Tom Cunningham [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: users@maven.apache.org Subject: Maven 2 J2EE examples? Date: Mon, 13 Feb 2006 10:35:02 -0500 Hi, I'm looking for an example project which uses Maven 2 to build standard J2EE targets (war/ear/jar/har/etc). I found the following : http://cvs.sourceforge.net/viewcvs.py/edemocrazy/ but was wondering whether there were any other publicly available examples out there that anyone here knew of. I'm most interested in directory structure best practices, plugins being used, etc. --Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Vous rêvez de chaussettes aux doigts de pieds séparés? Demandez à MSN Search! http://search.msn.ch/results.aspx?q=chaussettes+originalesFORM=QBRE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] problems with wepapp and struts:struts:jar:1.2.4 or later
Hi, i've a wepapp that depends on struts. If i user struts 1.2.4 or later, so i get a transitive dependency to commons-logging-1.0.4 and than it fails during startup because there is another transitive dependency to log4J-1.2.8. Does anybody kno0ws a workarround? If I use struts-1.2.2 it depends on commons-logging-1.0.jar, an the server starts well. Thanks Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
site deploy hangs on large files
I tried sftp and scp, site deploy will hang forever for large site deploys. Is this a known issue ? ## Transfer finished. 1038911 bytes copied in 3.807 seconds Executing command: cd /web/sites/mhhe.com/home/m2sites/rms/rmsws/.; unzip -o wagon24200.zip; rm -f wagon24200.zip Wait here forever . Sanjay Shukla, HPI Product Engineering, 2 Penn Plaza, NY. 212 904 3629 Office 732 692 4419 Cell
RE: m2: install-snapshot
Hi, i think it's an automatismus! Try to add a snapshot rep to your distributionManagement !! distributionManagement snapshotRepository idxcv_snapshot/id name/name urlfile:///v:/mvnSnapshotRepo/url /snapshotRepository Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: site deploy hangs on large files
Yes but I can't find the JIRA issue right now. Essentially there's no workaround. You need to use a different provider. Wagon unzips the files but does not use unzip -q so the process output buffer fills up and blocks. We use the file protocol so our build machine publishes locally to the Apache HTML document root. -Original Message- From: Shukla, Sanjay [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 11:30 AM To: Maven Users List Subject: site deploy hangs on large files I tried sftp and scp, site deploy will hang forever for large site deploys. Is this a known issue ? ## Transfer finished. 1038911 bytes copied in 3.807 seconds Executing command: cd /web/sites/mhhe.com/home/m2sites/rms/rmsws/.; unzip -o wagon24200.zip; rm -f wagon24200.zip Wait here forever . Sanjay Shukla, HPI Product Engineering, 2 Penn Plaza, NY. 212 904 3629 Office 732 692 4419 Cell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2: install-snapshot
On 2/13/06, Fredy [EMAIL PROTECTED] wrote: Hi, i think it's an automatismus! Try to add a snapshot rep to your distributionManagement !! distributionManagement snapshotRepository idxcv_snapshot/id name/name urlfile:///v:/mvnSnapshotRepo/url /snapshotRepository Fredy ok... this looks promising. Now how to publish snapshot? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Using Java 1.5 on OS X 10.4.4
Hello, I read that to use Java 1.5 on OS X 10.4 one has to fork the compiler. Is this true? Is there an easier way? How does Maven choose which javac program to use? Thanks, Ian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Surefire-Plugin ignores argLine
No fix version means that it's not scheduled yet. Plugins follow their own lifecycle, so you'll be able to use it in any maven2 version On 2/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Marcin, I didn't see a fix version. Do you know if this is going to be fixed in Maven-2.0.3? Thanks, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Marcin Cetnarski [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org com.pl cc: Subject: Re: [m2] Surefire-Plugin ignores argLine 02/13/2006 02:15 AM Please respond to Maven Users List Hello Jim, Are you working on Windows? There is a bug in Surefire on Windows platform in forkMode. See http://jira.codehaus.org/browse/SUREFIRE-30. Maybe this will help. JB I am trying to run tests with assertions enabled, but the surefire JB plugin is apparently ignoring the argLine parameter. If I specify the JB following, assertions are not turned on: JB ... JB build JB ... JB plugins JB plugin JB groupIdorg.apache.maven.plugins/groupId JB artifactIdmaven-surefire-plugin/artifactId JB configuration JB test**/*TestSuite*/test JB useFilefalse/useFile JB forkModeonce/forkMode JB argLine-ea/argLine JB /configuration JB /plugin JB ... JB /plugins JB /build JB ... JB By the way, I did try this with -enableassertions as well (which is what JB is shown in the surefire example doc), and it made no difference. JB As a further example, this produces no error at all, even though it JB clearly should, so this argLine parameter is really being ignored: JB plugin JB groupIdorg.apache.maven.plugins/groupId JB artifactIdmaven-surefire-plugin/artifactId JB configuration JB test**/*TestSuite*/test JB useFilefalse/useFile JB forkModeonce/forkMode JB argLine-xxx/argLine JB /configuration JB /plugin JB What is the right way to get surefire to run tests with assertions on? JB Jim Babka JB Senior Software Engineer JB Main: (512) 334 3200 JB Direct: (512) 334 3237 JB Email: [EMAIL PROTECTED] JB JB Webify Solutions JB Enabling the On Demand Enterprise(tm) JB www.webifysolutions.com JB - JB To unsubscribe, e-mail: [EMAIL PROTECTED] JB For additional commands, e-mail: [EMAIL PROTECTED] -- Pozdrowienia, Marcin Cetnarski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] problems with wepapp and struts:struts:jar:1.2.4 or later
struts requires commons-logging, so what's the problem with 1.0.4? you can force versions adding the dependency to your pom On 2/13/06, Fredy [EMAIL PROTECTED] wrote: Hi, i've a wepapp that depends on struts. If i user struts 1.2.4 or later, so i get a transitive dependency to commons-logging-1.0.4 and than it fails during startup because there is another transitive dependency to log4J-1.2.8. Does anybody kno0ws a workarround? If I use struts-1.2.2 it depends on commons-logging-1.0.jar, an the server starts well. Thanks Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Build-Helper Maven Plugin 1.0 Released
The Mojo team is pleased to announce the Build Helper Maven Plugin 1.0release! http://mojo.codehaus.org/build-helper-maven-plugin/ This plugin allows user to: - Add additional source and test source trees at runtime. - Attach additional build artifacts to be installed and deployed. Enjoy! -The Mojo team
[M2] maven-release-plugin
Hi! I somehow don't manage to get the maven-release-plugin running with CVS. When I run the mvn release:prepare target, the plugin complains password is required when verifying that no local changes were made. I found out, that the plugin is ignoring the -D project.scm.developerConnection and uses the connection specified in the pom.xml file (should'nt it be possible to override this with the -D option?). Anyway updating the release.properties file after executing the command once solves this problem. After that I ran into the next problem: My project needs a plugin that is still in development and therefore includes a SNAPSHOT version in the build section (build-helper-maven-plugin). The release plugin complains Can't release project due to non released dependencies - org.codehaus.mojo:build-helper-maven-plugin:maven-plugin:1.0-SNAPSHOT. I understand that the plugin does not allow SNAPSHOT dependencies, but why doesn't it allow SNAPSHOT build plugins? Is there any possibility to ignore some dependencies? My configuration is the following: WinXP, JDK 1.5.0_6, Maven 2.0.2, maven-release-plugin 2.0-beta-3 and 2.0-beta-4-SNAPSHOT, CVSNT. Regards, Andreas *** The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. ***
Need advice with InstallShield plugin for Maven2
Hi, I'm having a hard time figuring out how to add an InstallShield plugin to the lifecycle. In maven1 it was easy -- I had various goals to create, tar, and deploy the installer. In maven2 I'm at a loss as to how to begin. What I need to do is: 1 Create a jar file. 2 Assemble the jar file with other dependent jars into an assembly directory (The assembly plugin is very nice!). 3 Run the InstallShield builder passing in the assebled directory as an argument. 4 Tarball the InstallShield executable and a few files together. 5 Create a self-extracting shell script. 6 Deploy the shell script to a local repo. Do steps 1-5 become part of the package phase? Does 6 become part of the deploy phase? Does this break the one artifact rule? I could have a POM that does step 1 (create a jar). And have a second POM that glues it all together as a archived shell script? Should I break it down into multiple POMs/subprojects further? Confusedly yours, Christopher Helck Thank you for being part of it. The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. if you have received this e-mail in error, please inform us immediately and delete it and all copies from your system. EBS Dealing Resources International Limited. Registered address: 10 Paternoster Square, London EC4M 7DY, United Kingdom. Registered number 2669861. EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA. EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku, Tokyo 104-0033, Japan.
Re: [M2] maven-release-plugin
On 2/13/06, Gabriel, Andreas [EMAIL PROTECTED] wrote: Hi! I somehow don't manage to get the maven-release-plugin running with CVS. When I run the mvn release:prepare target, the plugin complains password is required when verifying that no local changes were made. I found out, that the plugin is ignoring the -D project.scm.developerConnection and uses the connection specified in the pom.xml file (should'nt it be possible to override this with the -D option?). Anyway updating the release.properties file after executing the command once solves this problem. Please check the archive, there is work around for your specific problem. After that I ran into the next problem: My project needs a plugin that is still in development and therefore includes a SNAPSHOT version in the build section (build-helper-maven-plugin). The release plugin complains Can't release project due to non released dependencies - org.codehaus.mojo:build-helper-maven-plugin:maven-plugin:1.0-SNAPSHOT. I understand that the plugin does not allow SNAPSHOT dependencies, but why doesn't it allow SNAPSHOT build plugins? Is there any possibility to ignore some dependencies? build-helper-maven-plugin-1.0 released today. However, if you'd like to use plugin snapshot when doing the release: 1. Remove plugin version 2. Locally build the plugin so that maven will use SNAPSHOT plugin at run time Or, cut a release yourself and place them in your internal repository. I use the svn revision number as the release number ( ie 1.0-svn-revision ) so that I can track. My configuration is the following: WinXP, JDK 1.5.0_6, Maven 2.0.2, maven-release-plugin 2.0-beta-3 and 2.0-beta-4-SNAPSHOT, CVSNT. Regards, Andreas -Dan *** The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. ***
Re: [M2] maven-release-plugin
Gabriel, Andreas a écrit : Hi! I somehow don't manage to get the maven-release-plugin running with CVS. When I run the mvn release:prepare target, the plugin complains password is required when verifying that no local changes were made. I found out, that the plugin is ignoring the -D project.scm.developerConnection and uses the connection specified in the pom.xml file (should'nt it be possible to override this with the -D option?). Anyway updating the release.properties file after executing the command once solves this problem. Why don't you want use developerConnection defined in your pom? After that I ran into the next problem: My project needs a plugin that is still in development and therefore includes a SNAPSHOT version in the build section (build-helper-maven-plugin). The release plugin complains Can't release project due to non released dependencies - org.codehaus.mojo:build-helper-maven-plugin:maven-plugin:1.0-SNAPSHOT. I understand that the plugin does not allow SNAPSHOT dependencies, but why doesn't it allow SNAPSHOT build plugins? Is there any possibility to ignore some dependencies? Snaphot versions aren't allowed because it's possible that the build won't be reproductible. If you want to use this version, try this : - Remove the plugin version from your pom, (this version will be use if it install locally and it's the more recent) - remove your release.properties - restart the release process My configuration is the following: WinXP, JDK 1.5.0_6, Maven 2.0.2, maven-release-plugin 2.0-beta-3 and 2.0-beta-4-SNAPSHOT, CVSNT. Regards, Andreas *** The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Wagon fails with HTTP destination
was also defined as an alias in httpd.conf like alias /m2-repo /absolute/path/to/our/repository and I defined a location element without any auth elements, just DAV On Depending on the url in the pom, I'm getting an authorization error (url of http://server:port/m2-repo) This is a question for the httpd list, but I'll do what I can here. One assumes your Location is Location /m2-repo, right? Can you navigate to .../m2-repo and have it return content to your web browser? How about if you try and connect with cadaver or (egad) Microsoft Web Folders? Based on your other post, it sounds like your URL is mangled. Authentication information, if such is required, should be provided in ${user.home}/.m2/settings.xml. Now whether wagon honors that or not is an entirely separate question. -- /v\atthew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc Link Check Reports Invalid Redirect
Oh! Now I see. The link checks are not performed by the xDoc plug-in, they are performed by the LinkCheck plugin. I wasn't even aware of this plugin. Still no joy. I successfully replaced the maven-linkcheck-plugin version 1.3.4 with version 1.4-SNAPSHOT. Then I manually updated the repository with the required JAR files for Commons HTTP, Commons Codec, and Log4j. Now, when I execute Maven 1.1-beta-2 with the maven-xdoc-plugin 1.9.2 for the xdoc goal, the link check operation is NOT performed. The build completes after the generation phase and there are no link check artifacts generated. What am I doing wrong? Lance On 2/13/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: The beta 3 is not yet out. I'm sorry I took a look at the wrong plugin. I didn't yet publish the new linkcheck plugin You can try the last snapshot with : maven plugin:download -Dmaven.repo.remote=http://www.ibiblio.org/maven, http://cvs.apache.org/repository/ -DgroupId=maven -DartifactId=maven-linkcheck-plugin -Dversion=1.4-SNAPSHOT Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: Oh, man! I'm so embarassed. We are using Maven v. 1.1-beta-2 and maven-xdoc-plugin-1.9.2. I would be happy to try what you call this release but I need a better clue on how to find it. I checked the xDoc reference and could find no newer plug-in and no reference to (3.0). Did you mean Maven 1.1-beta-3? Lance On 2/13/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: With maven 1 ? (I'm not sure that there's a linkcheck plugin in m2) Which release are you using ? The last one (3.0) ? If not it's certainly fixed in this release.. Can you try it ? Arnaud On 2/13/06, Lance Bader [EMAIL PROTECTED] wrote: What causes the xDoc plug-in to report an invalid redirect URI while performing a link check? Here is an example message. Invalid Redirect URI from: http://www.ibm.com:80/software/info/websphere/r/was-ce/ to: http://www-306.ibm.com/software/info/websphere/r/was-ce/ Checking link http://www-306.ibm.com/software/info/websphere/r/was-ce/ Note that browser's follow the redirection without complaint. If the target web site is violating an important redirect convention, I'm willing to report the problem, but, before I start, I need to understand exactly what is invalid. Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven and Classpaths
I'm sure this has been brought up a lot of times but I couldn't find it via google or the mailing list . I'm using the maven plugin for creating jars like so: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifest mainClasscom.mycorp.ProtomanMain/mainClass addClasspathTrue/addClasspath /manifest /archive /configuration /plugin I would like to add items that Maven doesn't keep track of (jars that are added internally as plugins that may be dropped in at times). How do I explicitly tell maven to add these items in to the classpath? Even if I have to use a directive for each item added it would be fine. Thanks, Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
weird problem in continuum
Hi All, I have this weird problem with continuum, i have created a shell project and using it with Maven2 Some times my build goes, fine no problem at all, but some other times, it s throwing the following error, is this something known bug? any ideas please? org.apache.maven.continuum.scm.ContinuumScmException: Error while update sources. at org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:248) at org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:127) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:534) Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM command. at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59) at org.apache.maven.scm.provider.clearcase.ClearCaseScmProvider.update(ClearCaseScmProvider.java:117) at org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:313) at org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:223) ... 5 more Caused by: java.lang.NullPointerException at org.apache.maven.scm.provider.clearcase.command.changelog.ClearCaseChangeLogCommand.executeChangeLogCommand(ClearCaseChangeLogCommand.java:51) at org.apache.maven.scm.command.changelog.AbstractChangeLogCommand.executeCommand(AbstractChangeLogCommand.java:63) at org.apache.maven.scm.command.update.AbstractUpdateCommand.executeCommand(AbstractUpdateCommand.java:60) at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:55) ... 8 more Thanks, Raghu
Re: xDoc Link Check Reports Invalid Redirect
As the checking is done in a different plugin (the linkcheck-plugin ;) ), you have to execute that goal separately before running xdoc: maven maven-linkcheck-plugin:report maven xdoc Or you add the maven-linkcheck-plugin report to your project.xml and run maven site And you don't need to manually update the repository, Maven will do that automatically for you. -Lukas Lance Bader wrote: Oh! Now I see. The link checks are not performed by the xDoc plug-in, they are performed by the LinkCheck plugin. I wasn't even aware of this plugin. Still no joy. I successfully replaced the maven-linkcheck-plugin version 1.3.4 with version 1.4-SNAPSHOT. Then I manually updated the repository with the required JAR files for Commons HTTP, Commons Codec, and Log4j. Now, when I execute Maven 1.1-beta-2 with the maven-xdoc-plugin 1.9.2 for the xdoc goal, the link check operation is NOT performed. The build completes after the generation phase and there are no link check artifacts generated. What am I doing wrong? Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc Link Check Reports Invalid Redirect
If it doesn't solve your problem, can you try this SNAPSHOT [1] of maven 1.1 beta 3 with an update of the linkcheck plugin. Thx Arnaud [1] http://people.apache.org/~aheritier/maven/1.X/snapshots/ On 2/13/06, Lukas Theussl [EMAIL PROTECTED] wrote: As the checking is done in a different plugin (the linkcheck-plugin ;) ), you have to execute that goal separately before running xdoc: maven maven-linkcheck-plugin:report maven xdoc Or you add the maven-linkcheck-plugin report to your project.xml and run maven site And you don't need to manually update the repository, Maven will do that automatically for you. -Lukas Lance Bader wrote: Oh! Now I see. The link checks are not performed by the xDoc plug-in, they are performed by the LinkCheck plugin. I wasn't even aware of this plugin. Still no joy. I successfully replaced the maven-linkcheck-plugin version 1.3.4 with version 1.4-SNAPSHOT. Then I manually updated the repository with the required JAR files for Commons HTTP, Commons Codec, and Log4j. Now, when I execute Maven 1.1-beta-2 with the maven-xdoc-plugin 1.9.2 for the xdoc goal, the link check operation is NOT performed. The build completes after the generation phase and there are no link check artifacts generated. What am I doing wrong? Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question
Just run compile on your parent project and everything will work fine. On 2/13/06, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: On Mon, Feb 13, 2006 at 10:21:15AM -0500, Mang Jun Lau wrote: I have something like this project |-module1 |-module2 |-module3 If you have something like this, have you defined a parent POM in your project directory? If you have, then you can compile module 2 by running mvn compile in your module2 directory. Please refer to this thread: http://www.nabble.com/-m2-parent-pom-t1021082.html for instructions on how to set up a parent/child hierarchy. I need to compile module2, which depends on module1, i.e sources in module2 have imports of packages defined in module1 -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Alexandre Poitras Québec, Canada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: deploy:deploy-file
what is the difference between doing a mvn install and mvn deploy. Both help us download to local repositaries right? Thanks Suresh Allan Ramirez [EMAIL PROTECTED] wrote: Hi there, You missed the -Dversion. and one more thing change your groupID to groupId and artifactID to artifactId. Hope this helps. -allan Rasconi Luca (u.e.) wrote: Hi all, im trying to deploy third party jars to my internal repository so i use deploy plugin in this way: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo -Dversion=8i-r2 but mnv responds in this way: [ERROR] BUILD ERROR [INFO] --- [INFO] Missing group, artifact, version, or packaging information I don't understand! Tnx, Luca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks Suresh Kumar Govindaraj - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.
Re: hibernate3 plugin
I think all mojo plugins will work on Maven 2 only. -allan Michal Palička wrote: Hello, the Hibernate3 plugin can be found at the mojo-sandbox. http://mojo.codehaus.org/faq.html#what-is-the-sandbox I am not sure whether it supports Maven 1.x. You'll have to build it from the source. The source can be downloaded from a public SVN repository. Regards Michal Palicka -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Saturday, February 11, 2006 2:17 PM To: Maven Users List Subject: hibernate3 plugin hello all, i m currently using Maven 1.1, and i need to download hibernate3-maven-plugin can anyone tell me where i can downlod it, and which version? thanks in advance and regards marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2: install-snapshot
if the version includes SNAPSHOT, it will be published as a snapshot, if the version does not, it won't. Usually the version always includes SNAPSHOT except for the one commit where it is released. - Brett On 2/14/06, Marcin Maciukiewicz [EMAIL PROTECTED] wrote: On 2/13/06, Fredy [EMAIL PROTECTED] wrote: Hi, i think it's an automatismus! Try to add a snapshot rep to your distributionManagement !! distributionManagement snapshotRepository idxcv_snapshot/id name/name urlfile:///v:/mvnSnapshotRepo/url /snapshotRepository Fredy ok... this looks promising. Now how to publish snapshot? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: deploy:deploy-file
Hi Suresh, mvn install, installs/place the artifact in your local repository(your repo in your own machine), while mvn deploy deploys/place the artifact in a remote repository(repo to a remote machine). -allan Suresh Govindaraj wrote: what is the difference between doing a mvn install and mvn deploy. Both help us download to local repositaries right? Thanks Suresh Allan Ramirez [EMAIL PROTECTED] wrote: Hi there, You missed the -Dversion. and one more thing change your groupID to groupId and artifactID to artifactId. Hope this helps. -allan Rasconi Luca (u.e.) wrote: Hi all, im trying to deploy third party jars to my internal repository so i use deploy plugin in this way: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo -Dversion=8i-r2 but mnv responds in this way: [ERROR] BUILD ERROR [INFO] --- [INFO] Missing group, artifact, version, or packaging information I don't understand! Tnx, Luca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks Suresh Kumar Govindaraj - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: deploy:deploy-file
Thanks Suresh Allan Ramirez [EMAIL PROTECTED] wrote: Hi Suresh, mvn install, installs/place the artifact in your local repository(your repo in your own machine), while mvn deploy deploys/place the artifact in a remote repository(repo to a remote machine). -allan Suresh Govindaraj wrote: what is the difference between doing a mvn install and mvn deploy. Both help us download to local repositaries right? Thanks Suresh Allan Ramirez wrote: Hi there, You missed the -Dversion. and one more thing change your groupID to groupId and artifactID to artifactId. Hope this helps. -allan Rasconi Luca (u.e.) wrote: Hi all, im trying to deploy third party jars to my internal repository so i use deploy plugin in this way: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo -Dversion=8i-r2 but mnv responds in this way: [ERROR] BUILD ERROR [INFO] --- [INFO] Missing group, artifact, version, or packaging information I don't understand! Tnx, Luca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks Suresh Kumar Govindaraj - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks Suresh Kumar Govindaraj - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.
Re: [m2] Wagon fails with HTTP destination
One assumes your Location is Location /m2-repo, right? yes, here's what I added to httpd.conf Alias /m2-repo /absolute/path/to/.m2/repository DavLockDB /absolute/path/to/var/DavLock Location /m2-repo DAV On /Location Can you navigate to .../m2-repo and have it return content to your web browser? How about if you try and connect with cadaver or (egad) Microsoft Web Folders? yes on both counts. I can bring up the repo with http://server:port/m2-repo in a browser and on xp I set up a webfolder and I can browse the contents in an explorer window. Having said all this, I'm giving up on webdav as a deploy protocol. I'm now trying to get ftp to work. That will be another thread since I'm having no luck there as well. I've googled and gone back over the user list and I'm not sure exactly what deploy method is working on a consistent basis. Thanks again for your help. Tom Matthew L Daniel [EMAIL PROTECTED] wrote on 02/13/2006 04:36:53 PM: was also defined as an alias in httpd.conf like alias /m2-repo /absolute/path/to/our/repository and I defined a location element without any auth elements, just DAV On Depending on the url in the pom, I'm getting an authorization error (url of http://server:port/m2-repo) This is a question for the httpd list, but I'll do what I can here. One assumes your Location is Location /m2-repo, right? Can you navigate to .../m2-repo and have it return content to your web browser? How about if you try and connect with cadaver or (egad) Microsoft Web Folders? Based on your other post, it sounds like your URL is mangled. Authentication information, if such is required, should be provided in ${user.home}/.m2/settings.xml. Now whether wagon honors that or not is an entirely separate question. -- /v\atthew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is intended for the recipient only and is not meant to be forwarded or distributed in any other format. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument, or security, or as an official confirmation of any transaction. Putnam does not accept purchase or redemptions of securities, instructions, or authorizations that are sent via e-mail. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of Putnam, LLC (DBA Putnam Investments) and its subsidiaries and affiliates. If you are not the intended recipient of this e-mail, please delete the e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Referencing a plugin configuration attribute in another plugin
I'm trying to reference a plugin configuration attribute in another plugin's configuration in maven2. Can anyone point me in the right direction? Specifically I want to output two config attributes (source target JVM) from the compile in the jar's manifest file, so I have the following: plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target /configuration /plugin plugin artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries Source-JDK${maven.compile.source}/Source-JDK Target-JDK${maven.compile.target}/Target-JDK /manifestEntries /archive /configuration /plugin I have used property values ${maven.compile.target} in maven1 - is there anyway I can reference the source/target configuration values for maven-compiler-plugin in the maven-jar-plugin confiuration items? Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Referencing a plugin configuration attribute in another plugin
Create a property set properties source1.3/source target1.3/target /properties Look up the Pom descriptor to where to place it. Then you can use ${source} and ${target} both plugin configurations -D On 2/13/06, Niall Pemberton [EMAIL PROTECTED] wrote: I'm trying to reference a plugin configuration attribute in another plugin's configuration in maven2. Can anyone point me in the right direction? Specifically I want to output two config attributes (source target JVM) from the compile in the jar's manifest file, so I have the following: plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target /configuration /plugin plugin artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries Source-JDK${maven.compile.source}/Source-JDK Target-JDK${maven.compile.target}/Target-JDK /manifestEntries /archive /configuration /plugin I have used property values ${maven.compile.target} in maven1 - is there anyway I can reference the source/target configuration values for maven-compiler-plugin in the maven-jar-plugin confiuration items? Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2.0.2 SVN ChangeLog
The thing is that i dont want to have to type the parameters for svn authentication each time i want to run mvn site . Isnt there a way to store authentication information inside the settings.xmlfile for svn ? regards, Javed On 2/13/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: If you have an anonymous access to your svn, they don't required. If you need them, try the followings parameters to command line : -Dusername=your_username -Dpassword=your_password Emmanuel javed mandary a écrit : Hi All, regarding the changelog and developer activity reports generated , where do you specify the username and password used to access the SCM - SVN ? is that in the settings.xml ... any one has an example? Right now my reports are being generated but without being able to indentify any commits watsoever. regards, Javed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Referencing a plugin configuration attribute in another plugin
how about figuring out the default value for some other plugin's parameter? Milos dan tran wrote: Create a property set properties source1.3/source target1.3/target /properties Look up the Pom descriptor to where to place it. Then you can use ${source} and ${target} both plugin configurations -D On 2/13/06, Niall Pemberton [EMAIL PROTECTED] wrote: I'm trying to reference a plugin configuration attribute in another plugin's configuration in maven2. Can anyone point me in the right direction? Specifically I want to output two config attributes (source target JVM) from the compile in the jar's manifest file, so I have the following: plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target /configuration /plugin plugin artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries Source-JDK${maven.compile.source}/Source-JDK Target-JDK${maven.compile.target}/Target-JDK /manifestEntries /archive /configuration /plugin I have used property values ${maven.compile.target} in maven1 - is there anyway I can reference the source/target configuration values for maven-compiler-plugin in the maven-jar-plugin confiuration items? Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Referencing a plugin configuration attribute in another plugin
Thanks for the suggestion - that worked, although it isn't ideal. I'm looking at this with Jakarta Commons in mind, where (possibly) many components would inherit from a main pom.xml. Using this approach a component could override the maven-compiler-plugin configuration and then what was being output to the manifest would not be the values the compiler actually used. Is there no way of getting a reference to the compiler plugin and accesssing its configuration values? Niall On 2/14/06, dan tran [EMAIL PROTECTED] wrote: Create a property set properties source1.3/source target1.3/target /properties Look up the Pom descriptor to where to place it. Then you can use ${source} and ${target} both plugin configurations -D On 2/13/06, Niall Pemberton [EMAIL PROTECTED] wrote: I'm trying to reference a plugin configuration attribute in another plugin's configuration in maven2. Can anyone point me in the right direction? Specifically I want to output two config attributes (source target JVM) from the compile in the jar's manifest file, so I have the following: plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target /configuration /plugin plugin artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries Source-JDK${maven.compile.source}/Source-JDK Target-JDK${maven.compile.target}/Target-JDK /manifestEntries /archive /configuration /plugin I have used property values ${maven.compile.target} in maven1 - is there anyway I can reference the source/target configuration values for maven-compiler-plugin in the maven-jar-plugin confiuration items? Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Referencing a plugin configuration attribute in another plugin
Not possible in Maven2. Plugins dont know each other. and Yes, maven1 supports this capability ;-) -Dan On 2/13/06, Milos Kleint [EMAIL PROTECTED] wrote: how about figuring out the default value for some other plugin's parameter? Milos dan tran wrote: Create a property set properties source1.3/source target1.3/target /properties Look up the Pom descriptor to where to place it. Then you can use ${source} and ${target} both plugin configurations -D On 2/13/06, Niall Pemberton [EMAIL PROTECTED] wrote: I'm trying to reference a plugin configuration attribute in another plugin's configuration in maven2. Can anyone point me in the right direction? Specifically I want to output two config attributes (source target JVM) from the compile in the jar's manifest file, so I have the following: plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target /configuration /plugin plugin artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries Source-JDK${maven.compile.source}/Source-JDK Target-JDK${maven.compile.target}/Target-JDK /manifestEntries /archive /configuration /plugin I have used property values ${maven.compile.target} in maven1 - is there anyway I can reference the source/target configuration values for maven-compiler-plugin in the maven-jar-plugin confiuration items? Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Referencing a plugin configuration attribute in another plugin
In M2 you can define your plugin configuration in the parent/root pom, but the individual component/child can override as needed. No idea how you can perform what was being output to the manifest would not be the values the compiler actually used -D On 2/13/06, Niall Pemberton [EMAIL PROTECTED] wrote: Thanks for the suggestion - that worked, although it isn't ideal. I'm looking at this with Jakarta Commons in mind, where (possibly) many components would inherit from a main pom.xml. Using this approach a component could override the maven-compiler-plugin configuration and then what was being output to the manifest would not be the values the compiler actually used. Is there no way of getting a reference to the compiler plugin and accesssing its configuration values? Niall On 2/14/06, dan tran [EMAIL PROTECTED] wrote: Create a property set properties source1.3/source target1.3/target /properties Look up the Pom descriptor to where to place it. Then you can use ${source} and ${target} both plugin configurations -D On 2/13/06, Niall Pemberton [EMAIL PROTECTED] wrote: I'm trying to reference a plugin configuration attribute in another plugin's configuration in maven2. Can anyone point me in the right direction? Specifically I want to output two config attributes (source target JVM) from the compile in the jar's manifest file, so I have the following: plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target /configuration /plugin plugin artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries Source-JDK${maven.compile.source}/Source-JDK Target-JDK${maven.compile.target}/Target-JDK /manifestEntries /archive /configuration /plugin I have used property values ${maven.compile.target} in maven1 - is there anyway I can reference the source/target configuration values for maven-compiler-plugin in the maven-jar-plugin confiuration items? Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: eclipse compiler
Hi Jay, Ok I did try some experiments but they failed. I will try to dig into the catacombs of plexus It's fine were're back to the list I Hope someone responds. have a nice time. Rolf On 2/14/06, Jay H. Hartley [EMAIL PROTECTED] wrote: Rolf, Have you made any headway on this? I haven't seen any traffic on the Maven list about it. Have you tried the Plexus mailing lists? I looked at the Maven repository on ibiblio. I bet you have to specify plexus-compiler-eclipse-1.5 (groupId=plexus) as a dependency to get the eclipse compiler. The plugin does not explicitly provide a dependency on any particular compiler. I'm sorry I kind of dropped you back to the list. I'm leaving for 2 wks vacation in a few days, and have been scrambling just to get work done before then. My only path right now for digging out what to do, other than trying the Plexus list, would be to scour through the Plexus code some more. FYI, the subversion repository is at svn://svn.codehaus.org/plexus/scm. I looked at the plexus-compiler-manager and plexus-compilers projects, but there is some core Plexus code that actually populates the list of available compilers in DefaultCompilerManager, and I couldn't figure out where that came from. The plexus-compiler-eclipse project appears to include the org.eclipse.jdt-3.1.jar file in its dependencies, so once you get that included, I don't think you'll have to worry about setting your Eclipse classpath. Good luck! Please let me know what you find. Jay -- *From:* Rolf Strijdhorst [mailto:[EMAIL PROTECTED] *Sent:* Friday, February 10, 2006 2:12 AM *To:* Jay H. Hartley *Subject:* Re: eclipse compiler Hi Jay I did one test and only including the compilerId eclipse is not enough. I am about to do a test with eclipse somewhere on the classpath. have to figure out how though. Rolf On 2/10/06, Jay H. Hartley [EMAIL PROTECTED] wrote: Rolf, In looking through the M2 CompilerMojo, I found that it just wraps Jason van Zyl's Plexus Compiler package. ( http://plexus.codehaus.org) That appears to support 'eclipse' as a compiler variation, so I'm thinking you can just set the compilerId parameter to 'eclipse' instead of the default 'javac' instead of using the 'executable' parameter I suggested before. I'm cc-ing the mailing list on this, to see if we can get verification from the plugin authors. Jay -- *From:* Rolf Strijdhorst [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, February 08, 2006 11:17 PM *To:* Jay H. Hartley *Subject:* Re: eclipse compiler Thanx Jay By the way I am using M2 But does this mean I can just insert: org.eclipse.jdt.core.JDT Compiler Adapter or do I need to include the complete path to the compiler or ( a lot of ors) is it enough to include the jar that contains the compiler in the classpath? Rolf On 2/8/06, Jay H. Hartley [EMAIL PROTECTED] wrote: Rolf, If you are using Maven 2, set the executable parameter for the compile:compile goal: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html For a description of how to set compiler parameters, see http://maven.apache.org/plugins/maven-compiler-plugin/howto.html For Maven 1, set the maven.compile.executable property in one of the various properties files: http://maven.apache.org/maven-1.x/reference/plugins/java/properties.html Hope this helps, Jay -Original Message- From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 11:25 AM To: Maven Users List Subject: eclipse compiler hi I am wondering is het possible to assign a different compiler. I want to use the eclipse compiler for my builds. thanx Rolf