[M2] : Recommended practice for dependencies declaration
Dear Maven Users. As far as I know in multi-module projects, either we can declare dependencies in parent pom or child pom (to which dependency belongs to) - both ways it works, but I would like to know the recommended practice for dependencies declaration. 1.Should it be declared in the corresponding child pom only to which it belongs to or stack up all dependencies in the parent pom (which I think is not a recommended practice, but I am not sure). Thanks for your help! Regards. -J
RE: [ANN] Building Eclipse PDE artifact with Maven
Thanks Dear. I really appreciate your help / efforts towards this. -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 3:01 AM To: Maven Users List Subject: [ANN] Building Eclipse PDE artifact with Maven Hello I have cooked up a Maven adapter to run Eclipse PDE headless automation build. The site is at http://mojo.codehaus.org/pde-maven-plugin/ A snapshot has been deployed. Check out live example at the site for details. Feedbacks are greatly appreciated. Enjoy. -D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven-jdepend-plugin for M2 ?
Dear. Where can I find working maven-jdepend-plugin for M2, I found one under the following URL : http://www.ibiblio.org/maven2/maven/maven-jdepend-plugin/ but version 1.4 1.5 - throwing NPE during execution of this plugin from reporting section in pom.xml. Can somebody please tell if there is any working version of this plugin is available ? Thanks for pointers! Regards.
Maven-PDE-plugin : MECLIPSE-34 improvement
Dear Maven users, Any idea when the following improvement / issue would be implemented / resolved ? http://jira.codehaus.org/browse/MECLIPSE-34 http://jira.codehaus.org/browse/MECLIPSE-34 Regards.
Maven-eclipse-plugin : MECLIPSE-34 improvement
Sorry, subject line should have been Maven-eclipse-plugin. Dear Maven users, Any idea when the following improvement / issue would be implemented / resolved ? http://jira.codehaus.org/browse/MECLIPSE-34 http://jira.codehaus.org/browse/MECLIPSE-34 Regards.
RE: [POLL] Why switch to Maven?
In case of a big projects which contains a lot of dependencies (third party jars etc), then one needs to install all the dependecnies to local repo, to me it works in following steps : - Finding / noting down the dependencies for each project / sub-project / feature. - locating corresponding dependencies in the filesystem. - installing the same into local repo manually. - .. And finally make a reference of each of them in pom. I do not know, if to date a better way is available to handle all this ? Regards, -Original Message- From: Jan Vissers [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 11:07 AM To: Maven Users List Subject: Re: [POLL] Why switch to Maven? I'm reading a lot of we need about x weeks to convert to maven, the learning curve is steep, it is messy but it works, if it cannot be done we can use ant... More and more I'm getting the feeling that ANT still isn't such a bad idea for building software. You can do a lot of the convention over configuration stuff for your own projects with ant and things like macrodef, subant and antlib. For dependency management we're currently using Ivy - which is pretty descent. What's more the reporting just works, even aggregated (pmd,jdepend,junit,checkstyle,cobertura,javadoc,changelog,javacnss). Can somebody tell me what the main reason would be for changing from ANT to Maven? I'm starting to get serious doubts. Eric Redmond wrote: Hi all Maven users! I'm beginning a study to outline the real reasons that people have for avoiding Maven. My questions to you all are: What were your anxieties about using Maven? If you use Maven: what helped you make the decision? If you don't: why did you avoid it? Here are some that I have heard in the past: * Lack of good documentation. * Community unwilling to help me with my problems. * Not industry supported or mainstream enough. * I don't like conforming to the Maven project layout. * My project is too complex to switch. * There are not enough plugins available. * We already have a large investement in tool X. * I have to build native/non-Java code. Any more reasons? Care to expand these ideas? Thanks for your help! Eric Redmond http://codehaus.org/~eredmond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ?
Is there a way to disable creation of cache repository under c:\documents and setting\user\m2\... ? I have configured local intranet repository for plugins and dependencies. I want this to be downloaded everytime user runs build and not to cumulate everything on every machine under C:\Documents and Settings\user\m2\.. Thanks. Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?
Does it mean that maven2 can not retrieve artifacts (jars etc) from remote repositories ? Or something else ? Regards. -Original Message- From: Nick Stolwijk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 4:07 PM To: Maven Users List Subject: Re: How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ? I don't think that the programs that are run by Maven2 (like javac and java) can use remote jar files, so they have to be present on the local hard disk. HTH, Nick Stolwijk Sharma, Jaikumar wrote: Is there a way to disable creation of cache repository under c:\documents and setting\user\m2\... ? I have configured local intranet repository for plugins and dependencies. I want this to be downloaded everytime user runs build and not to cumulate everything on every machine under C:\Documents and Settings\user\m2\.. Thanks. Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?
I created a network first to try it out instead of webserver, but unfortunately it did not work : What I did was : - created a network share on server. - assigned write permissions on that to me only, everyone read. - create a environment variable in OS - WinXP - and refer that environment variable in settings.xml localRepository${serverShareName}/localRepository On this share, I had already placed all repository contents. Though it seems unusual to refer it as local, it did not work. I am not sure If took right steps, may be someone else give some pointers on this ? Regards. -Original Message- From: Nick Stolwijk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 4:20 PM To: Maven Users List Subject: Re: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ? I tried to say, that the programs run by Maven2 needs the jar files locally. i.e. when you use Maven to compile something it calls javac with a classpath set to the jar files specified in your POM. Javac uses the classpath to locate the jar files and as far as I know, Javac can't work with remote files. What you can do is try to do create a network share and put the local repository there. I don't have any experience with this, but I think it may work. HTH, Nick Stolwijk Sharma, Jaikumar wrote: Does it mean that maven2 can not retrieve artifacts (jars etc) from remote repositories ? Or something else ? Regards. -Original Message- From: Nick Stolwijk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 4:07 PM To: Maven Users List Subject: Re: How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ? I don't think that the programs that are run by Maven2 (like javac and java) can use remote jar files, so they have to be present on the local hard disk. HTH, Nick Stolwijk Sharma, Jaikumar wrote: Is there a way to disable creation of cache repository under c:\documents and setting\user\m2\... ? I have configured local intranet repository for plugins and dependencies. I want this to be downloaded everytime user runs build and not to cumulate everything on every machine under C:\Documents and Settings\user\m2\.. Thanks. Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability
RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?
Thanks Nick, But don't you think that, placing tonns of dependencies / plugins on every developer machine is not a sound idea ? Being the fact that theses depedencies / plugins are alreay available on intranet repository, why not a mechanism on demand. Yes, If there is no way, and we want to mavenize then we have to go like this. Although, this doest not look sound. Regards. -Original Message- From: Nick Stolwijk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 4:53 PM To: Maven Users List Subject: Re: How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ? Let me ask you something else, why don't you want to cumulate everything on the local machines. As far as I can see, there is nothing wrong with that. (Maybe an exception is when the profiles you use are not local but remote profiles and the repository is synchronized every shutdown with the domain controller. Then you can move your local repository: [quote from http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven2] By default, Maven wants to place downloaded dependencies under your home directory. On Windows, that's C:\Documents and Settings\username.DOMAIN. (You will often see your home directory referred to as just '~' in documentation.) In some corporate environments, placing large numbers of files in this location can be problematic. For example, with roaming profiles enabled, *everything* in that directory will be synchronized with the server when you log out. To move your local repository to a different directory, place a 'settings.xml' file in the '.m2' directory (yes, the '.' is important) under your home directory. (Good luck creating the '.m2' directory if it doesn't already exist-- you'll have to do it at a command prompt as the Windows Explorer insists that you type a filename.) Example: ~/.m2/settings.xml settings localRepositoryC:\\java\\m2-repository/localRepository /settings [/quote] HTH, Nick Stolwijk Sharma, Jaikumar wrote: Is there a way to disable creation of cache repository under c:\documents and setting\user\m2\... ? I have configured local intranet repository for plugins and dependencies. I want this to be downloaded everytime user runs build and not to cumulate everything on every machine under C:\Documents and Settings\user\m2\.. Thanks. Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal
Hi Stephance, I have created JIRA Issue for this. http://jira.codehaus.org/browse/MECLIPSE-153 Regards -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 8:00 PM To: Maven Users List Subject: Re: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal Sharma, Jaikumar a écrit : Thanks Stephane, I installed eclipse in a fresh way (only SDK -- no other plugins in IDE), and run make-artifacts and it installed all the required artifacts in local repository. I am still not sure why JBoss IDE artifact caused NPE. Thanks again for your help! You're Welcome :) The best thing to do is to fill a new JIRA issue with your stacktrace in MECLIPSE ( http://jira.codehaus.org/browse/MECLIPSE ) and we will try to track this problem with this particular plugin. Stéphane. Regards, snip - 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: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal
Thanks Stephane, I installed eclipse in a fresh way (only SDK -- no other plugins in IDE), and run make-artifacts and it installed all the required artifacts in local repository. I am still not sure why JBoss IDE artifact caused NPE. Thanks again for your help! Regards, -Original Message- From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 9:37 PM To: 'Maven Users List' Subject: RE: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal Thanks Stephane. Yes, I have installed JBoss. Fine, I would install the eclipse in a fresh way and then I would try. Thanks again for your findings. Regards, Jaikumar -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 9:29 PM To: Maven Users List Subject: Re: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal Sharma, Jaikumar a écrit : Thanks Stephane, Please see below. -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 6:33 PM To: Maven Users List Subject: Re: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal Hi, this new functionnality is still under dev. It seems you have installed a plugin (org.jbpm.core ) taht is not delivered with the basic eclipse install. the maven plugin tries to create for each eclipse plugin an artifact and install it in our repo. So there is an error with that particular eclipse plugin Do you need this plugin into your App ? if not, try to remove it, then try again . [Sharma, Jaikumar] I did not install (org.jbpm.core) into my repository and it does not exist in local repository. When I run the mvn make-artifacts, then a lot of plugins from local eclipse installation gets processed and installed into local repository based on plugin manifest. I am not sure, what is the reason, it gets stuck on this plugin, while processing and gives NullPointerException. That is what i am saying. You have installed JBOSS IDE and not just Eclipse IDE, and tha org.jbpm.core plugin for eclipse gives you the NPE. i don't know either the reason why it gave you this. the solution i gave you is that you could install a fresh Eclipse in another directory, run mvn make-artifacts into, and see if you could use the installed artifact with your app and maven.. The make-artifacts goals need to be call just the first time, after that, you will have all the necessary artifact in your repo. Stéphane Jaikumar Stéphane Sharma, Jaikumar a écrit : Dear Maven users, Did someone tried maven-eclipse-plugin : version 2.3-SNAPSHOT to build eclipse plugins ? When I run mvn clean make-artifacts it is coming out with NullPointeException as appended at the end of the mail. Plugin configuration in my pom.xml is : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration eclipseDir${ECLIPSE_HOME}/eclipseDir buildOutputDirectory${basedir}/target/buildOutputDirectory !-- downloadSourcestrue/downloadSources -- eclipseProjectDir${basedir}/eclipseProjectDir manifestplugin.xml/manifest pdetrue/pde executions execution goals goalmake-artifacts/goal /goals /execution /executions /configuration /plugin Does some has any idea or pointers on this or I am doing something wrong ? Thanks for your help! [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping [WARNING] Missing version for artifact org.eclipse.emf.edit, skipping [WARNING] Missing version for artifact org.eclipse.xsd, skipping [INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36712.xml to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec lipse.xsd.edit-2.1.0.pom [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec lipse.xsd.edit-2.1.0.jar [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping [WARNING] Missing version for artifact org.eclipse.emf.ecore, skipping [INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36713.xml to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse
NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal
Dear Maven users, Did someone tried maven-eclipse-plugin : version 2.3-SNAPSHOT to build eclipse plugins ? When I run mvn clean make-artifacts it is coming out with NullPointeException as appended at the end of the mail. Plugin configuration in my pom.xml is : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration eclipseDir${ECLIPSE_HOME}/eclipseDir buildOutputDirectory${basedir}/target/buildOutputDirectory !-- downloadSourcestrue/downloadSources -- eclipseProjectDir${basedir}/eclipseProjectDir manifestplugin.xml/manifest pdetrue/pde executions execution goals goalmake-artifacts/goal /goals /execution /executions /configuration /plugin Does some has any idea or pointers on this or I am doing something wrong ? Thanks for your help! [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping [WARNING] Missing version for artifact org.eclipse.emf.edit, skipping [WARNING] Missing version for artifact org.eclipse.xsd, skipping [INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36712.xml to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec lipse.xsd.edit-2.1.0.pom [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec lipse.xsd.edit-2.1.0.jar [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping [WARNING] Missing version for artifact org.eclipse.emf.ecore, skipping [INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36713.xml to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse .xsd-2.1.1.pom [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse .xsd-2.1.1.jar [INFO] Processing file C:\Lang\eclipse\plugins\org.jbpm.core_3.0.9.jar [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.eclipse.MakeArtifactsMojo.execute(MakeArtifactsMojo. java:166) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage r.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife cycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(De faultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec ycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail ures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa ultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle Executor.java:140) 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:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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) [INFO] [INFO] Total time: 13 seconds [INFO] Finished at: Mon Aug 28 17:59:03 GMT+05:30 2006 [INFO] Final Memory: 8M/14M [INFO] BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91.120.4020.313 Fax+91.120.4020.100 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED]
RE: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal
Thanks Stephane, Please see below. -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 6:33 PM To: Maven Users List Subject: Re: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal Hi, this new functionnality is still under dev. It seems you have installed a plugin (org.jbpm.core ) taht is not delivered with the basic eclipse install. the maven plugin tries to create for each eclipse plugin an artifact and install it in our repo. So there is an error with that particular eclipse plugin Do you need this plugin into your App ? if not, try to remove it, then try again . [Sharma, Jaikumar] I did not install (org.jbpm.core) into my repository and it does not exist in local repository. When I run the mvn make-artifacts, then a lot of plugins from local eclipse installation gets processed and installed into local repository based on plugin manifest. I am not sure, what is the reason, it gets stuck on this plugin, while processing and gives NullPointerException. Jaikumar Stéphane Sharma, Jaikumar a écrit : Dear Maven users, Did someone tried maven-eclipse-plugin : version 2.3-SNAPSHOT to build eclipse plugins ? When I run mvn clean make-artifacts it is coming out with NullPointeException as appended at the end of the mail. Plugin configuration in my pom.xml is : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration eclipseDir${ECLIPSE_HOME}/eclipseDir buildOutputDirectory${basedir}/target/buildOutputDirectory !-- downloadSourcestrue/downloadSources -- eclipseProjectDir${basedir}/eclipseProjectDir manifestplugin.xml/manifest pdetrue/pde executions execution goals goalmake-artifacts/goal /goals /execution /executions /configuration /plugin Does some has any idea or pointers on this or I am doing something wrong ? Thanks for your help! [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping [WARNING] Missing version for artifact org.eclipse.emf.edit, skipping [WARNING] Missing version for artifact org.eclipse.xsd, skipping [INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36712.xml to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec lipse.xsd.edit-2.1.0.pom [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec lipse.xsd.edit-2.1.0.jar [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping [WARNING] Missing version for artifact org.eclipse.emf.ecore, skipping [INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36713.xml to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse .xsd-2.1.1.pom [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse .xsd-2.1.1.jar [INFO] Processing file C:\Lang\eclipse\plugins\org.jbpm.core_3.0.9.jar [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.eclipse.MakeArtifactsMojo.execute(MakeArtifactsMojo. java:166) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage r.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife cycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(De faultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec ycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail ures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa ultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle Executor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute
RE: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal
Thanks Stephane. Yes, I have installed JBoss. Fine, I would install the eclipse in a fresh way and then I would try. Thanks again for your findings. Regards, Jaikumar -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 9:29 PM To: Maven Users List Subject: Re: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal Sharma, Jaikumar a écrit : Thanks Stephane, Please see below. -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 6:33 PM To: Maven Users List Subject: Re: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal Hi, this new functionnality is still under dev. It seems you have installed a plugin (org.jbpm.core ) taht is not delivered with the basic eclipse install. the maven plugin tries to create for each eclipse plugin an artifact and install it in our repo. So there is an error with that particular eclipse plugin Do you need this plugin into your App ? if not, try to remove it, then try again . [Sharma, Jaikumar] I did not install (org.jbpm.core) into my repository and it does not exist in local repository. When I run the mvn make-artifacts, then a lot of plugins from local eclipse installation gets processed and installed into local repository based on plugin manifest. I am not sure, what is the reason, it gets stuck on this plugin, while processing and gives NullPointerException. That is what i am saying. You have installed JBOSS IDE and not just Eclipse IDE, and tha org.jbpm.core plugin for eclipse gives you the NPE. i don't know either the reason why it gave you this. the solution i gave you is that you could install a fresh Eclipse in another directory, run mvn make-artifacts into, and see if you could use the installed artifact with your app and maven.. The make-artifacts goals need to be call just the first time, after that, you will have all the necessary artifact in your repo. Stéphane Jaikumar Stéphane Sharma, Jaikumar a écrit : Dear Maven users, Did someone tried maven-eclipse-plugin : version 2.3-SNAPSHOT to build eclipse plugins ? When I run mvn clean make-artifacts it is coming out with NullPointeException as appended at the end of the mail. Plugin configuration in my pom.xml is : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration eclipseDir${ECLIPSE_HOME}/eclipseDir buildOutputDirectory${basedir}/target/buildOutputDirectory !-- downloadSourcestrue/downloadSources -- eclipseProjectDir${basedir}/eclipseProjectDir manifestplugin.xml/manifest pdetrue/pde executions execution goals goalmake-artifacts/goal /goals /execution /executions /configuration /plugin Does some has any idea or pointers on this or I am doing something wrong ? Thanks for your help! [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping [WARNING] Missing version for artifact org.eclipse.emf.edit, skipping [WARNING] Missing version for artifact org.eclipse.xsd, skipping [INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36712.xml to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec lipse.xsd.edit-2.1.0.pom [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec lipse.xsd.edit-2.1.0.jar [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping [WARNING] Missing version for artifact org.eclipse.emf.ecore, skipping [INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36713.xml to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse .xsd-2.1.1.pom [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar to C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse .xsd-2.1.1.jar [INFO] Processing file C:\Lang\eclipse\plugins\org.jbpm.core_3.0.9.jar [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO
RE: Is it possible to build Eclipse 3.1 plugins using M2 ?
Thanks Stephance. I was able to install the 2.3 SNAPSHOT plugin from the repository, now I can play around to build the plugins. Thanks for your help! Regards. -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 1:27 PM To: Maven Users List Subject: Re: Is it possible to build Eclipse 3.1 plugins using M2 ? It's on apache SNAPSHOT repo . http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/ maven-eclipse-plugin/2.3-SNAPSHOT/ add the following in your $HOME/.m2/settings.xml : pluginRepositories .. pluginRepository idapache-snapshot/id nameApache Snapshots repository/name url http://people.apache.org/maven-snapshot-repository /url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /pluginRepository /pluginRepositories Stéphane Sharma, Jaikumar a écrit : Thanks Stephane. I am not able to locate this plugin version in M2 repo. Regards -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 1:50 PM To: Maven Users List Subject: Re: Is it possible to build Eclipse 3.1 plugins using M2 ? There is also a thread about building eclipse RCP apps but i believe this is for eclipse 3.2 : http://www.nabble.com/Eclipse-bundle-howto-tf2065506.html#a5690799 Stéphane. Valerio Schiavoni a écrit : after a quick search, i found it my self. adding these lines to your pom: plugin artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration pdetrue/pde /configuration /plugin you should be able at least to compile an eclipse plugin. On 8/23/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: improvements in the maven-eclipse-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]
Disable POM generation for deploye artifacts
Is it possible to disable pom generation for deployed artifacts ? Regards
Disable POM generation for deploye artifacts
I have configured the maven-deploy-plugin in my parent pom as below, which is supposed to disable the pom generation for deployed artifact : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId version2.2.1/version configuration generatePomfalse/generatePom /configuration /plugin But, it does not work. Any thoughts ? Regards. -Original Message- From: Sharma, Jaikumar Sent: Thursday, August 24, 2006 3:30 PM To: Maven Users List Subject: Disable POM generation for deploye artifacts Is it possible to disable pom generation for deployed artifacts ? Regards - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Disable POM generation for deploye artifacts
Thanks Jon, but there is no way around to disable it completely ? Regards. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jon SlinnHawkins Sent: Thursday, August 24, 2006 4:08 PM To: users@maven.apache.org Subject: Re: Disable POM generation for deploye artifacts if you are not generating a pom, you need to supply a pom to be deployed. pomFileblah/blah/pom.xml/pomFile Cheers Jon Sharma, Jaikumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have configured the maven-deploy-plugin in my parent pom as below, which is supposed to disable the pom generation for deployed artifact : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId version2.2.1/version configuration generatePomfalse/generatePom /configuration /plugin But, it does not work. Any thoughts ? Regards. -Original Message- From: Sharma, Jaikumar Sent: Thursday, August 24, 2006 3:30 PM To: Maven Users List Subject: Disable POM generation for deploye artifacts Is it possible to disable pom generation for deployed artifacts ? Regards - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Disable POM generation for deploye artifacts
Yes, Jorg, This is true, I have tried it (: Thanks. -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 6:46 PM To: Maven Users List Subject: RE: Disable POM generation for deploye artifacts Hi Sharma, Sharma, Jaikumar wrote on Thursday, August 24, 2006 12:55 PM: Thanks Jon, but there is no way around to disable it completely ? I think that this parameter is only taken into account for the deploy:deploy-file goal. For a normal deploy it has no meaning. Regards. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jon SlinnHawkins Sent: Thursday, August 24, 2006 4:08 PM To: users@maven.apache.org Subject: Re: Disable POM generation for deploye artifacts if you are not generating a pom, you need to supply a pom to be deployed. pomFileblah/blah/pom.xml/pomFile Not true. Sun artifacts are deployed into local repos without POM generation and without providing a POM file, since it is available in the public repo. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to build Eclipse 3.1 plugins using M2 ?
Dear Maven Users, Does any plugin exists in Maven2 to build eclipse 3.1 plugins ? Thanks. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Is it possible to build Eclipse 3.1 plugins using M2 ?
Thanks Valerio, I found the thread, but version of the plugin mentioned in thread is 2.3-SNAPSHOT, while M2 repo does not have this version available for download. Thread : http://www.mail-archive.com/users@maven.apache.org/msg48132.html M2 repo : http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-eclipse-plu gin/ Regards. -Original Message- From: Valerio Schiavoni [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 1:13 PM To: Maven Users List Subject: Re: Is it possible to build Eclipse 3.1 plugins using M2 ? there was a thread one month ago approximately about it (subject: eclipse plugin archetype?) where some improvements in the maven-eclipse-plugin could allow to build a maven eclipse. let me know if you don't find it. On 8/23/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Does any plugin exists in Maven2 to build eclipse 3.1 plugins ? -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Is it possible to build Eclipse 3.1 plugins using M2 ?
Thanks Stephane. I am not able to locate this plugin version in M2 repo. Regards -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 1:50 PM To: Maven Users List Subject: Re: Is it possible to build Eclipse 3.1 plugins using M2 ? There is also a thread about building eclipse RCP apps but i believe this is for eclipse 3.2 : http://www.nabble.com/Eclipse-bundle-howto-tf2065506.html#a5690799 Stéphane. Valerio Schiavoni a écrit : after a quick search, i found it my self. adding these lines to your pom: plugin artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration pdetrue/pde /configuration /plugin you should be able at least to compile an eclipse plugin. On 8/23/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: improvements in the maven-eclipse-plugin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to build Eclipse 3.1 plugins using M2 ?
Dear Maven Users, Does any plugin exists in Maven2 to build eclipse 3.1 plugins ? Thanks.
Discarding 'pom.properties' 'pm.xml' at the time of JAR creatio n
Dear Maven Users, Does anyone of you have some enlightment for this issue ? Regards. -Original Message- From: Sharma, Jaikumar Sent: Monday, August 21, 2006 9:51 AM To: Maven Users List Subject: Discarding 'pom.properties' 'pm.xml' at the time of JAR creatio n Dear Maven Users, In a multi-module project, I have configured the maven-jar-plugin to NOT to add 'pom.properties' and 'pom.xml' at the time when build creates JAR archive for one of the module, but it comes out with an error. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-jar-plugin:2.0 Cause: Cannot find setter nor field in org.apache.maven.archiver.MavenArchiveConfiguration for 'addMavenDescriptor' [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Mon Aug 21 09:46:08 GMT+05:30 2006 [INFO] Final Memory: 5M/9M [INFO] Excerpts from my parent pom.xml, where maven-jar-plugin has been configured. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.0/version !-- configuration to discard 'pom.properties' and 'pom.xml' files from being added in ' JAR archive -- configuration archive addMavenDescriptorfalse/addMavenDescriptor /archive /configuration /plugin Is this a problem with maven-jar-plugin or I am doing something wrong ? Any enlightment is appreciated. Thanks. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
Discarding 'pom.properties' 'pm.xml' at the time of JAR creatio n
Dear Maven Users, In a multi-module project, I have configured the maven-jar-plugin to NOT to add 'pom.properties' and 'pom.xml' at the time when build creates JAR archive for one of the module, but it comes out with an error. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-jar-plugin:2.0 Cause: Cannot find setter nor field in org.apache.maven.archiver.MavenArchiveConfiguration for 'addMavenDescriptor' [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Mon Aug 21 09:46:08 GMT+05:30 2006 [INFO] Final Memory: 5M/9M [INFO] Excerpts from my parent pom.xml, where maven-jar-plugin has been configured. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.0/version !-- configuration to discard 'pom.properties' and 'pom.xml' files from being added in ' JAR archive -- configuration archive addMavenDescriptorfalse/addMavenDescriptor /archive /configuration /plugin Is this a problem with maven-jar-plugin or I am doing something wrong ? Any enlightment is appreciated. Thanks. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Use System Properties in Settings.xml?
As I had initially mentioned, this works for me, not sure about adding ENV as a prefix to MAVEN_HOME. localRepository${MAVEN_HOME}/repository/localRepository -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: Saturday, August 19, 2006 11:08 AM To: Maven Users List Subject: Re: Use System Properties in Settings.xml? I believe you need to prefix environment variables with ENV, so you may need ${ENV.MAVEN_HOME}. Eric On 8/18/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Yes, this works like below, where MAVEN_HOME is a environment variable : localRepository${MAVEN_HOME}/repository/localRepository -Original Message- From: SingleShot [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 10:53 PM To: users@maven.apache.org Subject: Use System Properties in Settings.xml? Is it possible to use system properties in the settings.xml? From playing around it appears it is not possible, but I thought I would ask. I would like to do something like this: localRepository$MAVEN_HOME/../../repository/localRepository Thanks, Mike -- View this message in context: http://www.nabble.com/Use-System-Properties-in-Settings.xml--tf2128523 .html# a5874009 Sent from the Maven - Users forum at Nabble.com. - 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] -- Eric Redmond http://codehaus.org/~eredmond
RE: Use System Properties in Settings.xml?
Yes, this works like below, where MAVEN_HOME is a environment variable : localRepository${MAVEN_HOME}/repository/localRepository -Original Message- From: SingleShot [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 10:53 PM To: users@maven.apache.org Subject: Use System Properties in Settings.xml? Is it possible to use system properties in the settings.xml? From playing around it appears it is not possible, but I thought I would ask. I would like to do something like this: localRepository$MAVEN_HOME/../../repository/localRepository Thanks, Mike -- View this message in context: http://www.nabble.com/Use-System-Properties-in-Settings.xml--tf2128523.html# a5874009 Sent from the Maven - Users forum at Nabble.com. - 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-scm-plugin : pupose of scm:status goal ?
Hi, I would like to know the purpose of scm:status goal in maven-scm-plugin, becuase I am not able to get clear view about the functionality provided by this goal with regard to MKS proivder counterpart command ? Could somebody give some idea on this please ? Regards.
maven-release-plugin how tos
Dear Maven users, Could someone give an example of how maven-release-plugin is used with scm-proivder-plugin ? Thanks for any help in advance. Regards, - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: maven-release-plugin how tos
Yes, Dennis, this I have gone through, this only states some sample configuration about the plugin, but how this is configured for scm-provider-pluingn ? Or where the scm-provider-plugin sits in the configuration mentioned in this URL ? Or no need to specify scm-provider-plugin ? I am not sure. Thanks. -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 4:07 PM To: Maven Users List Subject: Re: maven-release-plugin how tos Sharma, Jaikumar wrote: Dear Maven users, Could someone give an example of how maven-release-plugin is used with scm-proivder-plugin ? Thanks for any help in advance. Have you read this? http://maven.apache.org/plugins/maven-release-plugin/howto.html -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
Scm:bootstrap : purpose of the goal ?
Dear Maven Users, bootstrap goal in maven-scm-plugin can be / is used to run multiple goals in sequence (If I learned right from earlier posts in this list) from a scm provider plugin. As to me the semantics of this goal indicates that, running multiple goals from a scm provider plugin is not only purpose of this goal, is this true ? Could somebody throw some light on it please ? or Indicate what else this goal is suppose to do ? Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
How to refer ConnectionUrl string in SCM Provider implementation class
If my question is not stupid then I would request, if anyone can give any workarounds or pointers on this please! -Original Message- From: Sharma, Jaikumar Sent: Thursday, July 13, 2006 1:09 PM To: Maven Users List Subject: How to refer ConnectionUrl string in SCM Provider implementation class Dear Maven users, Is it possible to get connectionUrl string in Scm Provider Implementation class, which I have configured for particular goal execution ? groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-beta-3/version executions execution configuration connectionUrlconnectionString/connectionUrl /configuration goals goalupdate/goal /goals /execution /executions Thanks in advance for any pointers! Regards, Jaikumar
RE: maven-scm-plugin goals question
Emmanuel, It would be helpful, if it is possible to give me small hint about the operations each goal provides, while some of them are self explanatory, given the fact that different providers has bit different naming and hence confusing a bit : - 'status' - what it does ? - 'update' - what is does ? - 'status' - ? - 'tag'- ? - 'unedit' - ? - 'edit' - ? Thanks, Jaikumar -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 3:02 PM To: Maven Users List Subject: Re: maven-scm-plugin goals question Sharma, Jaikumar a écrit : Dear all, As I see at the following URL goals provided by maven-scm-plugin, these goals are general goals, but at the same time, certain actions / operations which are specific to a particular SCM does not really match (for readibility / documentation reasons) to these goals. http://maven.apache.org/scm/plugins/plugin-info.html http://maven.apache.org/scm/plugins/plugin-info.html For instance, take the login action, which I think every provider implements for it repository, and in most of the cases with other providers which are implemented, login has been wrapped in URL in the pom and there itself login take place. A login action is important for scm connection but not as a maven goal. Users prefer that the login action is embedded in other goal, so it's transparent. Is it not worthwhile to provide login as a seperate goal ? or there are some good reasons to not to provide this ? Next, I would appreciate, if somebody could point me to the purpose of the following goals with repect to the provider repository : scm:diff scm:status scm:tag scm:unedit If I do not implement any of the goals or only implement which are relevent / common goals which are relevent to my provider , then at the higher level would I be missing any of the functinality provided by Maven ? You can implement actions you want, missing actions won't be available in maven. release plugin requires checkout, commit, tag and status actions changelog plugin require changelog action continuum require checkout, update and changelog actions other important actions are add, remove ant list actions that are used by wagon-scm provider Emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: maven-scm-plugin goals question
Thanks. Well, this was a advice, and of course, this can always be implmented / wrapped in another goal (like I have also wrapped this in validate goal). Thanks. Jaikumar -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 9:32 AM To: Maven Users List Subject: Re: maven-scm-plugin goals question As a user, I always want to _do_ something. Logging in is, inherently, a null operation. Sure, it changes my state (from non-logged in to logged in) but only insomuch as to do the action that I _really_ want to do (such as, commit or checkout). The issue with ANT is that it is procedural. It makes you take steps (login, checkout, logout). Maven is not procedural, it is declarative. From that point of view, what good does it do anyone to declare log me in? It is the steps _after_ this operation that are fruitful, so this is what the goals focus on. To log oneself in turns a declared operation into a procedure. Consider the example goal: mvn scm:commit versus the alternate proposal: mvn scm:login scm:commit See how that becomes procedural? I'm no longer just declaring the action I want to take (commit), but now instead am directing how to take the action. Thanks; Eric On 7/7/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Thanks Eric, I was not sure whether I should post this questions to maven users list or developer list.Though, to me it looks, more developer list question than user list. Is it not worthwhile to provide login as a seperate goal ? or there are some good reasons to not to provide this ? What would be the value in a goal that logs in, but does not perform any actions? I do not believe that logging in into a system / repository is not an action, if this would have been like that then what is meaning of security and why operating system providers (Microsoft , open source Linux to name a few) implemented this behaviour into their system ? Thanks , Jaikumar -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 2:39 AM To: Maven Users List Subject: Re: maven-scm-plugin goals question Please do not cross-post between lists. More below. On 7/7/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear all, As I see at the following URL goals provided by maven-scm-plugin, these goals are general goals, but at the same time, certain actions / operations which are specific to a particular SCM does not really match (for readibility / documentation reasons) to these goals. http://maven.apache.org/scm/plugins/plugin-info.html http://maven.apache.org/scm/plugins/plugin-info.html For instance, take the login action, which I think every provider implements for it repository, and in most of the cases with other providers which are implemented, login has been wrapped in URL in the pom and there itself login take place. Is it not worthwhile to provide login as a seperate goal ? or there are some good reasons to not to provide this ? What would be the value in a goal that logs in, but does not perform any actions? Next, I would appreciate, if somebody could point me to the purpose of the following goals with repect to the provider repository : scm:diff scm:status scm:tag scm:unedit If I do not implement any of the goals or only implement which are relevent / common goals which are relevent to my provider , then at the higher level would I be missing any of the functinality provided by Maven ? Of course, but that's not important. If an implementation does not provide for a particular goal, then it just will not be available. SCM is just like any other API. Sometimes an implementation of an API cannot provide all required functionality. Naturally, it is best to try, but if your provider does not have tag for example, naturally that goal cannot be used correctly. Regards, Jaikumar Thanks; Eric - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
maven-scm-plugin goals question
Dear all, As I see at the following URL goals provided by maven-scm-plugin, these goals are general goals, but at the same time, certain actions / operations which are specific to a particular SCM does not really match (for readibility / documentation reasons) to these goals. http://maven.apache.org/scm/plugins/plugin-info.html http://maven.apache.org/scm/plugins/plugin-info.html For instance, take the login action, which I think every provider implements for it repository, and in most of the cases with other providers which are implemented, login has been wrapped in URL in the pom and there itself login take place. Is it not worthwhile to provide login as a seperate goal ? or there are some good reasons to not to provide this ? Next, I would appreciate, if somebody could point me to the purpose of the following goals with repect to the provider repository : scm:diff scm:status scm:tag scm:unedit If I do not implement any of the goals or only implement which are relevent / common goals which are relevent to my provider , then at the higher level would I be missing any of the functinality provided by Maven ? Regards, Jaikumar
RE: maven-scm-plugin goals question
Thanks Eric, I was not sure whether I should post this questions to maven users list or developer list.Though, to me it looks, more developer list question than user list. Is it not worthwhile to provide login as a seperate goal ? or there are some good reasons to not to provide this ? What would be the value in a goal that logs in, but does not perform any actions? I do not believe that logging in into a system / repository is not an action, if this would have been like that then what is meaning of security and why operating system providers (Microsoft , open source Linux to name a few) implemented this behaviour into their system ? Thanks , Jaikumar -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 2:39 AM To: Maven Users List Subject: Re: maven-scm-plugin goals question Please do not cross-post between lists. More below. On 7/7/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear all, As I see at the following URL goals provided by maven-scm-plugin, these goals are general goals, but at the same time, certain actions / operations which are specific to a particular SCM does not really match (for readibility / documentation reasons) to these goals. http://maven.apache.org/scm/plugins/plugin-info.html http://maven.apache.org/scm/plugins/plugin-info.html For instance, take the login action, which I think every provider implements for it repository, and in most of the cases with other providers which are implemented, login has been wrapped in URL in the pom and there itself login take place. Is it not worthwhile to provide login as a seperate goal ? or there are some good reasons to not to provide this ? What would be the value in a goal that logs in, but does not perform any actions? Next, I would appreciate, if somebody could point me to the purpose of the following goals with repect to the provider repository : scm:diff scm:status scm:tag scm:unedit If I do not implement any of the goals or only implement which are relevent / common goals which are relevent to my provider , then at the higher level would I be missing any of the functinality provided by Maven ? Of course, but that's not important. If an implementation does not provide for a particular goal, then it just will not be available. SCM is just like any other API. Sometimes an implementation of an API cannot provide all required functionality. Naturally, it is best to try, but if your provider does not have tag for example, naturally that goal cannot be used correctly. Regards, Jaikumar Thanks; Eric
RE: Maven Day in Paris
Would have been informative, if page under this url would have been in english ;-) -Original Message- From: Damien Viel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 5:18 PM To: Maven Users List Subject: Maven Day in Paris Hi all, For people who are in Paris (France) during this summer, a Maven Day is orgenized next Tuesday. Check this for more informations : http://www.application-servers.com/comments.do?reqCode=readCommentssid= 2006-06-16-12:04:52 Damien -- -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- | http://www.improve-foundations.com __/ \__ | http://www.improve.fr improve | http://www.application-servers.com /_\-| http://www.improve-technologies.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Lazy question
I think, versionLATEST/version -Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 6:28 PM To: users@maven.apache.org Subject: Lazy question I have a questiono that I'm too lazy to do the full research on. (Actually I don't have time.) I looked for the answer on the site briefly but couldn't find it so I'm asking here. How do I set a dependency on the latest version of an API? For example, if I want the latest version of Xalan how do I declare that in my pom without using a specific version number? - Clifton C. Craig, Software Engineer Tell me what's up... visit: http://codeforfun.wordpress.com [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: How to run multiple goals via maven-scm-plugin on a scm provi der plugin
Hi Dan, Thanks again for your response. I would definitely use normal build process, but I was thinking about the possiblity of running the multiple goals. The configuration you have mentioned below does not show scm provider plugin configuration ? How provider plugin has to be configured in this configuration ? Regards. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 12:44 PM To: scm-dev@maven.apache.org Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi der plugin build plugins plugin artifactIdmaven-scm-plugin/artifactId goals goalbootstrap/goal goals executions execution configuration goalsa,b,c,etc/goals /configuration /execution /executions /plugin /plugins? Btw, this question should go to user list. Also, not sure why you want to do this thou, why dont you use normal maven build process? -Dan On 6/26/06, Sharma, Jaikumar [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: could you please mention this using a small example using xml constructs ? Regards, -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, June 26, 2006 12:33 PM To: scm-dev@maven.apache.org mailto:scm-dev@maven.apache.org Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi der plugin it is not normal to build thru scm:bootstrap by specify in the pom, but you can certainly do so, by binding scm:boostrap mojo to a phase in your pom. -Dan On 6/25/06, Sharma, Jaikumar [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks Dan, I think, what you have mentioned is command line option ? how to achieve this in pom.xml ? Regards. -Original Message- From: dan tran [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, June 26, 2006 12:18 PM To: scm-dev@maven.apache.org mailto:scm-dev@maven.apache.org Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provider plugin The answer is no, but you can run mvn scm:bootstrap -Dgoals=goal1,goal2, goal2, etc -D On 6/25/06, Sharma, Jaikumar [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Emmanuel, Is it possible to run multiple goals in sequence via maven-scm-plugin like the following : scm connectionscm:mks:[EMAIL PROTECTED]@[EMAIL PROTECTED]/connection !-- eventually, I can wrap the connect comand after the above url's validation is done, since there is no login goal is available in maven-scm-plugin -- how to specify other goal here, which might be next step like creating a sandbox on local machine ? scm Is scm providers plugins are always works as dependency to maven-scm-plugin ? Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: How to run multiple goals via maven-scm-plugin on a scm provi der plugin
Thanks Edwin and Dan both. I would like to know, where my maven-scm-provider-mks plugin fits into this configuration ? It has to be specified as a dependency or what ? Regards. -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 1:27 PM To: Maven Users List Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi der plugin That seems wrong... it should be: build plugins plugin artifactIdmaven-scm-plugin/artifactId configuration put here plugin configurations that is common to all the executions /configuration executions execution id/ configuration/ -- put here configurations applicable to this execution only goals goal/ -- plugin goal for this execution /goals /execution /executions /plugin /plugins /build to run multiple goals, you may either put several goal in goals or sevearal execution in executions Sharma, Jaikumar wrote: Hi Dan, Thanks again for your response. I would definitely use normal build process, but I was thinking about the possiblity of running the multiple goals. The configuration you have mentioned below does not show scm provider plugin configuration ? How provider plugin has to be configured in this configuration ? Regards. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 12:44 PM To: scm-dev@maven.apache.org Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi der plugin build plugins plugin artifactIdmaven-scm-plugin/artifactId goals goalbootstrap/goal goals executions execution configuration goalsa,b,c,etc/goals /configuration /execution /executions /plugin /plugins? Btw, this question should go to user list. Also, not sure why you want to do this thou, why dont you use normal maven build process? -Dan On 6/26/06, Sharma, Jaikumar [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: could you please mention this using a small example using xml constructs ? Regards, -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, June 26, 2006 12:33 PM To: scm-dev@maven.apache.org mailto:scm-dev@maven.apache.org Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi der plugin it is not normal to build thru scm:bootstrap by specify in the pom, but you can certainly do so, by binding scm:boostrap mojo to a phase in your pom. -Dan On 6/25/06, Sharma, Jaikumar [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks Dan, I think, what you have mentioned is command line option ? how to achieve this in pom.xml ? Regards. -Original Message- From: dan tran [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, June 26, 2006 12:18 PM To: scm-dev@maven.apache.org mailto:scm-dev@maven.apache.org Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provider plugin The answer is no, but you can run mvn scm:bootstrap -Dgoals=goal1,goal2, goal2, etc -D On 6/25/06, Sharma, Jaikumar [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Emmanuel, Is it possible to run multiple goals in sequence via maven-scm-plugin like the following : scm connectionscm:mks:[EMAIL PROTECTED]@[EMAIL PROTECTED]/connection !-- eventually, I can wrap the connect comand after the above url's validation is done, since there is no login goal is available in maven-scm-plugin -- how to specify other goal here, which might be next step like creating a sandbox on local machine ? scm Is scm providers plugins are always works as dependency to maven-scm-plugin ? Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged
How to Refer Configuration elements of the plugin in a Mojo
Hi! I there a way to refer the username and password elements specified in pom.xml into a mojo ? sample configuration is as follows : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-beta-3/version configuration connectionUrlscm:mks:[EMAIL PROTECTED]@sbxlocation/connectionUrl basedird:/temp/sandboxes/basedir usernamemyname/username passwordmypass/password /configuration /plugin Thanks in advance! - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Gernot Eger/T-Mobile/AT ist außer Haus. [Virus checked]
English please... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 7:31 AM To: Maven Users List Subject: Gernot Eger/T-Mobile/AT ist außer Haus. [Virus checked] Ich werde ab 07.06.2006 nicht im Büro sein. Ich kehre zurück am 08.06.2006. mfg Gernot Eger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Trouble with Surefire plugin
Thanks Carloss. I am not sure, if it means that it not is possible to use Junit 4.0/4.1 using Maven for running tests ? Regards, Jaikumar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Thursday, June 01, 2006 11:36 AM To: Maven Users List Subject: Re: Trouble with Surefire plugin 3.8.1 On 5/31/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Surefire plugin version 2.1.3 has binding to Junit 4.0/4.1 or still 3.8.1 ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Thursday, June 01, 2006 11:19 AM To: Maven Users List; Sean McNamara Subject: Re: Trouble with Surefire plugin Try setting a 2.1.3 version for the surefire plugin. You can later try with 2.2 and see what's the problem. On 5/31/06, Sean McNamara [EMAIL PROTECTED] wrote: I'm running into a build error with a project that was previously working properly, an am wondering if anyone has any idea how to fix this. It's fairly critical I get this project rebuilt so any help is appreciated. Thanks! -- [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plu gins:maven-surefire-plugin:2.2:test': Unable to find the mojo 'org.apache.maven. plugins:maven-surefire-plugin:2.2:test' in the plugin 'org.apache.maven.plugins: maven-surefire-plugin' org/apache/maven/surefire/booter/SurefireExecutionException [INFO] -- -- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the pl ugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.2: test': Unable to find the mojo 'org.apache.maven.plugins:maven-surefire-plugin:2 .2:test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin' at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:538) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) 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:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java: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.PluginManagerException: Unable to find the mo jo 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test' in the plugin 'org. apache.maven.plugins:maven-surefire-plugin' at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul tPluginManager.java:533) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:390) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) ... 16 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupExc eption: Unable to lookup component 'org.apache.maven.plugin.Mojoorg.apache.maven .plugins:maven-surefire-plugin:2.2:test', it could not be created at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai ner.java:335) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai ner.java:440) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul tPluginManager.java:524) ... 18 more Caused
RE: Trouble with Surefire plugin
Surefire plugin version 2.1.3 has binding to Junit 4.0/4.1 or still 3.8.1 ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Thursday, June 01, 2006 11:19 AM To: Maven Users List; Sean McNamara Subject: Re: Trouble with Surefire plugin Try setting a 2.1.3 version for the surefire plugin. You can later try with 2.2 and see what's the problem. On 5/31/06, Sean McNamara [EMAIL PROTECTED] wrote: I'm running into a build error with a project that was previously working properly, an am wondering if anyone has any idea how to fix this. It's fairly critical I get this project rebuilt so any help is appreciated. Thanks! -- [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plu gins:maven-surefire-plugin:2.2:test': Unable to find the mojo 'org.apache.maven. plugins:maven-surefire-plugin:2.2:test' in the plugin 'org.apache.maven.plugins: maven-surefire-plugin' org/apache/maven/surefire/booter/SurefireExecutionException [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the pl ugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.2: test': Unable to find the mojo 'org.apache.maven.plugins:maven-surefire-plugin:2 .2:test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin' at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:538) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) 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:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java: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.PluginManagerException: Unable to find the mo jo 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test' in the plugin 'org. apache.maven.plugins:maven-surefire-plugin' at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul tPluginManager.java:533) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:390) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) ... 16 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupExc eption: Unable to lookup component 'org.apache.maven.plugin.Mojoorg.apache.maven .plugins:maven-surefire-plugin:2.2:test', it could not be created at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai ner.java:335) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai ner.java:440) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul tPluginManager.java:524) ... 18 more Caused by: org.codehaus.plexus.component.factory.ComponentInstantiationException : Could not instanciate component: role: 'null', implementation: 'org.apache.mav en.plugin.surefire.SurefirePlugin' at org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE xception(JavaComponentFactory.java:77) at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn stance(JavaComponentFactory.java:62) at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De faultPlexusContainer.java:1464)
Page not Found when searching for the Info.
Can somebody really have a serious view for the following ? Regards. http://maven.apache.org/scm/plugins/index.html http://maven.apache.org/scm/plugins/index.html Page Not Found Sorry, the page you requested was not found. This may because: * The page has moved, was outdated, or has not been created yet * You typed the address incorrectly * You following a link from another site that pointed to this page. We have recently reorganised our site, so please try looking in the navigation on the left for the item you are looking for on Maven 1.x or the Maven project. For information about Maven 2.0 or Continuum, please visit their sub sites, available from the links in the top right of the page. There is no need to report this broken link to the Maven team, as errors are periodically monitored and repaired.
RE: [M2] : NullPointerException with JUnit 4.0
Oops! I was mistaken in the pom.xml, I had included the dependency as a plugin, after removing that everything is fine. Thanks for your help! Regards, Jaikumar -Original Message- From: Vinod Panicker [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 9:25 PM To: Maven Users List Subject: Re: [M2] : NullPointerException with JUnit 4.0 On 5/11/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Does anybody used JUnit 4.0 with maven 2 successfully ? I am getting NullPonterException with JUnit 4.0, when trying to compile test cases and test sources! I would appreciate any pointers! Can you post the stack trace you are getting? Would be able to help you better then. Regards, Vinod. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
[M2] - mavenide - Maven 2 compatibility ?
Is any one aware of Eclipse 3.1 IDE support by mavenide (Maven 2 -- eclipse IDE support plugin) ? There is a plugin exist on codehaus , but it generates the POMs which are Maven 1.0 compatible. http://mevenide.codehaus.org/mevenide-ui-eclipse/update/index.html http://mevenide.codehaus.org/mevenide-ui-eclipse/update/index.html Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
[M2] : NullPointerException with JUnit 4.0
Does anybody used JUnit 4.0 with maven 2 successfully ? I am getting NullPonterException with JUnit 4.0, when trying to compile test cases and test sources! I would appreciate any pointers! Thanks! Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: [M2] : NullPointerException with JUnit 4.0
Hi Vinod, Thanks for your reply. Please find the stacktrace below. Info : If I comment-out Junit 4.0 dependency in the pom.xml then there is no problems, it compiles the sources. Regards, Jaikumar [INFO] -- [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginMana ger.java:292) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(Defau ltPluginManager.java:198) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:163) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1252) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycl e(DefaultLifecycleExecutor.java:1216) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa ppings(DefaultLifecycleExecutor.java:982) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) 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:256) 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:585) 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) [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Fri May 12 10:05:45 GMT+05:30 2006 [INFO] Final Memory: 3M/6M [INFO] -Original Message- From: Vinod Panicker [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 9:25 PM To: Maven Users List Subject: Re: [M2] : NullPointerException with JUnit 4.0 On 5/11/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Does anybody used JUnit 4.0 with maven 2 successfully ? I am getting NullPonterException with JUnit 4.0, when trying to compile test cases and test sources! I would appreciate any pointers! Can you post the stack trace you are getting? Would be able to help you better then. Regards, Vinod. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
Artifacts reference in Maven2
Dear Maven Users, Can I use third party libraries (required by build process to compile / test sources etc.) which are located in application installed location in the filesystem without installing them into local repository ? As far as Maven documentation is concerned it describes two ways : One by installing the artifact into local repository and other by specifying the scopysystem/scope and systemPathpath of libs/systemPath in the dependency /dependency section (use of this is discouraged as mentioned by Maven docs). http://maven.apache.org/ref/current/maven-model/maven.html http://maven.apache.org/ref/current/maven-model/maven.html I want most of the artifacts to be referred by the build process at their original location and not by moving everything to repository. Is there a third way exists in maven 2 to refer the artifacts in the build process ? Might be the case that I have not come across to that so far. Thanks for your help! Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Maven2BookIsOut
Tried to access the book, but got the following : 403 - Forbidden Is this not for everyone to download ? Regards, Jaikumar -Original Message- From: Rob Dickens [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 3:23 PM To: Maven Users List Subject: Maven2BookIsOut http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2BookIsOut Many thanks for this! Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
Maven2 plugin to be used inside Eclipse 3.1.1 IDE -- where to ge t ?
Dear Maven Users, Where to get a plugin -- which can be used in Eclipse 3.1.1 to build so see what could be done like Ant inside eclipse. At least, It is a bit confusing for me the website : maven-eclipse-plugin ? maven-eclipse-plugin-plugin ? Both have different purposes ? Thanks for your help! Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
Updated : Maven2 plugin to be used inside Eclipse 3.1.1 IDE -- where to get ?
Dear Maven Users, Where to get a plugin -- which can be used in Eclipse 3.1.1 to build or see what could be done like Ant inside eclipse. At least, It is a bit confusing for me at the website : maven-eclipse-plugin ? maven-eclipse-plugin-plugin ? Both have different purposes ? Thanks for your help! Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: [M2] : How to resolve package level dependencies
Hi Anshuman, Unfortunately, it does not work, actual location of packages is the project itself which is being built, and if I define the dependencies like you have mentioned, then it tries to look into the local repository and obiviously these dependencies does not exists in local repository and it comes out with an error. Thanks for your help! Regards, Jaikumar -Original Message- From: Anshuman Srivastava [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 5:42 PM To: Maven Users List Subject: Re: [M2] : How to resolve package level dependencies Hi Jai i think you have to make an entry in pom.xml of project C for project D like this-- dependency groupIdA.D/groupId artifactIdD/artifactId version1.0/version /dependency Try it and let me know. Anshuman On 4/25/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: I have folder structure of the project : |--Project A | |-sub-project B | | | ||---sub-sub project C | ||---pom.xml | ||--sub-sub project D | ||---pom.xml | |-pom.xml |--pom.xml In this scanario, packages access is defined in the classes, when I compile sub-sub project C, it says package does not exist (which is already there sub-sub project D) How to define dependency for this ? Thanks! Regards, Jaikumar BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: [M2] : How to resolve package level dependencies
It works also if I replace path of java source files with ${basedir}/../, because all the dependencies lies under this path only. Just posted, because others may also get some info. Regards, Jaikumar -Original Message- From: Sharma, Jaikumar Sent: Wednesday, April 26, 2006 2:41 PM To: 'Maven Users List' Subject: RE: [M2] : How to resolve package level dependencies Thanks Tim for valulable info, you mentioned. However, I was trying like the following and it worked fine. dependencies dependency groupIdcom.mycompany/groupId artifactIdmycompany/artifactId versionLATEST/version scopesystem/scope systemPathpath of java source files/systemPath /dependency /dependencies Thanks again for the valuable info! Regards, Jaikumar -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 2:30 PM To: Maven Users List Subject: Re: [M2] : How to resolve package level dependencies Hi, just to be sure I understood your problem correctly: In some class of project C you import a package/class that is defined in project D. And then, when you try to build project C the Java compiler fails with an error that it can't find the imported package/class. Correct? As Anshuman said you just need to declare a dependency to project D in your pom of project C. From which directory do you execute your 'mvn ...'? command from project C or from the top level project (project A)? In a multiproject build you always must run your mvn commands (with the possible exception of 'mvn clean') form the directory of the topmost project. Else maven can not calculate the all subprojects it has to build and therefore doesn't know anything about project D if you just try to build project C directly as a standalone project. Hope this helps -Tim Sharma, Jaikumar schrieb: I have folder structure of the project : |--Project A | |-sub-project B | | | ||---sub-sub project C | ||---pom.xml | ||--sub-sub project D | ||---pom.xml | |-pom.xml |--pom.xml In this scanario, packages access is defined in the classes, when I compile sub-sub project C, it says package does not exist (which is already there sub-sub project D) How to define dependency for this ? Thanks! Regards, Jaikumar BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Nesting of POMs to subproject level - no sources to compile
Thanks Edwin. Solved. I used : 'mvn help:effiective-pom' command to get info about sourceDirectory etc, and which was pointing to non-existant sources location. Thanks! Regards, Jaikumar -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 4:34 PM To: Maven Users List Subject: Re: Nesting of POMs to subproject level - no sources to compile You should check where the message no sources to compile is printed. My guess is, its printed when processing (3) project, which I assume does not have any sources in project.build.sourceDirectory ^_^ Sharma, Jaikumar wrote: My project structure : [project] | |---sub-project 1. pom.xml | |--- 2.pom.xml | | sub sub project | |-- 3. pom.xml I have defined main pom.xml in the [1.project root] -- next pom exists at [2.sub-project] level -- and last pom is at [3.sub sub project level]. In the first and second pom packaging type is 'pom' while at deepest level it is 'jar' and when executing the root level pom, it says no sources to compile! I am sure, I am mistaken somewhere! Could somebody please point me the clue what is is wrong ? Thanks! Regards, Jaikumar BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: [M2] - Third party artifact installation / parse error in POM
Thanks Tim for useful tip, I installed the thirdparty artifact, but did not use the option as you mentioned -- (-DgeneratePom=true). I would do this and let you know the results. In the settings.xml, I have specified the localRepository pointing to local filesystem, but file:// -- protocol has been specified. Might be that because of the first problems, further stacktrace is getting generated. I would try and see the results. Thanks again for your help! Regards, Jaikumar -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 8:00 PM To: Maven Users List Subject: Re: [M2] - Third party artifact installation / parse error in POM Hi, two remarks: 1. Regarding the unsupported protocol error: Can it be that you have specified a local file system repository somewhere (project pom, settings.xml) like this: urlC:/PATH/TO/REPO/url and forgotten to put the protocol part in front ('file://') so it tries to interpret your drive letter as a protocol? 2. Regarding the not found pom when you install an artifact to your local repository by hand you need to provide a self written pom (-DpomFile=mypom.xml) or tell maven to generate a stub pom (-DgeneratePom=true). Otherwise it tries to fetch the pom from Ibiblio and of course fails doing so. -Tim Sharma, Jaikumar schrieb: Dear Maven users, I was just trying to install an third party artifact into the local repository, it got installed but when M2 tries to parse the pom, I get the following error. Did somebody have already faced this error or have an idea ? Regards, Jaikumar [INFO] -- -- [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: jboss.transaction.client:jboss-transaction-client Reason: Error getting POM for 'jboss.transaction.client:jboss-transaction-client' from the repository: Unsupported Protocol: 'C': jboss.transaction.client:jboss-transaction-client:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2 http://repo1.maven.org/maven2 ) [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Mon Apr 24 18:03:43 GMT+05:30 2006 [INFO] Final Memory: 4M/7M [INFO] BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: [M2] - Third party artifact installation / parse error in POM
Ah. Great, I was wondering to see only poms in some cases on ibiblio repository, and did not know the reasons why only poms are there and no corresponding JARs available for those. Thanks Simon. Regards, Jaikumar -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 12:40 PM To: Maven Users List Subject: RE: [M2] - Third party artifact installation / parse error in POM On Tue, 2006-04-25 at 08:54 +0200, Sharma, Jaikumar wrote: Thanks Tim for useful tip, I installed the thirdparty artifact, but did not use the option as you mentioned -- (-DgeneratePom=true). I would do this and let you know the results. Note: there are some jars (in particular, Sun stuff like javax.transaction) for which there is a pom in the ibiblio repository, but not the jar, for legal reasons. For these jars, you don't want to specify -DpomFile or -DgeneratePom; just install the jar and the pom will be downloaded (with all the right info). At least I think that's how it works. In the settings.xml, I have specified the localRepository pointing to local filesystem, but file:// -- protocol has been specified. Might be that because of the first problems, further stacktrace is getting generated. I would try and see the results. Are you talking about the *local* repository (ie cache typically in ~/.m2/repository), or a remote repository that happens to be hosted by you? If the latter, I've been unable to get file:// urls working; if you do, please let me know! Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Use System Environment Variable for JUNIT
You can use system variables like ${var.name} -- please be sure for the case of variables -- means access in M2 as defined in windows. -Original Message- From: RobJac [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 3:19 PM To: users@maven.apache.org Subject: Use System Environment Variable for JUNIT I have Maven project which also runs Junit when i execute install command. The class files which runs Junit has references to few System environment variable. I would like to know if there is any way I can declare System Environment variable in my pom xml so that the Junit can use this when it runs my project -- View this message in context: http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491 .html#a4079453 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
[M2] : How to resolve package level dependencies
I have folder structure of the project : |--Project A | |-sub-project B | | | ||---sub-sub project C | ||---pom.xml | ||--sub-sub project D | ||---pom.xml | |-pom.xml |--pom.xml In this scanario, packages access is defined in the classes, when I compile sub-sub project C, it says package does not exist (which is already there sub-sub project D) How to define dependency for this ? Thanks! Regards, Jaikumar BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: [M2] Compiler plugin 2.0.1 - compilerArguments error
I used complierArgument-classpath libraries path /compilerArgument and problem disappeared! Thanks for your help! Regards, Jaikumar -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 1:24 AM To: Maven Users List Subject: Re: [M2] Compiler plugin 2.0.1 - compilerArguments error Please run maven with the -e switch and post the result because it's hard to tell the cause based upon this stack. On 4/24/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven Users, I was trying to specify -classpath system lib path using the compilerArguments /compilerArguments construct , and I got the following error. Someone having the idea why this error occurs ? Regards, Jaikumar [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-compiler-plugin:2.0.1 Cause: Cannot assign value '-classpath C:\Program Files\Java\jdk1.5.0_04\jre\lib\' to field: org.apache.maven.plugin.CompilerMojo.compilerArguments; type: java.lang.String [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Mon Apr 24 14:48:23 GMT+05:30 2006 [INFO] Final Memory: 4M/8M [INFO] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Getting root parent POM artifactid
It is ${project.artifactId} and ${project.version}, as far as know. -Original Message- From: javed mandary [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 4:18 PM To: Maven Users List Subject: Getting root parent POM artifactid Hi, is there any properties value that returns the top Parent POM's artifact id and version number. Say i have a structure as follows: root POM | |--module A POM | |-module B POM | |--module C POM Is there a way to retrieve the artifactId and version number of top root POM from module C POM ? cheers, Javed - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: [M2] : How to resolve package level dependencies
Thanks Anshuman, I would try it and let you know. Regards, Jaikumar -Original Message- From: Anshuman Srivastava [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 5:42 PM To: Maven Users List Subject: Re: [M2] : How to resolve package level dependencies Hi Jai i think you have to make an entry in pom.xml of project C for project D like this-- dependency groupIdA.D/groupId artifactIdD/artifactId version1.0/version /dependency Try it and let me know. Anshuman On 4/25/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: I have folder structure of the project : |--Project A | |-sub-project B | | | ||---sub-sub project C | ||---pom.xml | ||--sub-sub project D | ||---pom.xml | |-pom.xml |--pom.xml In this scanario, packages access is defined in the classes, when I compile sub-sub project C, it says package does not exist (which is already there sub-sub project D) How to define dependency for this ? Thanks! Regards, Jaikumar BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
How to specify a Set of Multiple dependent JARs in M2 ?
Dear Maven users, Is there a way in M2 to specify a set of dependent JARs which resides in local filesystem and required by the project during compilation ? Individually, JARs can be specified using dependency /dependency construct. Thanks! Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
[M2] Compiler plugin 2.0.1 - compilerArguments error
Dear Maven Users, I was trying to specify -classpath system lib path using the compilerArguments /compilerArguments construct , and I got the following error. Someone having the idea why this error occurs ? Regards, Jaikumar [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-compiler-plugin:2.0.1 Cause: Cannot assign value '-classpath C:\Program Files\Java\jdk1.5.0_04\jre\lib\' to field: org.apache.maven.plugin.CompilerMojo.compilerArguments; type: java.lang.String [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Mon Apr 24 14:48:23 GMT+05:30 2006 [INFO] Final Memory: 4M/8M [INFO] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
[M2] - Third party artifact installation / parse error in POM
Dear Maven users, I was just trying to install an third party artifact into the local repository, it got installed but when M2 tries to parse the pom, I get the following error. Did somebody have already faced this error or have an idea ? Regards, Jaikumar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: jboss.transaction.client:jboss-transaction-client Reason: Error getting POM for 'jboss.transaction.client:jboss-transaction-client' from the repository: Unsupported Protocol: 'C': jboss.transaction.client:jboss-transaction-client:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2 http://repo1.maven.org/maven2 ) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Mon Apr 24 18:03:43 GMT+05:30 2006 [INFO] Final Memory: 4M/7M [INFO] BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
Customized directory structure to produce artifacts / classes ?
Dear Maven Users! M2 build produces standard directory structure as a result of build process, is it possible to override the same and customize --- compile, package, JAR, WAR, JavaDocs etc to the folder structure as per the organization specific directory standard ? or is it customizable in POMs ? Thanks for your help! Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Customized directory structure to produce artifacts / classes ?
Yes, Simon, it is difficult though to go for a new structure for existing projects, from organizational point of view. Of course there are good reaons and best practices for maven to follow its standard folder structure. Thanks for your help! Regards, Jaikumar -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 4:27 PM To: Maven Users List Subject: Re: Customized directory structure to produce artifacts / classes ? On Wed, 2006-04-19 at 12:43 +0200, Sharma, Jaikumar wrote: Dear Maven Users! M2 build produces standard directory structure as a result of build process, is it possible to override the same and customize --- compile, package, JAR, WAR, JavaDocs etc to the folder structure as per the organization specific directory standard ? or is it customizable in POMs ? Yes, Maven2 can be configured via the POM to handle just about any directory structure. Of course that's more complicated than using the standard structures, but it's not too bad. See the documentation on the maven site for: sourceDirectory testSourceDirectory outputDirectory etc as well as config attributes for specific plugins. This page lists all the possible xml elements in a POM: http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html One thing you will find very hard to work against, though, is maven's desire to create one artifact (eg jar or war) per pom.xml file. Even that's possible to work around in some cases, but only with significant effort. There are very good reasons for maven's approach here of course. So in practice if you want to apply Maven to existing projects you are likely to need to make at least some changes in the project structure. If you're just starting with maven2 then there's a great maven2 book available via the mergere.com site: http://www.mergere.com/products.jsp Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
Maven a Developer's notebook : Upgraded to M2 is available somewh ere online ?
Took a book on Maven -- Maven Developer's Notebook - just to get started and to be comfortable using it, but found that examples in it --- not working, because it is intended to be used with Maven 1.x. While Maven 2 is complete re-write of version 1.x. Who has this book : can note the following : maven genapp -- does not work any more in M2. Any online e-copy of this book, which is upgraded to M2; available somewhere ? Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Maven a Developer's notebook : Upgraded to M2 is available so mewh ere online ?
Thanks Timo. BR. Jaikumar -Original Message- From: Timo Westkämper [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 2:15 PM To: Maven Users List Subject: Re: Maven a Developer's notebook : Upgraded to M2 is available somewh ere online ? Hello. I have just started reading Better Builds with Maven which was written for Maven 2. You can get it for free from http://www.mergere.com/products.jsp Br, Timo Westkämper. Took a book on Maven -- Maven Developer's Notebook - just to get started and to be comfortable using it, but found that examples in it --- not working, because it is intended to be used with Maven 1.x. While Maven 2 is complete re-write of version 1.x. Who has this book : can note the following : maven genapp -- does not work any more in M2. Any online e-copy of this book, which is upgraded to M2; available somewhere ? Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
[M2] documentaion bundled with binaries ?
Dear Maven users, It would be a plus for a M2 users, if HTML documentation can be bundled alogwith M2 binaries, becuase if someone is offline then he can still brainstorm things, by going through the proivided offline documentation! I am not sure, any one has raised this earlier! Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
KEYSTORES in M2 : is it possible to create / use KEYSTORE in M2 ?
Dear. Is it possible to create / use keystores in M2 ? Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: KEYSTORES in M2 : is it possible to create / use KEYSTORE in M2 ?
As you know, keystores can be created and manipulated using keytool in Java, which is used to store / verify the credentials etc in keystore. Use case I am thinking about is singing a jar using keystore stored entries. Regards, Jaikumar -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:35 PM To: Maven Users List Subject: Re: KEYSTORES in M2 : is it possible to create / use KEYSTORE in M2 ? Keystore for... what exactly? What's the use case/what are you trying to do exactly? Wayne On 4/6/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear. Is it possible to create / use keystores in M2 ? Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: KEYSTORES in M2 : is it possible to create / use KEYSTORE in M2 ?
Thanks Wayne. Got some initial idea. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 10:59 AM To: Maven Users List Subject: Re: KEYSTORES in M2 : is it possible to create / use KEYSTORE in M2 ? Ah, in that case, you are probably going to want to take a look at the following email thread: From: Mark Hewett [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Date: Mar 30, 2006 6:43 PM Subject: Re: [M2] How to sign a jar file Mark included his pom.xml which includes specifics for how his group is signing jars etc. Wayne On 4/6/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: As you know, keystores can be created and manipulated using keytool in Java, which is used to store / verify the credentials etc in keystore. Use case I am thinking about is singing a jar using keystore stored entries. Regards, Jaikumar -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:35 PM To: Maven Users List Subject: Re: KEYSTORES in M2 : is it possible to create / use KEYSTORE in M2 ? Keystore for... what exactly? What's the use case/what are you trying to do exactly? Wayne On 4/6/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear. Is it possible to create / use keystores in M2 ? Regards. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: SCM plugin for MKS SI in M2
Fine for me. Subscribed to [EMAIL PROTECTED] -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 1:25 PM To: Maven Users List Subject: Re: SCM plugin for MKS SI in M2 If you want to start to write a MKS provider for Maven-SCM, you're welcome. Subscribe to maven scm developer list([EMAIL PROTECTED]) and we'll help you to start. Emmanuel Sharma, Jaikumar a écrit : Oops! Typo. It would be really helpful to lots of people, if somebody can take the initiative! -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 10:53 AM To: Maven Users List Subject: Re: SCM plugin for MKS SI in M2 There was some discussion about implementing MKS maven-scm-provider, but the implementation has never surfaced. -D On 4/4/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, Has anyone of you come across / or have info about MKS Source Integrity plugin for M2 ? http://www.mks.com http://www.mks.com Thanks for your help! - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
SCM plugin for MKS SI in M2
Dear Maven users, Has anyone of you come across / or have info about MKS Source Integrity plugin for M2 ? http://www.mks.com http://www.mks.com Thanks for your help! - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: SCM plugin for MKS SI in M2
I would be really helpful to lots of people, if somebody can take the initiative! -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 10:53 AM To: Maven Users List Subject: Re: SCM plugin for MKS SI in M2 There was some discussion about implementing MKS maven-scm-provider, but the implementation has never surfaced. -D On 4/4/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, Has anyone of you come across / or have info about MKS Source Integrity plugin for M2 ? http://www.mks.com http://www.mks.com Thanks for your help! - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: SCM plugin for MKS SI in M2
Oops! Typo. It would be really helpful to lots of people, if somebody can take the initiative! -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 10:53 AM To: Maven Users List Subject: Re: SCM plugin for MKS SI in M2 There was some discussion about implementing MKS maven-scm-provider, but the implementation has never surfaced. -D On 4/4/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, Has anyone of you come across / or have info about MKS Source Integrity plugin for M2 ? http://www.mks.com http://www.mks.com Thanks for your help! - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. ___ [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. ___ project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdtest/artifactId packagingpom/packaging nametest/name version4.0/version properties subsystem.home${basedir}/subsystem.home /properties plugins plugin groupIdorg.apache.maven.plugins.maven-archetype-plugin.1.0-alpha-3/groupI d artifactIdmaven-archetype-plugin-1.0-alpha-3.jar/artifactId version1.0-alpha-3/version /plugin plugin groupIdorg.apache.maven.plugins.maven-compiler-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-install-plugin.2.1/groupId artifactIdmaven-install-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-jar-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-resources-plugin.2.1/groupId artifactIdmaven-resources-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-surefire-plugin.2.1.2/groupId artifactIdmaven-compiler-plugin-2.1.2.jar/artifactId version2.1.2/version /plugin /plugins organization namemy company/name urlhttp://www.mycompany.com/url /organization modules module${basedir}/java/BusinessLogic//module module${basedir}/java/ClientUI//module /modules build sourceDirectory${basedir}/java/BusinessLogic/src//sourceDirectory outputDirectory${basedir}/java/BusinessLogic/classes//outputDirectory sourceDirectory${basedir}/java/ClientUI//sourceDirectory outputDirectory${basedir}/java/ClientUI/classes//outputDirectory defaultGoalcompile/defaultGoal /build /project - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
After copying the plugins section inside the build section, same error is there, even IE is able to parse this XML file correctly, does not show any problems. Any Idea ? Regards. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:14 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Your plugins section is not inside the build section. An XML aware editor could help you there :) On 4/3/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. __ _ [INFO] Scanning for projects... [INFO] -- -- [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. __ _ project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdtest/artifactId packagingpom/packaging nametest/name version4.0/version properties subsystem.home${basedir}/subsystem.home /properties plugins plugin groupIdorg.apache.maven.plugins.maven-archetype-plugin.1.0-alpha-3/ groupI d artifactIdmaven-archetype-plugin-1.0-alpha-3.jar/artifactId version1.0-alpha-3/version /plugin plugin groupIdorg.apache.maven.plugins.maven-compiler-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-install-plugin.2.1/groupId artifactIdmaven-install-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-jar-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-resources-plugin.2.1/groupId artifactIdmaven-resources-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-surefire-plugin.2.1.2/groupId artifactIdmaven-compiler-plugin-2.1.2.jar/artifactId version2.1.2/version /plugin /plugins organization namemy company/name urlhttp://www.mycompany.com/url /organization modules module${basedir}/java/BusinessLogic//module module${basedir}/java/ClientUI//module /modules build sourceDirectory${basedir}/java/BusinessLogic/src//sourceDirectory outputDirectory${basedir}/java/BusinessLogic/classes//outputDirecto ry sourceDirectory${basedir}/java/ClientUI//sourceDirectory outputDirectory${basedir}/java/ClientUI/classes//outputDirectory defaultGoalcompile/defaultGoal /build /project __ __ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. -- Alexandre Poitras Québec, Canada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you
RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
Thanks Allison, I would validate it first. -Original Message- From: Allison, Bob [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:35 PM To: Maven Users List Subject: RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) IE doesn't VALIDATE to XML, just display it. -Original Message- From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 07:00 To: Maven Users List Subject: RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) After copying the plugins section inside the build section, same error is there, even IE is able to parse this XML file correctly, does not show any problems. Any Idea ? Regards. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:14 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Your plugins section is not inside the build section. An XML aware editor could help you there :) On 4/3/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. __ _ [INFO] Scanning for projects... [INFO] -- -- [ERROR] FATAL ERROR [INFO] -- -- [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. __ _ project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdtest/artifactId packagingpom/packaging nametest/name version4.0/version properties subsystem.home${basedir}/subsystem.home /properties plugins plugin groupIdorg.apache.maven.plugins.maven-archetype-plugin.1.0-alpha-3/ groupI d artifactIdmaven-archetype-plugin-1.0-alpha-3.jar/artifactId version1.0-alpha-3/version /plugin plugin groupIdorg.apache.maven.plugins.maven-compiler-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-install-plugin.2.1/groupId artifactIdmaven-install-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-jar-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-resources-plugin.2.1/groupId artifactIdmaven-resources-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-surefire-plugin.2.1.2/groupId artifactIdmaven-compiler-plugin-2.1.2.jar/artifactId version2.1.2/version /plugin /plugins organization namemy company/name urlhttp://www.mycompany.com/url /organization modules module${basedir}/java/BusinessLogic//module module${basedir}/java/ClientUI//module /modules build sourceDirectory${basedir}/java/BusinessLogic/src//sourceDirectory outputDirectory${basedir}/java/BusinessLogic/classes//outputDirecto ry sourceDirectory${basedir}/java/ClientUI//sourceDirectory outputDirectory${basedir}/java/ClientUI/classes//outputDirectory defaultGoalcompile/defaultGoal /build /project __ __ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact
RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
Yes Alexandre, I also believe so. Thanks. As I tried to remove the one closing tag, and IE came with an Error. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:55 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) IE validate XML syntax, but don't validate its content using the DTD. Open it in something like Eclipse WTP XML editor or any another XML editor, it will save you a lot of time. On 4/3/06, Allison, Bob [EMAIL PROTECTED] wrote: IE doesn't VALIDATE to XML, just display it. -Original Message- From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 07:00 To: Maven Users List Subject: RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) After copying the plugins section inside the build section, same error is there, even IE is able to parse this XML file correctly, does not show any problems. Any Idea ? Regards. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:14 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Your plugins section is not inside the build section. An XML aware editor could help you there :) On 4/3/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. __ _ [INFO] Scanning for projects... [INFO] -- -- [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. __ _ project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdtest/artifactId packagingpom/packaging nametest/name version4.0/version properties subsystem.home${basedir}/subsystem.home /properties plugins plugin groupIdorg.apache.maven.plugins.maven-archetype-plugin.1.0-alpha-3 / groupI d artifactIdmaven-archetype-plugin-1.0-alpha-3.jar/artifactId version1.0-alpha-3/version /plugin plugin groupIdorg.apache.maven.plugins.maven-compiler-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-install-plugin.2.1/groupId artifactIdmaven-install-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-jar-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-resources-plugin.2.1/groupId artifactIdmaven-resources-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-surefire-plugin.2.1.2/groupId artifactIdmaven-compiler-plugin-2.1.2.jar/artifactId version2.1.2/version /plugin /plugins organization namemy company/name urlhttp://www.mycompany.com/url /organization modules module${basedir}/java/BusinessLogic//module module${basedir}/java/ClientUI//module /modules build sourceDirectory${basedir}/java/BusinessLogic/src//sourceDirectory outputDirectory${basedir}/java/BusinessLogic/classes//outputDirec to ry sourceDirectory${basedir}/java/ClientUI//sourceDirectory outputDirectory${basedir}/java/ClientUI/classes//outputDirectory defaultGoalcompile/defaultGoal /build /project __ __ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended
RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
Yes. Alexandre, this is because of copy / paste behaviour only :) -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:57 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) By the way, your namespaces declaration on the project element looks weird but maybe it is just because of a strange copy/paste behaviour. On 4/3/06, Alexandre Poitras [EMAIL PROTECTED] wrote: IE validate XML syntax, but don't validate its content using the DTD. Open it in something like Eclipse WTP XML editor or any another XML editor, it will save you a lot of time. On 4/3/06, Allison, Bob [EMAIL PROTECTED] wrote: IE doesn't VALIDATE to XML, just display it. -Original Message- From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 07:00 To: Maven Users List Subject: RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) After copying the plugins section inside the build section, same error is there, even IE is able to parse this XML file correctly, does not show any problems. Any Idea ? Regards. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:14 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Your plugins section is not inside the build section. An XML aware editor could help you there :) On 4/3/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. __ _ [INFO] Scanning for projects... [INFO] -- -- [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. __ _ project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdtest/artifactId packagingpom/packaging nametest/name version4.0/version properties subsystem.home${basedir}/subsystem.home /properties plugins plugin groupIdorg.apache.maven.plugins.maven-archetype-plugin.1.0-alpha -3/ groupI d artifactIdmaven-archetype-plugin-1.0-alpha-3.jar/artifactId version1.0-alpha-3/version /plugin plugin groupIdorg.apache.maven.plugins.maven-compiler-plugin.2.0/group Id artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-install-plugin.2.1/groupI d artifactIdmaven-install-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-jar-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-resources-plugin.2.1/groupId artifactIdmaven-resources-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-surefire-plugin.2.1.2/groupId artifactIdmaven-compiler-plugin-2.1.2.jar/artifactId version2.1.2/version /plugin /plugins organization namemy company/name urlhttp://www.mycompany.com/url /organization modules module${basedir}/java/BusinessLogic//module module${basedir}/java/ClientUI//module /modules build sourceDirectory${basedir}/java/BusinessLogic/src//sourceDirecto ry outputDirectory${basedir}/java/BusinessLogic/classes//outputDir ecto ry sourceDirectory${basedir}/java/ClientUI//sourceDirectory outputDirectory${basedir}/java/ClientUI/classes//outputDirector y defaultGoalcompile/defaultGoal /build /project
RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
Alexandre, I have validated this POM with XMLSpy (a validator) against the provided http://maven.apache.org/maven-v4_0_0.xsd . But still the same error. Any idea ? Regards, -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:57 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) By the way, your namespaces declaration on the project element looks weird but maybe it is just because of a strange copy/paste behaviour. On 4/3/06, Alexandre Poitras [EMAIL PROTECTED] wrote: IE validate XML syntax, but don't validate its content using the DTD. Open it in something like Eclipse WTP XML editor or any another XML editor, it will save you a lot of time. On 4/3/06, Allison, Bob [EMAIL PROTECTED] wrote: IE doesn't VALIDATE to XML, just display it. -Original Message- From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 07:00 To: Maven Users List Subject: RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) After copying the plugins section inside the build section, same error is there, even IE is able to parse this XML file correctly, does not show any problems. Any Idea ? Regards. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:14 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Your plugins section is not inside the build section. An XML aware editor could help you there :) On 4/3/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. __ _ [INFO] Scanning for projects... [INFO] -- -- [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. __ _ project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdtest/artifactId packagingpom/packaging nametest/name version4.0/version properties subsystem.home${basedir}/subsystem.home /properties plugins plugin groupIdorg.apache.maven.plugins.maven-archetype-plugin.1.0-alpha -3/ groupI d artifactIdmaven-archetype-plugin-1.0-alpha-3.jar/artifactId version1.0-alpha-3/version /plugin plugin groupIdorg.apache.maven.plugins.maven-compiler-plugin.2.0/group Id artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-install-plugin.2.1/groupI d artifactIdmaven-install-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-jar-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-resources-plugin.2.1/groupId artifactIdmaven-resources-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-surefire-plugin.2.1.2/groupId artifactIdmaven-compiler-plugin-2.1.2.jar/artifactId version2.1.2/version /plugin /plugins organization namemy company/name urlhttp://www.mycompany.com/url /organization modules module${basedir}/java/BusinessLogic//module module${basedir}/java/ClientUI//module /modules build sourceDirectory${basedir}/java/BusinessLogic/src//sourceDirecto ry outputDirectory${basedir}/java/BusinessLogic/classes//outputDir ecto ry sourceDirectory${basedir}/java/ClientUI//sourceDirectory outputDirectory${basedir}/java/ClientUI/classes//outputDirector y defaultGoalcompile/defaultGoal /build /project
RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
Great, and Thanks Mang Jun Lau, it works. Thanks again! Regards. -Original Message- From: Mang Jun Lau [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 7:18 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) modelVersion4.0/modelVersion needs to be modelVersion4.0.0/modelVersion instead. Try and see if that works. _Mang Lau Sharma, Jaikumar [EMAIL PROTECTED] 04/03/2006 06:20 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. ___ [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. ___ project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdtest/artifactId packagingpom/packaging nametest/name version4.0/version properties subsystem.home${basedir}/subsystem.home /properties plugins plugin groupIdorg.apache.maven.plugins.maven-archetype-plugin.1.0-alpha-3/gr oupI d artifactIdmaven-archetype-plugin-1.0-alpha-3.jar/artifactId version1.0-alpha-3/version /plugin plugin groupIdorg.apache.maven.plugins.maven-compiler-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-install-plugin.2.1/groupId artifactIdmaven-install-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-jar-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-resources-plugin.2.1/groupId artifactIdmaven-resources-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-surefire-plugin.2.1.2/groupId artifactIdmaven-compiler-plugin-2.1.2.jar/artifactId version2.1.2/version /plugin /plugins organization namemy company/name urlhttp://www.mycompany.com/url /organization modules module${basedir}/java/BusinessLogic//module module${basedir}/java/ClientUI//module /modules build sourceDirectory${basedir}/java/BusinessLogic/src//sourceDirectory outputDirectory${basedir}/java/BusinessLogic/classes//outputDirectory sourceDirectory${basedir}/java/ClientUI//sourceDirectory outputDirectory${basedir}/java/ClientUI/classes//outputDirectory defaultGoalcompile/defaultGoal /build /project - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage
RE: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
I do not mind it. As a standard practice names are always ordered, lastname, firstname, so this is true in my case too! So, you can call my first name as Jaikumar :) Thanks. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 04, 2006 3:03 AM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Mang Lay, you really have the eye of the tiger :) By the way, I was wondering what was your first name and your last name because I don't want to sound impolite ;) Asian names always confuse me, my japanese and korean friends were always making fun of me back in Vancouver. On 4/3/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Great, and Thanks Mang Jun Lau, it works. Thanks again! Regards. -Original Message- From: Mang Jun Lau [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 7:18 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) modelVersion4.0/modelVersion needs to be modelVersion4.0.0/modelVersion instead. Try and see if that works. _Mang Lau Sharma, Jaikumar [EMAIL PROTECTED] 04/03/2006 06:20 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. __ __ ___ [INFO] Scanning for projects... [INFO] -- -- [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. __ __ ___ project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdtest/artifactId packagingpom/packaging nametest/name version4.0/version properties subsystem.home${basedir}/subsystem.home /properties plugins plugin groupIdorg.apache.maven.plugins.maven-archetype-plugin.1.0-alpha-3/ gr oupI d artifactIdmaven-archetype-plugin-1.0-alpha-3.jar/artifactId version1.0-alpha-3/version /plugin plugin groupIdorg.apache.maven.plugins.maven-compiler-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-install-plugin.2.1/groupId artifactIdmaven-install-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-jar-plugin.2.0/groupId artifactIdmaven-compiler-plugin-2.0.jar/artifactId version2.0/version /plugin plugin groupIdorg.apache.maven.plugins.maven-resources-plugin.2.1/groupId artifactIdmaven-resources-plugin-2.1.jar/artifactId version2.1/version /plugin plugin groupIdorg.apache.maven.plugins.maven-surefire-plugin.2.1.2/groupId artifactIdmaven-compiler-plugin-2.1.2.jar/artifactId version2.1.2/version /plugin /plugins organization namemy company/name urlhttp://www.mycompany.com/url /organization modules module${basedir}/java/BusinessLogic//module module${basedir}/java/ClientUI//module /modules build sourceDirectory${basedir}/java/BusinessLogic/src//sourceDirectory outputDirectory${basedir}/java/BusinessLogic/classes//outputDirecto ry sourceDirectory${basedir}/java/ClientUI//sourceDirectory outputDirectory${basedir}/java/ClientUI/classes//outputDirectory defaultGoalcompile/defaultGoal /build /project __ __ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited
Referring parent POM in child POM
Dear Maven users, Newbie in M2; I have been using Ant for quite some time now, in Ant we can refer / import another Ant build script using 'import' statement; I want to know, how this could be accomplished in M2 ? Thanks for your help in advance! Regards, Jaikumar BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Referring parent POM in child POM
Thanks Wayne Fay. I would try this! -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Saturday, April 01, 2006 9:55 AM To: Maven Users List Subject: Re: Referring parent POM in child POM This is covered in the Getting Started with Maven documentation. Specifically, jump down to the Multiple Modules section. Essentially, you will need to use the parent tag in your children poms. http://maven.apache.org/getting-started.html Wayne On 3/31/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, Newbie in M2; I have been using Ant for quite some time now, in Ant we can refer / import another Ant build script using 'import' statement; I want to know, how this could be accomplished in M2 ? Thanks for your help in advance! Regards, Jaikumar BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: Referring parent POM in child POM
Thanks alexandre! -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Saturday, April 01, 2006 9:56 AM To: Maven Users List Subject: Re: Referring parent POM in child POM I guess you want to use import to reuse common configuration which usually done using a parent pom. Unfortunately, I think there is no official guide yet but do a search on parent pom in this list and you'll find tons of informations. Basically, you just need to add a parent/ element to your pom and your project pom will inherit the parent pom configuration values (those inheritable). On 3/31/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, Newbie in M2; I have been using Ant for quite some time now, in Ant we can refer / import another Ant build script using 'import' statement; I want to know, how this could be accomplished in M2 ? Thanks for your help in advance! Regards, Jaikumar BM__MailAutoSig_ Jaikumar Sharma Sr.Software Development Engineer Barco Control Rooms A-5, Sector - 5, Noida. India 201 301. Tel +91 120-2421-651 to 659 Ext.313 Fax+91 120 2421 691 http://www.barco.com/ http://www.barco.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. -- Alexandre Poitras Québec, Canada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.