Re: Developer name and CVS log information does not appear in changes section
Hi Emmanuel, and thank you as usual for your quick reply... If I run this command from my CVS log D:\build\continuum-1.0.3\apps\continuum\working-directory\2cvs -z3 -f -d :ext:c [EMAIL PROTECTED]:/home/cvs -q log -d 2006-07-06T16:00:08+0200 from the command line, I get the following result RCS file: /home/cvs/SANDBOX/events/xdocs/navigation.xml,v Working file: xdocs/navigation.xml head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: k total revisions: 2; selected revisions: 0 description: = etc... This is my continuum log: 581750 [Thread-2] INFO org.apache.maven.scm.manager.ScmManager - Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q update -d 581750 [Thread-2] INFO org.apache.maven.scm.manager.ScmManager - Working directory: D:\build\continuum-1.0.3\apps\continuum\working-directory\2 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? app/target 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? app/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? common/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? core/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? mda/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? web/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? webservice/xdocs 582922 [Thread-2] INFO org.apache.maven.scm.manager.ScmManager - Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q log -d '2006-07-06T16:00:08+0200' 582922 [Thread-2] INFO org.apache.maven.scm.manager.ScmManager - Working directory: D:\build\continuum-1.0.3\apps\continuum\working-directory\2 583703 [Thread-2] INFO org.apache.maven.continuum.scm.ContinuumScm - Updated 7 files. The only thing I notice is that in the log file the date dimestamp is marked with both quotes and double quotes ' '. Maybe it's a CVS configuration issue? Thanks again, Carlo Emmanuel Venisse wrote: it seems to be ok. Can you run this command: cvs -z3 -f -d YOUR_CVS_ROOT -q log -d 20060706T13:00:0020060706T15:00:00 or the similar command from your continuum logs Emmanuel
Re: Developer name and CVS log information does not appear in changes section
Can you test with bothe quote/double quotes like the command executed by continuum. Emmanuel Carlo Bonamico a écrit : Hi Emmanuel, and thank you as usual for your quick reply... If I run this command from my CVS log D:\build\continuum-1.0.3\apps\continuum\working-directory\2cvs -z3 -f -d :ext:c [EMAIL PROTECTED]:/home/cvs -q log -d 2006-07-06T16:00:08+0200 from the command line, I get the following result RCS file: /home/cvs/SANDBOX/events/xdocs/navigation.xml,v Working file: xdocs/navigation.xml head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: k total revisions: 2; selected revisions: 0 description: = etc... This is my continuum log: 581750 [Thread-2] INFO org.apache.maven.scm.manager.ScmManager - Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q update -d 581750 [Thread-2] INFO org.apache.maven.scm.manager.ScmManager - Working directory: D:\build\continuum-1.0.3\apps\continuum\working-directory\2 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? app/target 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? app/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? common/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? core/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? mda/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? web/xdocs 582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager - ? webservice/xdocs 582922 [Thread-2] INFO org.apache.maven.scm.manager.ScmManager - Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q log -d '2006-07-06T16:00:08+0200' 582922 [Thread-2] INFO org.apache.maven.scm.manager.ScmManager - Working directory: D:\build\continuum-1.0.3\apps\continuum\working-directory\2 583703 [Thread-2] INFO org.apache.maven.continuum.scm.ContinuumScm - Updated 7 files. The only thing I notice is that in the log file the date dimestamp is marked with both quotes and double quotes ' '. Maybe it's a CVS configuration issue? Thanks again, Carlo Emmanuel Venisse wrote: it seems to be ok. Can you run this command: cvs -z3 -f -d YOUR_CVS_ROOT -q log -d 20060706T13:00:0020060706T15:00:00 or the similar command from your continuum logs Emmanuel
Re: How to specify diff name to pom file
If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. It isn't supported by continuum. When you Continuum try to find all sub-modules poms, it generate the path to it with module name and pom.xml Why don't you use pom.xml? Emmanuel Kapil Gupta(CT) a écrit : Hi Emmanuel, My parent pom contains following sub module entry. modules moduleCommon/Common/module /modules I received the following error while uploading pom named my_custom_pom.xml 5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 13:45 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file Hmm, strange. Can you send your logs about it? Emmanuel Kapil Gupta(CT) a écrit : Hi, Can I specify a different name to my parent pom file, say my_custom_pom_file.xml. When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta
RE: How to specify diff name to pom file
Emmanuel, my parent pom name is my_custom_pom.xml and it contains path to common\common\pom.xml. I have to use the custom name for my parent pom as there are other parent pom files for building different modules. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 14:03 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. It isn't supported by continuum. When you Continuum try to find all sub-modules poms, it generate the path to it with module name and pom.xml Why don't you use pom.xml? Emmanuel Kapil Gupta(CT) a écrit : Hi Emmanuel, My parent pom contains following sub module entry. modules moduleCommon/Common/module /modules I received the following error while uploading pom named my_custom_pom.xml 5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 13:45 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file Hmm, strange. Can you send your logs about it? Emmanuel Kapil Gupta(CT) a écrit : Hi, Can I specify a different name to my parent pom file, say my_custom_pom_file.xml. When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta
Re: How to specify diff name to pom file
5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. I don't see where it is truncated. your my_custom_pom.xml is under E:\Shared\Development\my_custom\ right? What is the correct url to use for your module? Emmanuel Kapil Gupta(CT) a écrit : Emmanuel, my parent pom name is my_custom_pom.xml and it contains path to common\common\pom.xml. I have to use the custom name for my parent pom as there are other parent pom files for building different modules. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 14:03 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. It isn't supported by continuum. When you Continuum try to find all sub-modules poms, it generate the path to it with module name and pom.xml Why don't you use pom.xml? Emmanuel Kapil Gupta(CT) a écrit : Hi Emmanuel, My parent pom contains following sub module entry. modules moduleCommon/Common/module /modules I received the following error while uploading pom named my_custom_pom.xml 5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 13:45 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file Hmm, strange. Can you send your logs about it? Emmanuel Kapil Gupta(CT) a écrit : Hi, Can I specify a different name to my parent pom file, say my_custom_pom_file.xml. When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta
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.
How to specify diff name to pom file
Hi, Can I specify a different name to my parent pom file, say my_custom_pom_file.xml. When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta
Re: How to specify diff name to pom file
Hmm, strange. Can you send your logs about it? Emmanuel Kapil Gupta(CT) a écrit : Hi, Can I specify a different name to my parent pom file, say my_custom_pom_file.xml. When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta
Re: [jira] Updated: (MNG-2060) antlib:deploy doesn't set correct snapshot version
Hi mailinglist, where can I find the RoadMap for maven 2.1? Is there a plan when it should be finished? MArtin 2006/6/22, John Casey (JIRA) [EMAIL PROTECTED]: [ http://jira.codehaus.org/browse/MNG-2060?page=all ] John Casey updated MNG-2060: Fix Version: 2.1 antlib:deploy doesn't set correct snapshot version -- Key: MNG-2060 URL: http://jira.codehaus.org/browse/MNG-2060 Project: Maven 2 Type: Bug Components: Ant tasks Versions: 2.0.2 Environment: win xp, mvn 2.0.2, ant 1.6.5 Reporter: Michal Stochmialek Fix For: 2.1 I'm trying to deploy to maven remote repository jars produced by ant. Those jars are in snapshot version. Whole deployment process is going properly, but something is wrong with names of deployed files. When I'm deploying artifacts using normal 'maven deploy', SNAPSHOT in the name is replaced by the current timestamp and the snapshot number (for instance: 20060105.123437-3). But when I'm deploying with antlib, the name isn't changed. SNAPSHOT is still in the name. And when I deploy snapshot again, the old one is replaced by the new one (which also different from behavior of normal 'mvn deploy'). The metadata.xml also is generated incorrectly. Timestamp in snapshot tag is missing: ?xml version=1.0 encoding=UTF-8?metadata groupIdfoo/groupId artifactIdfoo-jar1/artifactId version1.0-SNAPSHOT/version versioning snapshot buildNumber4/buildNumber /snapshot lastUpdated20060209111228/lastUpdated /versioning /metadata Here's an fragment of my ant script: target name=maven-poms artifact:pom id=pom.jar1-jar file=maven/pom-jar1-jar.xml / artifact:pom id=pom.jar2-jar file=maven/pom-jar2-jar.xml / artifact:pom id=pom.jar3-jar file=maven/pom-jar3--jar.xml / /target target name=maven-install-local depends=maven-poms,generate-jars artifact:install file=${build.dir}/jar1.jar pom refid=pom.jar1-jar/ /artifact:install artifact:install file=${build.dir}/jar2.jar pom refid=pom.jar2-jar/ /artifact:install artifact:install file=${build.dir}/jar3.jar pom refid=pom.jar3-jar/ /artifact:install /target target name=maven-deploy-remote depends=maven-install-local artifact:install-provider artifactId=wagon-ssh version=1.0-alpha-5/ artifact:deploy file=${build.dir}/jar1.jar pom refid=pom.jar1-jar/ /artifact:deploy artifact:deploy file=${build.dir}/jar2.jar pom refid=pom.jar2-jar/ /artifact:deploy artifact:deploy file=${build.dir}/jar3.jar pom refid=pom.jar3-jar/ /artifact:deploy /target The artifacts poms are in separate files which contain only artifactId, groupId, version, dependencies and remote repository url. I also tried to deploy using 'mvn -f pom-file.xml deploy' to check if my repository url is specified correctly. And it works. Jar is deployed to remote repository with correct version. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Parse error reading POM. Reason: parser must be on START_TAG or TEXT
mvn validate On 7/9/06, Eric Redmond [EMAIL PROTECTED] wrote: There is an XML validator incubating in Mojo: http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/xml-maven-plugin/ I have no idea how active it is, however. Thanks; Eric On 7/9/06, Dennis Lundberg [EMAIL PROTECTED] wrote: Wendy Smoak wrote: On 7/8/06, Aron Smith [EMAIL PROTECTED] wrote: It appears mavens site builder doesnt read my pom.xml - though all the other utilities (compiles, package, filter etc.) are fine. It *is* valid XML (pom.xml follows stacktrace) It doesn't validate against the schema. The filters element is out of place, move it outside of the resources element. * http://maven.apache.org/ref/current/maven-model/maven.html Is there a feature in M2 to explicitly validate the pom against the schema? In M1 you could do: maven pom:validate -- Dennis Lundberg - 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: How to specify diff name to pom file
Hi Emmanuel, My parent pom contains following sub module entry. modules moduleCommon/Common/module /modules I received the following error while uploading pom named my_custom_pom.xml 5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 13:45 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file Hmm, strange. Can you send your logs about it? Emmanuel Kapil Gupta(CT) a écrit : Hi, Can I specify a different name to my parent pom file, say my_custom_pom_file.xml. When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta
[m2] maven.ui
Hey all, Whats the plugin for configuring all the UI and xdoc stuff? maven.xdoc.date=left? maven.license.licenseFile=${basedir}/../LICENSE.txt? maven.ui.body.background=white? # FAQ maven.faq.src.file=${basedir}/../xdocs/faq.fml? # Provided documentation maven.docs.src=${basedir}/xdocs? -- View this message in context: http://www.nabble.com/-m2--maven.ui-tf1917042.html#a5248069 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Creating uplaod bundle for multi-module project
Hi, I tried to follow guide-ibiblio-upload.html , but it doesn't work with multi-module project: mvn source:jar javadoc:jar repository:bundle-create Packaging cannot be POM when creating an upload bundle. I tried to build an upload bundle for each modules, but their pom refer to parent pom, and I don't know what I should package for parent (not the complete pom I guess?). Any idea ?
RE: How to specify diff name to pom file
My my_custom_pom.xml is in E:\Shared\Development folder and the Common\Common module is in E:\Shared\Development\Common\Common folder and it contains pom.xml -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 15:19 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file 5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. I don't see where it is truncated. your my_custom_pom.xml is under E:\Shared\Development\my_custom\ right? What is the correct url to use for your module? Emmanuel Kapil Gupta(CT) a écrit : Emmanuel, my parent pom name is my_custom_pom.xml and it contains path to common\common\pom.xml. I have to use the custom name for my parent pom as there are other parent pom files for building different modules. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 14:03 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. It isn't supported by continuum. When you Continuum try to find all sub-modules poms, it generate the path to it with module name and pom.xml Why don't you use pom.xml? Emmanuel Kapil Gupta(CT) a écrit : Hi Emmanuel, My parent pom contains following sub module entry. modules moduleCommon/Common/module /modules I received the following error while uploading pom named my_custom_pom.xml 5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 13:45 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file Hmm, strange. Can you send your logs about it? Emmanuel Kapil Gupta(CT) a écrit : Hi, Can I specify a different name to my parent pom file, say my_custom_pom_file.xml. When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta
Re: Build time classpath using my java plugin
TimHedger wrote: I've written a plugin (in Java) that explicitly invokes the main method of a Java class directly from within the jvm that maven is already running. My plugin is behaving/configured as I expect, but I have a classpath problem when control switches from my plugin code to the main method of the Java class it invokes. Seems like you have implemented the exec-maven-plugin [1]. I use the following method to print the classpath before I invoke the main method on my target class: project.getCompileClasspathElements(); (where project is MavenProject) And I get the list of jars I expect, including: /home/hedgert/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar which is the copy of javax.servlet that I have in my local maven repository. Great - so far so good. I invoke the main method of my target class and the code runs and then falls over with a: java.lang.NoClassDefFoundError: javax/servlet/ServletException If I check the contents of my servlet-api-2.4.jar: : jar -tf /home/hedgert/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar |grep ServletException javax/servlet/ServletException.class The missing class is indeed in the jar that is on the classpath. So presumably the classpath I'm getting back from: project.getCompileClasspathElements(); is not actually the classpath in operation when I invoke the main method on my class from within a running JVM. So my question is: maven has nicely worked out the classpath I need (using the dependencies in my pom.xml file for my target project, rather than my plugin), how do I get this classpath be active in the running JVM? You don't. The classpath that the plugin is running in contains all dependencies of the plugin, not the project. If you want to do something with the project's classpath you will have to create a classloader from the list you're referring to. [1]: http://mojo.codehaus.org/exec-maven-plugin/ -- Trygve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to specify diff name to pom file
Ok. Thanks for your quick reply. Thanks Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 15:48 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file ok, I understand now :) It's a bug. We take the current url and we substring it with /pom.xml.length() Please file an issue and we'll fix it in the next version. Emmanuel Kapil Gupta(CT) a écrit : My my_custom_pom.xml is in E:\Shared\Development folder and the Common\Common module is in E:\Shared\Development\Common\Common folder and it contains pom.xml -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 15:19 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file 5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. I don't see where it is truncated. your my_custom_pom.xml is under E:\Shared\Development\my_custom\ right? What is the correct url to use for your module? Emmanuel Kapil Gupta(CT) a écrit : Emmanuel, my parent pom name is my_custom_pom.xml and it contains path to common\common\pom.xml. I have to use the custom name for my parent pom as there are other parent pom files for building different modules. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 14:03 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. It isn't supported by continuum. When you Continuum try to find all sub-modules poms, it generate the path to it with module name and pom.xml Why don't you use pom.xml? Emmanuel Kapil Gupta(CT) a écrit : Hi Emmanuel, My parent pom contains following sub module entry. modules moduleCommon/Common/module /modules I received the following error while uploading pom named my_custom_pom.xml 5512622 [SocketListener0-0] INFO org.apache.maven.continuum.Continuum - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) See that it truncated last four characters from the parent pom name. Regards, Kapil -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 13:45 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file Hmm, strange. Can you send your logs about it? Emmanuel Kapil Gupta(CT) a écrit : Hi, Can I specify a different name to my parent pom file, say my_custom_pom_file.xml. When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta
#CVS.lock error on building project
Hi I am facing this error while trying to build my project. The error does not appears on deleting the project from working directory and building it again. My scm tag contains entry to my project directory in CVS. Provider message: The cvs command failed. Command output: --- cvs update: failed to create lock directory for `/export/cvsrnd' (/export/cvsrnd/#cvs.lock): Permission denied cvs update: failed to obtain dir lock in repository `/export/cvsrnd' cvs [update aborted]: read lock failed - giving up Regards, Kapil Gupta Tech Lead - RD Core Technologies - Enterprise Quark Media House India Pvt. Ltd. A-45, Phase VIII-B, Industrial Area Mohali - 160059, Punjab, India Phone: +91.172.229.9420 Fax: +91.172.223.7414 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.quark.com CONFIDENTIALITY NOTICE This e-mail transmission and any documents, files, or previous e-mail messages appended or attached to it, may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution, or use of the information contained or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender by telephone +91.172.229.9420 or return e-mail message [EMAIL PROTECTED] and delete the original transmission, its attachments, and any copies without reading or saving in any manner. Thank you.
Change config of plugin outside of pom.xml
Hallo, what is the best way to change a plugin config outside of the POM, so developers can add some properties without the need to checkout/change the pom of the project. So I have a plugin with a config like plugin groupIdfoo/groupId artifactIdmyplugin/artifactId configuration jvargs jvarg-Xms512m/jvarg /jvargs /configuration /plugin and a developer likes to add an additional jvarg-Xdebug/jvarg Under http://maven.apache.org/guides/introduction/introduction-to-profiles.html I found this sentence, but I don't understand it: The properties section allows you to specify free-form key-value pairs which will be included in the interpolation process for the POM. This allows you to specify a plugin configuration in the form of ${profile.provided.path}. Does it mean I can add some property to my settings.xml like build.plugin.foo.configuration.jvargs.jvarg-Xdebug/... ?! Regards, carsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FTP via Maven?
Nap, Thanks for the information summary on how to use ftp, I too struggled some time ago to get all this to work. I have a couple of comments, questions regarding this. - It seems that ftp is a second class transport, why is this? I don't recall needing this much configuration if using scp for example. Why can't ftp be as simple as scp? - The maven2 documentation is lacking as to why you would do something. In your provided links there is a section explaining how to deploy a 3rd party jar with a generic POM. What the documentation doesn't explain is why you would or would not want this. -dh -Original Message- From: Napoleon Esmundo Ramirez [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 1:59 AM To: Maven Users List Subject: Re: FTP via Maven? Hello, You could manually fetch those jars from ftp and install it in your local repo (http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html) or deploy it in an internal repo ( http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html), so you could normally declare those artifacts in your pom.xml. Or maybe this could be useful too: http://maven.apache.org/guides/mini/guide-deploy-ftp.html Cheers! Nap On 7/7/06, Chris Wall [EMAIL PROTECTED] wrote: Hey there. We're dependent on jars from a non-Maven project. The jars are available via FTP. Has anyone come up w/ an eloquent way of integrating FTP within Maven? I'd like to manage the dependencies and configure FTP settings within pom.xml. -Chris ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven-scm-plugin goals question
They coorespond to svn commands. See any svn book or manual. -Original Message- From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 3:09 AM To: Maven Users List Subject: 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. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hibernate uploads to ibiblio
Hi there, Is there anybody officially supporting hibernate artifact uploading to ibiblio? I've successfully run some tests using TestNG and Hibernate EntityManager under Eclipse, but I would need hibernate-entitymanager in ibiblio in order to do it under maven. Best regards Jose
Re: Hibernate uploads to ibiblio
there's no official uploader so you can do it yourself following http://maven.apache.org/guides/mini/guide-ibiblio-upload.html On 7/10/06, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: Hi there, Is there anybody officially supporting hibernate artifact uploading to ibiblio? I've successfully run some tests using TestNG and Hibernate EntityManager under Eclipse, but I would need hibernate-entitymanager in ibiblio in order to do it under maven. Best regards Jose -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Super POM
Hi All, I'm new to Maven and am struggling to create a super pom. I am involved in a project which has a number of sub projects and would like to have a super pom for the general configs, which are inherited by the sub projects. The problem is that I can create a super pom by hand, but when I reference it using parent/ the sub project goes of to the repo to download... I just wanted a super pom that I could use to set project wide configs. I tried various params with mvn archetype:create but no luck. Could someone please point me in the right direction. Many thanks in advance. -- Viz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Super POM
sorry, in the local repo it's mvn install for a remote repo it's mvn deploy Arnaud On 7/10/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: The parent POM must be deployed in your local repository to allow yours subprojects to find it. You just have to do : mvn deploy in the superPOM directory Arnaud On 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I'm new to Maven and am struggling to create a super pom. I am involved in a project which has a number of sub projects and would like to have a super pom for the general configs, which are inherited by the sub projects. The problem is that I can create a super pom by hand, but when I reference it using parent/ the sub project goes of to the repo to download... I just wanted a super pom that I could use to set project wide configs. I tried various params with mvn archetype:create but no luck. Could someone please point me in the right direction. Many thanks in advance. -- Viz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Properties available in filtering etc
Hi! Is there a complete reference of properties available when for filtering etc? E.g. java.* (.version etc) project.* (version, name etc) and so on It would come in very handy and I currently don't know what information is available. Regards, Jimisola -- View this message in context: http://www.nabble.com/Properties-available-in-filtering-etc-tf1918360.html#a5251495 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can Maven perform filtering on Java files
Hi! Can Maven perform filtering on regular Java files under e.g. main/java or is filtering limited to resources only (such as src/main/resources/..)? Regards, Jimisola -- View this message in context: http://www.nabble.com/Can-Maven-perform-filtering-on-Java-files-tf1918375.html#a5251545 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Super POM
Viz Heres one I have setup... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.company/groupId artifactIdcompany/artifactId version1/version packagingpom/packaging nameNexus Alpha Ltd/name description /description organization nameCompany Name/name urlhttp://www.company.com//url /organization urlhttp://www.company.com//url distributionManagement repository idinternal-released/id urlscp://192.168.6.194/var/mvn/internal-released/url /repository snapshotRepository idinternal-snapshot/id urlscp://192.168.6.194/var/mvn/internal-snapshot/url /snapshotRepository /distributionManagement /project Now I have release this to my internal repo, but i guess you could just install it to your local repo. Also you could have a project that has modules. like the following dir structure myproject myproject/pom.xml myproject/module1/pom.xml myproject/module2/pom.xml the top level pom would contain your global settings and the modules element modules modulemodule1/module modulemodule2/module /modules Im still new to maven 2 also but i hope this gives you some ideas. Ben On 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I'm new to Maven and am struggling to create a super pom. I am involved in a project which has a number of sub projects and would like to have a super pom for the general configs, which are inherited by the sub projects. The problem is that I can create a super pom by hand, but when I reference it using parent/ the sub project goes of to the repo to download... I just wanted a super pom that I could use to set project wide configs. I tried various params with mvn archetype:create but no luck. Could someone please point me in the right direction. Many thanks in advance. -- Viz - 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: Super POM
Hi Arnuad, When I create the new project for the super pom what archetypeArtefactId should I use? Kind regards, -- Viz -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 14:12 To: Maven Users List Subject: Re: Super POM sorry, in the local repo it's mvn install for a remote repo it's mvn deploy Arnaud On 7/10/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: The parent POM must be deployed in your local repository to allow yours subprojects to find it. You just have to do : mvn deploy in the superPOM directory Arnaud On 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I'm new to Maven and am struggling to create a super pom. I am involved in a project which has a number of sub projects and would like to have a super pom for the general configs, which are inherited by the sub projects. The problem is that I can create a super pom by hand, but when I reference it using parent/ the sub project goes of to the repo to download... I just wanted a super pom that I could use to set project wide configs. I tried various params with mvn archetype:create but no luck. Could someone please point me in the right direction. Many thanks in advance. -- Viz - 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: Super POM
I built (myslef) 2.1 yesterday and relativePath is not working. So is this bug only commited to 2.0.5 branch? On 7/10/06, Carsten Karkola [EMAIL PROTECTED] wrote: There was a Bug that is fixed in 2.0.5 (I'm waiting for the public release, to try it out :-) ): http://jira.codehaus.org/browse/MNG-2308 The super-Pom should also be found vi parent-entries if it is one dir up or the relativePath entry is specified. regards, carsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multi module versioning - how to?
I have a multi-module project. in my aggregator module I declare smthg like this: version0.2-SNAPSHOT/version modelVersion4.0.0/modelVersion packagingpom/packaging modules module../lawnet-web-core/module module../lawnet-web-jcomp/module /modules and in lawnet-web-core and lawnet-web-jcomp poms no version is specified. when I run mvn command I get [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] An invalid artifact was detected. This artifact might be in your project's POM, or it might have been included tra nsitively during the resolution process. Here is the information we do have for this artifact: o GroupID: edu.columbia.law.lawnet o ArtifactID: lawnet-web-core o Version: MISSING o Type:war Any ideas? maven's version is latest from CVS as of Saturday Jul 8, 2006. -- Thanks, Alex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Super POM
Hey Everyone, Done it - Really appreaciate the help! Kind regards, -- Viz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ben short Sent: 10 July 2006 14:19 To: Maven Users List Subject: Re: Super POM Viz Heres one I have setup... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.company/groupId artifactIdcompany/artifactId version1/version packagingpom/packaging nameNexus Alpha Ltd/name description /description organization nameCompany Name/name urlhttp://www.company.com//url /organization urlhttp://www.company.com//url distributionManagement repository idinternal-released/id urlscp://192.168.6.194/var/mvn/internal-released/url /repository snapshotRepository idinternal-snapshot/id urlscp://192.168.6.194/var/mvn/internal-snapshot/url /snapshotRepository /distributionManagement /project Now I have release this to my internal repo, but i guess you could just install it to your local repo. Also you could have a project that has modules. like the following dir structure myproject myproject/pom.xml myproject/module1/pom.xml myproject/module2/pom.xml the top level pom would contain your global settings and the modules element modules modulemodule1/module modulemodule2/module /modules Im still new to maven 2 also but i hope this gives you some ideas. Ben On 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I'm new to Maven and am struggling to create a super pom. I am involved in a project which has a number of sub projects and would like to have a super pom for the general configs, which are inherited by the sub projects. The problem is that I can create a super pom by hand, but when I reference it using parent/ the sub project goes of to the repo to download... I just wanted a super pom that I could use to set project wide configs. I tried various params with mvn archetype:create but no luck. Could someone please point me in the right direction. Many thanks in advance. -- Viz - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multi module versioning - how to?
Do the module lawnet-web-core's pom.xml defines a parent ? if no, it must define a version. hope this helps. Raphaël PS : i haven't find a link to a doc explaining the multi modules builds with parents. 2006/7/10, Alex Shneyderman [EMAIL PROTECTED]: I have a multi-module project. in my aggregator module I declare smthg like this: version0.2-SNAPSHOT/version modelVersion4.0.0/modelVersion packagingpom/packaging modules module../lawnet-web-core/module module../lawnet-web-jcomp/module /modules and in lawnet-web-core and lawnet-web-jcomp poms no version is specified. when I run mvn command I get [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] An invalid artifact was detected. This artifact might be in your project's POM, or it might have been included tra nsitively during the resolution process. Here is the information we do have for this artifact: o GroupID: edu.columbia.law.lawnet o ArtifactID: lawnet-web-core o Version: MISSING o Type:war Any ideas? maven's version is latest from CVS as of Saturday Jul 8, 2006. -- Thanks, Alex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to include html files in webapp
Hi, did you really use the build war-plugin like plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0/version /plugin ?. I use this and it works fine for me. Just put any file (html / Jsp) in webapp folder and it will be packed correctly. Hope this will help. Juergen -- View this message in context: http://www.nabble.com/how-to-include-html-files-in-webapp-tf1908315.html#a5252480 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Interrnal remote repository
Did you specify your internal repo as a plugin repository in your settings.xml/pom.xml? EJ Ciramella schrieb: Can someone tell me please if this is how I should be installing? Taking jars/poms from my .m2 directory and using the following command to install them into the remote repository? If so, why maven 2 builds going to repo1 still for all kinds of plugins (scroll down)? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 10:37 PM To: Maven Users List Subject: RE: Interrnal remote repository I'm using the following syntax; mvn deploy:deploy-file -DgroupId=gid -DartifactId=aid -Dversion=version -Dpackaging=pkgtype -Dfile=file -DrepositoryId=central -Durl=url This is how I'm installing to my internal remote repository. Doesn't this generate all the metadata info? -Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 2:03 PM To: Maven Users List Subject: Re: Interrnal remote repository EJ Ciramella [EMAIL PROTECTED] writes: Could you elaborate? I'm kinda a maven noob. Information about plugins is kept in metadata files in the repo so that they can be resolved. Not sure in your particular case but: - check your local repository (maybe try removing the artefact that cannot be resolved) - check metadata files in the remote repository (in the group directory I think - BTW, the correct (I think) groupId syntax is dot-separated In my case, I had the problem because I did not understood the difference between install and deploy (the metadata files seems to be different): I kept building a plugin and installing, then manually copying the files. Everything ran fine on the machine that did the install but for other users on different machine, thy kept having the same error than yours. HTH, not sure I am very clear not very precise. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2 tutorial in french
thk for the hint! On 7/10/06, Arnaud Bailly [EMAIL PROTECTED] wrote: Hello, For all french reading people on this list and out there, I am pleased to announce the online publication of a translation/adaptation in our language of peopleware's maven 2 tutorial. It is available at the following address: http://www.oqube.com/formations/maven/index.html The original document is available at: http://cvs.peopleware.be/training/maven/maven2/ I have added some translations from maven's guides and informations from mergere's book, POM demystified and confluence. As usual, comments and bug reports are welcome. -- OQube software engineering \ génie logiciel Arnaud Bailly, Dr. \web http://www.oqube.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]
[M2] Control all the dependencies injected
Hello, I m trying to migrate from m1.x to m2. I think M2 is powerfull by transitive dependencies functionality.But in my J2EE environment, I have some problems with an application which use Hibernate, Struts, Spring, Log4J ... First, I use Oracle AS 10.1.3. This server doesn' t integrate both xerces xalan for XML parsing/transform but XDK. How can I override the dependencies of xerces and xalan and replace them by a reference of XDK ? Secondly, I have an another problem with the injection of dependencies with antlr librabry. some of my components depends of the version 2.7.2 and another ones depends of the version 2.7. This problem is available for other libraries. I have prefered this example, because its well representative. So that's I would like to have some skill testimonies about injection of dependencies with MAVEN 2 in Java EE environment Thanks in advance Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSSE implementation in a public Maven repo?
Hi, I'm looking for a JSSE implentaton hosted in a public Maven repo. I have not been able to find one. Obviously it must be an OS one, not Sun's or IBM's. Can anyone advise of one? For example, anyone working with Jessie? http://www.nongnu.org/jessie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Interrnal remote repository
I have the following two entries in my pom.xml: repositories repository idcentral/id nameUpromise Local Repository/name layoutdefault/layout urlhttp://build.corp.upromise.com/mavenrepository/url /repository /repositories pluginRepositories pluginRepository idlocal-central/id namemain/name layoutdefault/layout urlfile://build.corp.upromise.com/mavenrepository/url /pluginRepository /pluginRepositories Is this wrong? -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 10:52 AM To: Maven Users List Subject: Re: Interrnal remote repository Did you specify your internal repo as a plugin repository in your settings.xml/pom.xml? EJ Ciramella schrieb: Can someone tell me please if this is how I should be installing? Taking jars/poms from my .m2 directory and using the following command to install them into the remote repository? If so, why maven 2 builds going to repo1 still for all kinds of plugins (scroll down)? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 10:37 PM To: Maven Users List Subject: RE: Interrnal remote repository I'm using the following syntax; mvn deploy:deploy-file -DgroupId=gid -DartifactId=aid -Dversion=version -Dpackaging=pkgtype -Dfile=file -DrepositoryId=central -Durl=url This is how I'm installing to my internal remote repository. Doesn't this generate all the metadata info? -Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 2:03 PM To: Maven Users List Subject: Re: Interrnal remote repository EJ Ciramella [EMAIL PROTECTED] writes: Could you elaborate? I'm kinda a maven noob. Information about plugins is kept in metadata files in the repo so that they can be resolved. Not sure in your particular case but: - check your local repository (maybe try removing the artefact that cannot be resolved) - check metadata files in the remote repository (in the group directory I think - BTW, the correct (I think) groupId syntax is dot-separated In my case, I had the problem because I did not understood the difference between install and deploy (the metadata files seems to be different): I kept building a plugin and installing, then manually copying the files. Everything ran fine on the machine that did the install but for other users on different machine, thy kept having the same error than yours. HTH, not sure I am very clear not very precise. - 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: Interrnal remote repository
P.P.S - is it typical to have to run maven commands repeatedly as poms/jars fail to be downloaded from repo1? Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata /2.0.4/maven-repository-metadata-2.0.4.pom 1K downloaded [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven:maven-repository-metadata Reason: Error getting POM for 'org.apache.maven:maven-repository-metadata' from the repository: Error transferring file org.apache.maven:maven-repository-metadata:pom:2.0.4 from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://svn.apache.org/maven-snapshot-repository), local-central (file://build.corp.upromise.com/mavenrepository), snapshots (http://snapshots.maven.codehaus.org/maven2) Sometimes it can take 6 - 7 up arrow/enters to get something to work from scratch. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 1:50 PM To: Maven Users List Subject: RE: Interrnal remote repository Sorry - to completely answer this question, my settings.xml file is pretty much blank. (I have no repository configured - I'm completely relying on the pom.xml for this information) -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 1:27 PM To: Maven Users List Subject: RE: Interrnal remote repository I have the following two entries in my pom.xml: repositories repository idcentral/id nameUpromise Local Repository/name layoutdefault/layout urlhttp://build.corp.upromise.com/mavenrepository/url /repository /repositories pluginRepositories pluginRepository idlocal-central/id namemain/name layoutdefault/layout urlfile://build.corp.upromise.com/mavenrepository/url /pluginRepository /pluginRepositories Is this wrong? -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 10:52 AM To: Maven Users List Subject: Re: Interrnal remote repository Did you specify your internal repo as a plugin repository in your settings.xml/pom.xml? EJ Ciramella schrieb: Can someone tell me please if this is how I should be installing? Taking jars/poms from my .m2 directory and using the following command to install them into the remote repository? If so, why maven 2 builds going to repo1 still for all kinds of plugins (scroll down)? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 10:37 PM To: Maven Users List Subject: RE: Interrnal remote repository I'm using the following syntax; mvn deploy:deploy-file -DgroupId=gid -DartifactId=aid -Dversion=version -Dpackaging=pkgtype -Dfile=file -DrepositoryId=central -Durl=url This is how I'm installing to my internal remote repository. Doesn't this generate all the metadata info? -Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 2:03 PM To: Maven Users List Subject: Re: Interrnal remote repository EJ Ciramella [EMAIL PROTECTED] writes: Could you elaborate? I'm kinda a maven noob. Information about plugins is kept in metadata files in the repo so that they can be resolved. Not sure in your particular case but: - check your local repository (maybe try removing the artefact that cannot be resolved) - check metadata files in the remote repository (in the group directory I think - BTW, the correct (I think) groupId syntax is dot-separated In my case, I had the problem because I did not understood the difference between install and deploy (the metadata files seems to be different): I kept building a plugin and installing, then manually copying the files. Everything ran fine on the machine that did the install but for other users on different machine, thy kept having the same error than yours. HTH, not sure I am very clear not very precise. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL
RE: Super POM
No problem... Are these two configured/setup/located differently? -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 17:12 To: Maven Users List Subject: Re: Super POM Also, as an aside (sorry, I'm a stickler for correct terms!), there is a difference between a super POM and a parent POM. The SuperPOM is the global default for the whole Maven POM structure, and conceptually, the POM from which all POMs inherit. A parent is just any POM that is interited from. Eric On 7/10/06, Marc L. Veary [EMAIL PROTECTED] wrote: Hey Everyone, Done it - Really appreaciate the help! Kind regards, -- Viz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ben short Sent: 10 July 2006 14:19 To: Maven Users List Subject: Re: Super POM Viz Heres one I have setup... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.company/groupId artifactIdcompany/artifactId version1/version packagingpom/packaging nameNexus Alpha Ltd/name description /description organization nameCompany Name/name urlhttp://www.company.com//url /organization urlhttp://www.company.com//url distributionManagement repository idinternal-released/id urlscp://192.168.6.194/var/mvn/internal-released/url /repository snapshotRepository idinternal-snapshot/id urlscp://192.168.6.194/var/mvn/internal-snapshot/url /snapshotRepository /distributionManagement /project Now I have release this to my internal repo, but i guess you could just install it to your local repo. Also you could have a project that has modules. like the following dir structure myproject myproject/pom.xml myproject/module1/pom.xml myproject/module2/pom.xml the top level pom would contain your global settings and the modules element modules modulemodule1/module modulemodule2/module /modules Im still new to maven 2 also but i hope this gives you some ideas. Ben On 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I'm new to Maven and am struggling to create a super pom. I am involved in a project which has a number of sub projects and would like to have a super pom for the general configs, which are inherited by the sub projects. The problem is that I can create a super pom by hand, but when I reference it using parent/ the sub project goes of to the repo to download... I just wanted a super pom that I could use to set project wide configs. I tried various params with mvn archetype:create but no luck. Could someone please point me in the right direction. Many thanks in advance. -- Viz - 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] - 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: Interrnal remote repository
Hi, I don't think the file url given in your pluginRepository definition is valid. Shouldn't it be something like 'file:///C:/PATH/TO/REPOSITORY' for windows or 'file:///PATH/TO/REPOSITORY' for unix style os's? Or you need to change the 'file://' to 'http://'. Regarding your other mail and the ibiblio problems: It is known that the load on ibiblio is high at some times. It's best to configure a mirror for it [1]. -Tim [1] http://maven.apache.org/guides/mini/guide-mirror-settings.html EJ Ciramella schrieb: I have the following two entries in my pom.xml: repositories repository idcentral/id nameUpromise Local Repository/name layoutdefault/layout urlhttp://build.corp.upromise.com/mavenrepository/url /repository /repositories pluginRepositories pluginRepository idlocal-central/id namemain/name layoutdefault/layout urlfile://build.corp.upromise.com/mavenrepository/url /pluginRepository /pluginRepositories Is this wrong? -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 10:52 AM To: Maven Users List Subject: Re: Interrnal remote repository Did you specify your internal repo as a plugin repository in your settings.xml/pom.xml? EJ Ciramella schrieb: Can someone tell me please if this is how I should be installing? Taking jars/poms from my .m2 directory and using the following command to install them into the remote repository? If so, why maven 2 builds going to repo1 still for all kinds of plugins (scroll down)? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 10:37 PM To: Maven Users List Subject: RE: Interrnal remote repository I'm using the following syntax; mvn deploy:deploy-file -DgroupId=gid -DartifactId=aid -Dversion=version -Dpackaging=pkgtype -Dfile=file -DrepositoryId=central -Durl=url This is how I'm installing to my internal remote repository. Doesn't this generate all the metadata info? -Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 2:03 PM To: Maven Users List Subject: Re: Interrnal remote repository EJ Ciramella [EMAIL PROTECTED] writes: Could you elaborate? I'm kinda a maven noob. Information about plugins is kept in metadata files in the repo so that they can be resolved. Not sure in your particular case but: - check your local repository (maybe try removing the artefact that cannot be resolved) - check metadata files in the remote repository (in the group directory I think - BTW, the correct (I think) groupId syntax is dot-separated In my case, I had the problem because I did not understood the difference between install and deploy (the metadata files seems to be different): I kept building a plugin and installing, then manually copying the files. Everything ran fine on the machine that did the install but for other users on different machine, thy kept having the same error than yours. HTH, not sure I am very clear not very precise. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Interrnal remote repository
Yeah, I switched the pluginRepository from file to http (I am running apache 2 to make these fils available via http). But, it just can't find what it's looking for (even though things _do_ exist up there): E:\work\up-svcs\lty\proj\LTY-P39mvn -e -Dmaven.test.skip=true install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Unnamed - lty:app:pom:1.0-SNAPSHOT [INFO] Lty Utils [INFO] Lty Crypto(Client) [INFO] LtyModel [INFO] LtyDataGen [INFO] Crypto Server [INFO] Upromise.com Site [INFO] [INFO] Building Unnamed - lty:app:pom:1.0-SNAPSHOT [INFO]task-segment: [install] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid versio n could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1281) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De faultLifecycleExecutor.java:1517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack aging(DefaultLifecycleExecutor.java:1011) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa ppings(DefaultLifecycleExecutor.java:975) 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) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi nVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi nVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:158) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1252) ... 18 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Jul 10 14:15:21 EDT 2006 [INFO] Final Memory: 1M/3M [INFO] Why is this? -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 2:04 PM To: Maven Users List Subject: Re: Interrnal remote repository Hi, I don't think the file url given in your pluginRepository definition is valid. Shouldn't it be something like 'file:///C:/PATH/TO/REPOSITORY' for windows or 'file:///PATH/TO/REPOSITORY' for unix style os's? Or you need to change the 'file://' to 'http://'. Regarding your other mail and the ibiblio problems: It is known that the load on ibiblio is high at some times. It's best to configure a mirror for it [1]. -Tim [1] http://maven.apache.org/guides/mini/guide-mirror-settings.html EJ Ciramella schrieb: I have the following two entries in my pom.xml: repositories repository idcentral/id nameUpromise Local Repository/name
Re: Super POM
The super POM is internal to Maven. I honestly don't know for certain if the superPOM is a seperate file, or a conceptual thing, but I believe it is the former, and this is probably it: http://svn.apache.org/repos/asf/maven/components/trunk/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml Eric On 7/10/06, Marc L. Veary [EMAIL PROTECTED] wrote: No problem... Are these two configured/setup/located differently? -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 17:12 To: Maven Users List Subject: Re: Super POM Also, as an aside (sorry, I'm a stickler for correct terms!), there is a difference between a super POM and a parent POM. The SuperPOM is the global default for the whole Maven POM structure, and conceptually, the POM from which all POMs inherit. A parent is just any POM that is interited from. Eric On 7/10/06, Marc L. Veary [EMAIL PROTECTED] wrote: Hey Everyone, Done it - Really appreaciate the help! Kind regards, -- Viz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ben short Sent: 10 July 2006 14:19 To: Maven Users List Subject: Re: Super POM Viz Heres one I have setup... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.company/groupId artifactIdcompany/artifactId version1/version packagingpom/packaging nameNexus Alpha Ltd/name description /description organization nameCompany Name/name urlhttp://www.company.com//url /organization urlhttp://www.company.com//url distributionManagement repository idinternal-released/id urlscp://192.168.6.194/var/mvn/internal-released/url /repository snapshotRepository idinternal-snapshot/id urlscp://192.168.6.194/var/mvn/internal-snapshot/url /snapshotRepository /distributionManagement /project Now I have release this to my internal repo, but i guess you could just install it to your local repo. Also you could have a project that has modules. like the following dir structure myproject myproject/pom.xml myproject/module1/pom.xml myproject/module2/pom.xml the top level pom would contain your global settings and the modules element modules modulemodule1/module modulemodule2/module /modules Im still new to maven 2 also but i hope this gives you some ideas. Ben On 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I'm new to Maven and am struggling to create a super pom. I am involved in a project which has a number of sub projects and would like to have a super pom for the general configs, which are inherited by the sub projects. The problem is that I can create a super pom by hand, but when I reference it using parent/ the sub project goes of to the repo to download... I just wanted a super pom that I could use to set project wide configs. I tried various params with mvn archetype:create but no luck. Could someone please point me in the right direction. Many thanks in advance. -- Viz - 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] - 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: Multi module versioning - how to?
Do the module lawnet-web-core's pom.xml defines a parent ? if no, it must define a version. the question is why? Say I have a bunch of modules, that always get built and versioned together, hence the aggregator. The aggregator assigns version to all the modules at a the time of build. I would think it is a valid use case, no? PS : i haven't find a link to a doc explaining the multi modules builds with parents. well there is an example in BBWM book, but details are sketchy I agree. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSSE implementation in a public Maven repo?
Thanks Dalibor. Do you know if the Jessie artifacts are in any public Maven repos? Quoting Dalibor Topic [EMAIL PROTECTED]: On Mon, Jul 10, 2006 at 12:21:47PM -0500, Jeff Jensen wrote: Hi, I'm looking for a JSSE implentaton hosted in a public Maven repo. I have not been able to find one. Obviously it must be an OS one, not Sun's or IBM's. Can anyone advise of one? For example, anyone working with Jessie? http://www.nongnu.org/jessie It's currently used in any GNU Classpath VM as the JSSE implementation. FWIW, there is a Google SOC project for Jessie to update it to do SSL over NIO. See http://code.google.com/soc/gnu/appinfo.html?csaid=3F1821EB717AF23 for the details and Casey's status blog is at http://metastatic.org/text/Concern/category/hacking/summer-of-code/ cheers, dalibor topic - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Java EE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, are there any recommendations for groupId and artifactId for Java EE Specs available? On the website-guides there are only EJB3 / Persistence recommendations, but this does not include the JEE Annotations required to deploy something to Glassfish using annotations (e.g. @EJB or @PersistenceContext). If there are no recommendations, what about this: groupId: javax.jee (maybe javax.j2ee) artifactId: jee (maybe even j2ee) version: 5.0 Thanks Markus Wolf - -- emedia-solutions wolf Wedeler Landstrasse 63 22559 Hamburg (040) 550 083 70 web: http://www.emedia-solutions-wolf.de mail: [EMAIL PROTECTED] pgp: http://wwwkeys.de.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEsqrHeyJE91ndMG4RAtbeAJ9EqKz3HGsmIj0nfNBO9al9tqpONwCeKaPx efvV1M3/zbeldwrui7eUYjc= =2X7J -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSSE implementation in a public Maven repo?
On Mon, Jul 10, 2006 at 02:08:29PM -0500, Jeff Jensen wrote: Thanks Dalibor. Do you know if the Jessie artifacts are in any public Maven repos? I am not aware of any. You could follow the usual procedure and submit an artifact for inclusion on ibiblio, I believe there are RPMs and .debs containing jessie's JAR if you don't wnat to build the artifact from source. cheers, dalibor topic Quoting Dalibor Topic [EMAIL PROTECTED]: On Mon, Jul 10, 2006 at 12:21:47PM -0500, Jeff Jensen wrote: Hi, I'm looking for a JSSE implentaton hosted in a public Maven repo. I have not been able to find one. Obviously it must be an OS one, not Sun's or IBM's. Can anyone advise of one? For example, anyone working with Jessie? http://www.nongnu.org/jessie It's currently used in any GNU Classpath VM as the JSSE implementation. FWIW, there is a Google SOC project for Jessie to update it to do SSL over NIO. See http://code.google.com/soc/gnu/appinfo.html?csaid=3F1821EB717AF23 for the details and Casey's status blog is at http://metastatic.org/text/Concern/category/hacking/summer-of-code/ cheers, dalibor topic - 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] - 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: how to include html files in webapp
I dunno about you guys, but I have a src/main/webapp directory, not src/webapp. Never tried to that way. On 7/10/06, schumhan [EMAIL PROTECTED] wrote: Hi, did you really use the build war-plugin like plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0/version /plugin ?. I use this and it works fine for me. Just put any file (html / Jsp) in webapp folder and it will be packed correctly. Hope this will help. Juergen -- View this message in context: http://www.nabble.com/how-to-include-html-files-in-webapp-tf1908315.html#a5252480 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Never wear anything that panics the cat. -- P. J. O'Rourke
Using maven to create an executable
i'm new to maven, but i've been getting on really well with it thus far. however, i now want to generate an executable file for an application i am developing. at the moment i use the Eclipse Product export wizard to package and export my application. is there a plugin available for maven which would accomplish something similar, or some other way to integrate this process into maven? many thanks louisa
Re: Multi module versioning - how to?
Hi Alex, 2006/7/10, Alex Shneyderman [EMAIL PROTECTED]: Do the module lawnet-web-core's pom.xml defines a parent ? if no, it must define a version. the question is why? The answer is, it's the way pom-inheritance works. Which is something slightly different from module-aggregation. the lawnet-web-core's and the lawnet-web-jcomp's poms need to refer to your aggregating parent pom. in general, submodules inherit properties (like version-number, etc.) from a parent, to which *they* refer to via the parent-tag. they *don't* get properties injected just because they are submodules of another pom. you may find this thread useful to understand the concepts of pom inheritence and aggregation: http://www.nabble.com/Parent-vs.-Multi-Project-super-pom-tf1776475.html#a4836112 --Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Artifact Version Variable not Converted into Number in Absolute Path
Hello everyone, (I appreciate your help in advance) I'm not sure whether this is a bug, or my problem, but I'm having troubles with one of my 3rd party jars (apache axis jaxrpc), as seen by the following error message: [DEBUG] axis:axis-jaxrpc:jar:1.1:provided (selected for provided) [DEBUG] axis:axis-wsdl4j:jar:1.5.1:provided (selected for provided) [DEBUG] Trying repository maven-proxy Downloading: http://localhost:/repository//axis/axis-jaxrpc/${axis-jaxrpc.version}/axis-jaxrpc-${axis-jaxrpc.version}.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: axis:axis-jaxrpc Reason: Error getting POM for 'axis:axis-jaxrpc' from the repository: Error transferring file axis:axis-jaxrpc:pom:${axis-jaxrpc.version} from the specified remote repositories: central (http://repo1.maven.org/maven2), maven-proxy (http://localhost:/repository/) ... The error message continues on, giving me a IOException 500 error later in the stack trace. My thought, however, is that there is a problem with the above line: http://localhost:/repository//axis/axis-jaxrpc/${axis-jaxrpc.version}/axis-jaxrpc-${axis-jaxrpc.version}.pom Notice that in the line just before it, maven seems to recognize the version number (1.1) In all of my past projects the ${blah.version} gets converted to the number that I specify in my parent pom.xml. In this one, however, the ${blah.version} seems to not get converted. The problem seems similar to: http://jira.codehaus.org/browse/MNG-2049 but I don't think it's exactly the same. Let me know if you need to see more. Essentially, my settings.xml file has: axis-jaxrpc.version1.1/axis-jaxrpc.version My pom.xml just points to that using: dependency groupIdaxis/groupId artifactIdaxis-jaxrpc/artifactId version${axis-jaxrpc.version}/version scopeprovided/scope /dependency And as you can see, I'm running maven-proxy as my central mirror server. Thanks for your help!!! Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible for a mojo to dynamically add a jar resource?
I have a mojo that computes the jars needed for an osgi bunlde and I need to add the list of jars to the project so that they will be available for the compile phase. Is there a plugin doing this or some documentaion on pulling this off? The jars can't be added to the pom because it is not known until the Manifest.mf file is analyzed and a directory of jars is consulted, as to which jars actually contain the java packages necessary for compilation and then those jars need to be added to the dependency list. I see the method to add a compile source root, but no method for adding a compile jar file. Wb
Re: Password ignored when checking out using CVS with ext
I had a similar problem as you described. I believe I had to do a xhost + command before I ssh'ed into the machine as root to start the Continuum server. On 7/10/06, Achim Abeling [EMAIL PROTECTED] wrote: Hi, I am using continuum 1.0.3 on linux. The continuum server is run as root. I added an ant project with a scm url like scm:cvs:ext:server:path:module and defined username and password. When building the project continuum fails to do any cvs operation with the error Error: Can't open display: :0.0 Xlib: connection to :0.0 refused by server Xlib: No protocol specified openssh tries to ask for the password in a popup which fails. When I run continuum as a user which owns the display the popup appears, I can type in the password and continuum continues its work successfully. How can I configure continuum (or openssh) to take the password provided in the web interface? Thanks for help Achim
RE: Is it possible for a mojo to dynamically add a jar resource?
The clover and cobertura plugins add a dependency programmatically to a project. Check out their source. -Original Message- From: Wendell Beckwith [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 6:23 PM To: users@maven.apache.org Subject: Is it possible for a mojo to dynamically add a jar resource? I have a mojo that computes the jars needed for an osgi bunlde and I need to add the list of jars to the project so that they will be available for the compile phase. Is there a plugin doing this or some documentaion on pulling this off? The jars can't be added to the pom because it is not known until the Manifest.mf file is analyzed and a directory of jars is consulted, as to which jars actually contain the java packages necessary for compilation and then those jars need to be added to the dependency list. I see the method to add a compile source root, but no method for adding a compile jar file. Wb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Artifact Version Variable not Converted into Number in Absolute Path
If you see a semicolon after the $ sign before the { sign, it's because my mail server put it in ... that is not the problem :) (I wish it were :) ) Thanks, Tom [EMAIL PROTECTED] 07/10/06 2:51 PM Hello everyone, (I appreciate your help in advance) I'm not sure whether this is a bug, or my problem, but I'm having troubles with one of my 3rd party jars (apache axis jaxrpc), as seen by the following error message: [DEBUG] axis:axis-jaxrpc:jar:1.1:provided (selected for provided) [DEBUG] axis:axis-wsdl4j:jar:1.5.1:provided (selected for provided) [DEBUG] Trying repository maven-proxy Downloading: http://localhost:/repository//axis/axis-jaxrpc/${axis-jaxrpc.version}/axis-jaxrpc-${axis-jaxrpc.version}.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: axis:axis-jaxrpc Reason: Error getting POM for 'axis:axis-jaxrpc' from the repository: Error transferring file axis:axis-jaxrpc:pom:${axis-jaxrpc.version} from the specified remote repositories: central (http://repo1.maven.org/maven2), maven-proxy (http://localhost:/repository/) ... The error message continues on, giving me a IOException 500 error later in the stack trace. My thought, however, is that there is a problem with the above line: http://localhost:/repository//axis/axis-jaxrpc/${axis-jaxrpc.version}/axis-jaxrpc-${axis-jaxrpc.version}.pom Notice that in the line just before it, maven seems to recognize the version number (1.1) In all of my past projects the ${blah.version} gets converted to the number that I specify in my parent pom.xml. In this one, however, the ${blah.version} seems to not get converted. The problem seems similar to: http://jira.codehaus.org/browse/MNG-2049 but I don't think it's exactly the same. Let me know if you need to see more. Essentially, my settings.xml file has: axis-jaxrpc.version1.1/axis-jaxrpc.version My pom.xml just points to that using: dependency groupIdaxis/groupId artifactIdaxis-jaxrpc/artifactId version${axis-jaxrpc.version}/version scopeprovided/scope /dependency And as you can see, I'm running maven-proxy as my central mirror server. Thanks for your help!!! Tom - 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]
Installing plugin from proxy repository
Hey there. I have a plugin which I uploaded to our proxy server. To test I deleted the local version (entire directory) of the plugin. I rebuilt the project, but Maven cannot find the plugin. I have a mirror configured as my central repository in settings.xml. So why then is Maven looking at http://repo1.maven.org/maven2 instead of my mirror? What am I missing? Thanks. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] TempA Project [INFO] TempB Project [INFO] TempC Project [INFO] Temp Projects [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: com.comapny.team.plugins.maven ArtifactId: maven-mytest-plugin Version: 0.1-SNAPSHOT Reason: Unable to download the artifact from any repository com.comapny.team.plugins.maven:maven-mytest-plugin:pom:0.1-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Jul 10 20:42:17 CDT 2006 [INFO] Final Memory: 1M/3M [INFO] -Chris ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
JXR with Ant
Is there to run JXR with an Ant build? -- - John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSSE implementation in a public Maven repo?
Its pretty straightforward to create an artifact with pom.xml in a Maven bundle (please include sources and javadocs!!) and submit to the Maven JIRA for uploading. I've done it myself for several projects that I wanted in ibiblio -- just follow the directions and Carlos will let you know (with a very large, heavy bat) if the pom isn't right etc. ;-) Assuming of course that the licensing of the code allows this... I'm not terribly familiar with Jessie so you'll need to determine that yourself. HTH. Wayne Fay On 7/10/06, Dalibor Topic [EMAIL PROTECTED] wrote: On Mon, Jul 10, 2006 at 02:08:29PM -0500, Jeff Jensen wrote: Thanks Dalibor. Do you know if the Jessie artifacts are in any public Maven repos? I am not aware of any. You could follow the usual procedure and submit an artifact for inclusion on ibiblio, I believe there are RPMs and .debs containing jessie's JAR if you don't wnat to build the artifact from source. cheers, dalibor topic Quoting Dalibor Topic [EMAIL PROTECTED]: On Mon, Jul 10, 2006 at 12:21:47PM -0500, Jeff Jensen wrote: Hi, I'm looking for a JSSE implentaton hosted in a public Maven repo. I have not been able to find one. Obviously it must be an OS one, not Sun's or IBM's. Can anyone advise of one? For example, anyone working with Jessie? http://www.nongnu.org/jessie It's currently used in any GNU Classpath VM as the JSSE implementation. FWIW, there is a Google SOC project for Jessie to update it to do SSL over NIO. See http://code.google.com/soc/gnu/appinfo.html?csaid=3F1821EB717AF23 for the details and Casey's status blog is at http://metastatic.org/text/Concern/category/hacking/summer-of-code/ cheers, dalibor topic - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JXR with Ant
Where can I find the docs and source for JXR? I am a lot more familiar with Ant than I am with Maven, but I can take a crack writing the Ant task. On 7/10/06, Brett Porter [EMAIL PROTECTED] wrote: There isn't currently an Ant task, but it is a separate library so it wouldn't be hard to write one if someone was willing to contribute it. An alternative is to have a minimal Maven pom.xml that includes the source directories and the jxr plugin settings to do this (and you could exec that from the ant build too). - Brett On 11/07/06, John Sanda [EMAIL PROTECTED] wrote: Is there to run JXR with an Ant build? -- - John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Apache Maven - http://maven.apache.org Better Builds with Maven book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- - John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JXR with Ant
Nevermind. I was looking in the plugins section on Maven. I found the repo info at http://maven.apache.org/jxr. On 7/10/06, John Sanda [EMAIL PROTECTED] wrote: Where can I find the docs and source for JXR? I am a lot more familiar with Ant than I am with Maven, but I can take a crack writing the Ant task. On 7/10/06, Brett Porter [EMAIL PROTECTED] wrote: There isn't currently an Ant task, but it is a separate library so it wouldn't be hard to write one if someone was willing to contribute it. An alternative is to have a minimal Maven pom.xml that includes the source directories and the jxr plugin settings to do this (and you could exec that from the ant build too). - Brett On 11/07/06, John Sanda [EMAIL PROTECTED] wrote: Is there to run JXR with an Ant build? -- - John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Apache Maven - http://maven.apache.org Better Builds with Maven book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- - John -- - John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing plugin from proxy repository
Did you setup your pluginRepository as well? That seemed to fix the same problem for me a few weeks back. On 7/10/06, Chris Wall [EMAIL PROTECTED] wrote: Hey there. I have a plugin which I uploaded to our proxy server. To test I deleted the local version (entire directory) of the plugin. I rebuilt the project, but Maven cannot find the plugin. I have a mirror configured as my central repository in settings.xml. So why then is Maven looking at http://repo1.maven.org/maven2 instead of my mirror? What am I missing? Thanks. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] TempA Project [INFO] TempB Project [INFO] TempC Project [INFO] Temp Projects [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: com.comapny.team.plugins.maven ArtifactId: maven-mytest-plugin Version: 0.1-SNAPSHOT Reason: Unable to download the artifact from any repository com.comapny.team.plugins.maven:maven-mytest-plugin:pom:0.1-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Jul 10 20:42:17 CDT 2006 [INFO] Final Memory: 1M/3M [INFO] -Chris ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -- Never wear anything that panics the cat. -- P. J. O'Rourke
Re: mvn deploy
Ben, thanks for your help. I tried to add my passed to settings.xml. But I more thing that putty / pscp are not *callable* for my box/environment (windoze w/o ! cygwin) Below is my message... I added sshExecuteable to my settings. Now putty comes up -o unkown option. any ideas? snip [INFO] Retrieving previous build number from apache-maven-snapshots [WARNING] repository metadata for: 'snapshot org.apache.myfaces.core:myfaces-core-project:1.1.4-SNAPSHOT' could not be retrieved from repository: apache-maven-snapshots due to an error: Failed to post-process the source file [INFO] Repository 'apache-maven-snapshots' will be blacklisted Uploading: scpexe://minotaur.apache.org/www/people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-core-project/1.1.4-SNAPSHOT/myfaces-core-project-1.1.4-SNAPSHOT.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error deploying artifact: Error executing command for transfer Exit code 1 - 'ssh' is not recognized as an internal or external command, operable program or batch file. [INFO] [INFO] For more information, run Maven with the -e switch /snip -Matt On 7/10/06, ben short [EMAIL PROTECTED] wrote: I use the follwoing in my pom.xml distributionManagement − repository idinternal-released/id urlscp://192.168.6.194/var/mvn/internal-released/url /repository − snapshotRepository idinternal-snapshot/id urlscp://192.168.6.194/var/mvn/internal-snapshot/url /snapshotRepository /distributionManagement and the following in my settings.xml server idinternal-snapshot/id usernamemvn/username passwordmvn/password /server server idinternal-released/id usernamemvn/username passwordmvn/password /server On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hey, I am getting this error snip [INFO] Error deploying artifact: Error executing command for transfer Exit code 1 - 'ssh' is not recognized as an internal or external command, operable program or batch file. /snip when trying mvn deploy on windoze my settings.xml contains: ... servers server idapache-maven-snapshots/id usernamematzew/username configuration scpExecutablepscp/scpExecutable /configuration /server /servers ... BTW pscp is in my $PATH Any missing configuration ? -Matt -- Matthias Wessendorf futher stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-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] -- Matthias Wessendorf futher stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with Maven 2 dependency
Hi all, I'm using Maven 2 to build my three projects named parent0, child1 and child2. parent0 is parent of child1 and child2. parent0 has also child1 and child2 as his modules. child2 depends on child1. all of three projects have their own pom. I want to use xdoclet to generate mapping files, so I configure the plugin xdoclet-maven-plugin in the poms of child1 and child2: tasks property file=src/main/resources/hibernate.properties / taskdef name=hibernatedoclet classname=xdoclet.modules.hibernate.HibernateDocletTask classpathref=maven.compile.classpath / hibernatedoclet destdir=src/main/resources excludedtags=@version,@author,@todo,@see verbose=true fileset dir=src/main/java/ include name=**/*.java / /fileset hibernate version=3.0 / /hibernatedoclet /tasks This config is the same in two poms. When I compile the projects from the root directory of parent0, the mapping files are generated. But the problem is: All the generated mapping files of the project child2 are put in the directory src/main/resources of the child1, not in child2. It seems to me that the pom of child2 is not used to generate the mapping files. And it is overriden by the pom of child1. Could you give me a help? Thanks a lot, __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]