Re: Maven and IDE's (Idea, mostly)
The latest maven idea plugin release generates ipr's etc, but contain many problems, however they have fixed those problems in the next version. I use the latest snapshot of the idea plugin with maven 2.0.2 (requires at least 2.0.1, 2.0 will corrupt it) and this works like a charm: mvn idea:idea even in multiprojects So I hope they release the new version of the idea plugin soon :) Willis Morse wrote: I finally decided to look at Maven, and I'm wondering how what the actual workflow is when I use an IDE such as Idea. I used to use Eclipse, and I remember at one point there was a plugin that kept an Eclipse project (.project file) continuously in sync with the POM file. So if you use the Eclipse UI to add another source path or an external JAR, the POM gets updated automatically. With Idea, it looks like you can only take an existing POM and generate an Idea project file, and it seems like a oneway trip. Any modifications that you make to the project using Idea's UI will only live in the Idea project and will get wiped the next time you generate the project from the POM. Is this the case? Further, Idea has a refactoring that will move code between different Idea modules. If each Idea module corresponds to a Maven repository, is there any hope of having this refactoring work on the POMs, too? Thanks, Willis Morse -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mvn clean is slow
> -Original Message- > From: dan tran [mailto:[EMAIL PROTECTED] > Sent: mardi 24 janvier 2006 15:48 > To: Maven Users List > Subject: Re: mvn clean is slow > > does Ant encounter the same issue? That's what I was going to suggest. We can simply do the following (this is meant to be pseudo code): Task deleteTask = new DeleteTask(); deleteTask.set*(...); deleteTask.execute(); The nice benefit is that if Ant improves we improve and we benefit from all their knowledge accumulated over time. I know that our current code was a rip from the Ant's Delete task but I don't think we've copied it completely and they may have improved it since then. Yes, I know, I've already said all this several times in the past... Just trying one more time as this issue is calling for it ;-) Dan, maybe you can try running Ant's delete task to see if it worked faster for you? Thanks -Vincent > On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote: > > > > > > On 24.01.2006, at 20:35, Emmanuel Venisse wrote: > > > > > Yes, it's intended due to Windows bug encountered in both Sun and > > > IBM JDKs. > > > We need to call System.gc() if a delete fail, wait few milliseconds > > > and retry > > > > What about a bulk delete, a gc call and then a bulk test whether the > > delete succeeded? > > > > cheers > > -- > > Torsten > > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] Is generating an application.xml with connector module possible?
Ah, there's a jboss-sar-maven-plugin. I completely missed that. It appears I need to build it myself as it's not on ibiblio. I'll give it a try. -Oorspronkelijk bericht- Van: Stephane Nicoll [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 24 januari 2006 14:27 Aan: Maven Users List Onderwerp: Re: [M2] Is generating an application.xml with connector module possible? Yes, you need to install the sar mojo :) It should be available from the mojo project (http://mojo.codehaus.org/). If not, ping me and I will implement it. Cheers, Stéphane On 1/23/06, Peschier J. (Jeroen) <[EMAIL PROTECTED]> wrote: > > You are right about the the connector module being for RAR modules only. I > read up on it and it seems SARs are not deployed from application.xml, but > jboss-app.xml instead. My bad. > > I currently build my SAR module as a jar since sar is not working for me as a > packaging type. I noticed sarModule is expecting > groupId:artifactId:sar:version in the repository. I rename the .jar to .sar > in my local repository, so Maven can find it. The SAR module is now correctly > included in the EAR. > > I noticed the needed jboss-app.xml is not generated for the sar. So I wrote > wrote my own and configured the earSourceDirectory: > > > org.apache.maven.plugins > maven-ear-plugin > 2.1 > > true > ${basedir}/include > > > myGroup > myArtifact > > ... > > After some fiddling I got it working but it's not clean yet. I still need to > manually rename the .jar to .sar in the repository for each build. > > How do I create an artifact of the type sar? Within my SAR project I tried > setting the packaging type to sar in the POM but it gives me this exception: > org.apache.maven.lifecycle.LifecycleExecutionException: Cannot find > lifecycle mapping for packaging: 'sar'. > > This seems odd as the maven-ear-module seems to "know" the sar package type > just fine. Am I missing something here? > > > > -Oorspronkelijk bericht- > Van: Stephane Nicoll [mailto:[EMAIL PROTECTED] > Verzonden: donderdag 19 januari 2006 20:22 > Aan: Maven Users List > Onderwerp: Re: [M2] Is generating an application.xml with connector module > possible? > > On 1/19/06, Peschier J. (Jeroen) <[EMAIL PROTECTED]> wrote: > > > > My use-case: > > - Using the maven-ear-plugin to generate the application.xml deployment > > descriptor. > > - Want to include a SAR module in the deployment descriptor. > > - Found out about ejbModule, warModule and javaModule but could not find > > any info on how to generate a connector module. So I tried the obvious: > > A connector is a rar file as per spec. JBoss has its own sar format > which is supported in the EAR plugin. If you have a dependency of type > 'sar' it should work out of the box. > > You don't need to configure it in the section (regarding > includeInApplicationXml which is javaModule specific) > > > > I read the plugin > > configuration doc and found that "modules" is of type "EarModule". Where > > can I find info on the definition of "EarModule"? > > FYI, the supported implementations of EarModule are: > > * jar > * ejb > * ejb-client > * ejb3 > * par > * rar > * war > * sar > > This is a good idea, I will update the doc for the next plugin's release. > > Cheers, > Stéphane > > > > -- > .::You're welcome ::. > > - > 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] > > -- .::You're welcome ::. - 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] Jalopy Plugin?
Hi all, ist there already a Jalopy plugin for maven 2? I found http://mojo.codehaus.org/jalopy-maven-plugin/howto.html But it doesn't seem to work: [INFO] The plugin 'org.codehaus.mojo:maven-jalopy-plugin' does not exist or no valid version could be found TIA Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Jalopy Plugin?
It hasn't been released on the central repository yet. You can check it out of subversion though, it works perfectly... https://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin Jurgen Stefan Fritz schreef: Hi all, ist there already a Jalopy plugin for maven 2? I found http://mojo.codehaus.org/jalopy-maven-plugin/howto.html But it doesn't seem to work: [INFO] The plugin 'org.codehaus.mojo:maven-jalopy-plugin' does not exist or no valid version could be found TIA Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Among flowers, the cherry blossom. Among men, me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Jalopy Plugin?
Thanks Jurgen, can you tell me what I've to do, to tell maven to download it from this location? Or do I have to build it manually? Stefan -Original Message- From: Jurgen Lust [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 11:26 AM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? It hasn't been released on the central repository yet. You can check it out of subversion though, it works perfectly... https://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin Jurgen Stefan Fritz schreef: > Hi all, > > ist there already a Jalopy plugin for maven 2? > > I found http://mojo.codehaus.org/jalopy-maven-plugin/howto.html > > But it doesn't seem to work: > [INFO] The plugin 'org.codehaus.mojo:maven-jalopy-plugin' does > not > exist or no valid version could be found > > > TIA > Stefan > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Among flowers, the cherry blossom. Among men, me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Jalopy Plugin?
Stefan Fritz schreef: Thanks Jurgen, can you tell me what I've to do, to tell maven to download it from this location? Or do I have to build it manually? Yes, you should build it manually: mvn install will install it in your local repository, and then you can use it. Stefan -Original Message- From: Jurgen Lust [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 25, 2006 11:26 AM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? It hasn't been released on the central repository yet. You can check it out of subversion though, it works perfectly... https://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin Jurgen Stefan Fritz schreef: Hi all, ist there already a Jalopy plugin for maven 2? I found http://mojo.codehaus.org/jalopy-maven-plugin/howto.html But it doesn't seem to work: [INFO] The plugin 'org.codehaus.mojo:maven-jalopy-plugin' does not exist or no valid version could be found TIA Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Among flowers, the cherry blossom. Among men, me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Jalopy Plugin?
Sorry I'm a newbie: I compiled it and it installed in my local repository. My pom: ... org.codehaus.mojo maven-jalopy-plugin 1.0b11 ... mvn site [INFO] Scanning for projects... [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [site] [INFO] Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-jalopy-plugin/1.0b 11/maven-jalopy -plugin-1.0b11.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-jalopy-plugin/1.0b 11/maven-jalopy -plugin-1.0b11.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: maven-jalopy-plugin Version: 1.0b11 Reason: Unable to download the artifact from any repository org.codehaus.mojo:maven-jalopy-plugin:pom:1.0b11 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: 3 seconds [INFO] Finished at: Wed Jan 25 11:45:13 CET 2006 [INFO] Final Memory: 3M/5M [INFO] Another tip ? :-) Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] programmatic exclusion of a dependency
Hi people I'm trying to produce a fix for the cobertura mojo. When it instruments the code, it adds cobertura as a dependency to the projects 'test' cycle by doing this.project.setDependencyArtifacts( set ); where the set has included the artifact cobertura-1.7 in the 'test' scope. The problem is, is that the cobertura POM includes asm-2.1. This is a dependency for running cobertura to *instrument* the code, but it is not a dependency (and prevents it from working for hibernate projects) a dependency at runtime. I hoped I might be able to add a filter in order to prevent this happening - however I think the bit where the filter is used (DefaultPluginManager::resolveTransitiveDependencies) manually just creates a ScopeArtifactFilter, so I have no opportunity to change it to something that might scope out the dependency. Am I barking up the wrong tree here, or is there a better way of trying to do this?
Re: [m2] Jalopy Plugin?
Stefan Fritz schreef: Sorry I'm a newbie: I compiled it and it installed in my local repository. My pom: ... org.codehaus.mojo maven-jalopy-plugin 1.0b11 ... You are confusing the jalopy version with the jalopy plugin version. I believe the plugin version should be 1.0-SNAPSHOT (just look in the pom of the plugin) Jurgen -- Among flowers, the cherry blossom. Among men, me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Jalopy Plugin?
The plugin version isn't 1.0b11 but 1.0-SNAPSHOT Emmanuel Stefan Fritz a écrit : Sorry I'm a newbie: I compiled it and it installed in my local repository. My pom: ... org.codehaus.mojo maven-jalopy-plugin 1.0b11 ... mvn site [INFO] Scanning for projects... [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [site] [INFO] Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-jalopy-plugin/1.0b 11/maven-jalopy -plugin-1.0b11.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-jalopy-plugin/1.0b 11/maven-jalopy -plugin-1.0b11.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: maven-jalopy-plugin Version: 1.0b11 Reason: Unable to download the artifact from any repository org.codehaus.mojo:maven-jalopy-plugin:pom:1.0b11 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: 3 seconds [INFO] Finished at: Wed Jan 25 11:45:13 CET 2006 [INFO] Final Memory: 3M/5M [INFO] Another tip ? :-) Stefan - 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: Release plugin needs MAJOR warnings...
I believe there is also still an issue where if you have flattened the root pom to be alongside the sub modules - because Eclipse doesn't support nested Projects. If you then do a mvn release:prepare from the flattened root, it only seems to Tag the flattened root and NOTHING else i.e. not the sub modules. This makes it unusable for us. This was flagged back in Sept so hopefully there is is JIRA for this ? On 23/01/06, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > > Jason, > > > > WARNING: the release plugin performs several actions that are > > > potentially irreversible including modifying the pom.xml files as > > > well as performing SCM operations. > > > > Nothing is irreversible provided you are using an SCM correctly. > > That's not exactly true. The fact that the plugin created a new version > of a file is an irreversible change in many (most) SCM's. Yes, you can > alway checkout an older version of the file to restore it, but the fact > is, in the the history, you now have another version.Also, various > SCM reporting tools, etc... will now report that version/file as changed, > cruisecontrol/continuum will trigger a build, etc > > That said, going through and "restoring" a bunch of pom.xml files can take > time which is something that we usually don't have around release time. > > > Definitely good advice. When I make another pass at the release plug-in > > I'll add some notices until the release plug-in is production quality. > > I think it's widely known that the release plug-in is not production > > quality yet but we usually warn people in back channels. It should be > > more up-front with the release plug-ins capabilities. > > Agreed. The release plugin guide doesn't really mention that it isn't > completely production ready. My boss was glad I was experimenting with > it in our test repository and not the production one. > > > > Cause of that, we're going to be writing some perl > > > scripts or something to do something similar. > > > > Why not try to help improve the release plug-in? > > I wish I could, just no time.It's very easy to do a perl > search/replace for the version string and run a "svn cp trunk tags/TAG" > type of thing. It doesn't do everything the release plugin would do > (verify snapshot usage, etc...), but "good enough" for us for now. > > > A dry run mode would certainly be valuable. If that's not in JIRA I'll > > add that. > > dry run That's the phrase I was searching for. I was going nuts > this morning trying to think of that. I must be losing my mind... :-( > > Thanks! > -- > J. Daniel Kulp > Principal Engineer > IONA > P: 781-902-8727 C: 508-380-7194 > [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: [m2] Generating was5 ejb code ?
Be aware that using 'vanilla ant' to run the ws* tasks is not supported by IBM. You need to use the wsant batch/shell script. On 1/25/06, Lee Meador <[EMAIL PROTECTED]> wrote: > In the middle of this code: > > > inputJar="${project.build.directory}/${project.build.finalName}.jar" > workingDirectory="${project.build.directory}/temp" > > outputJar="${project.build.directory}/${project.build.finalName}.was5.jar" > washome="${was.home}" > trace="true" > quiet="false" /> > > you can add a classpath="" or classpathref="" to add references to the > various jars that supply the missing classes. > > I don't know the property that would supply that but suspect there is one > (hint, hint) > > I was doing the same thing for WAS 6 and have maven just execing my > build.xml which has the commands there. I came up with the list of jars for > it. > > -- Lee Meador > > On 1/23/06, Marcel Schutte <[EMAIL PROTECTED]> wrote: > > > > Hi Malcolm, > > > > Are the EJB classes it is complaining about inside the jar you are > > trying to generate the deploy code for? I seem to recall that WAS > > doesn't like it when EJB classes are not directly in the jar but > > instead are referenced through a manifest classpath entry. > > > > Regards, > > Marcel > > > > --- Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > > > > > > > > I am getting this error, any idea what the cause is ? > > > > > > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionHome.java(5): > > > CHKJ2907E: Type ejbs.DefaultSessionHome, or one of its supertypes, > > > cannot be reflected. Check the classpath. > > > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionBean.java(5): > > > CHKJ2907E: Type ejbs.DefaultSessionBean, or one of its supertypes, > > > cannot be reflected. Check the classpath. > > > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSession.java(5): > > > CHKJ2907E: Type ejbs.DefaultSession, or one of its supertypes, cannot > > > be reflected. Check the classpath. > > > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise > > > bean: DefaultSession): CHKJ2802E: class > > > ejbs.DefaultSessionBean, or one of its supertypes, cannot be > > > reflected. Check the classpath. > > > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise > > > bean: DefaultSession): CHKJ2803E: interface > > > ejbs.DefaultSessionHome, or one of its supertypes, cannot be > > > reflected. Check the classpath. > > > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise > > > bean: DefaultSession): CHKJ2804E: interface > > > ejbs.DefaultSession, or one of its supertypes, cannot be reflected. > > > Check the classpath. > > > > > > > > > __ > > 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] > > > > > > > -- > -- Lee Meador > Sent from gmail. My real email address is [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ "In order to succeed, your desire for success should be greater than your fear of failure." - Bill Cosby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Jalopy Plugin?
I chaged it to 1.0-SNAPSHOT but it still fails. I think it doesn't look in the local repository first. Do I have to tell maven to look first in my internal repository? Where? C:\dev\esb\services\myservice>mvn site [INFO] Scanning for projects... [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [site] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: maven-jalopy-plugin Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:maven-jalopy-plugin:pom:1.0-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: Wed Jan 25 12:41:21 CET 2006 [INFO] Final Memory: 3M/5M [INFO] -Original Message- From: Jurgen Lust [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 11:52 AM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? Stefan Fritz schreef: > Sorry I'm a newbie: > > I compiled it and it installed in my local repository. > > > My pom: > ... > > org.codehaus.mojo > maven-jalopy-plugin > 1.0b11 > > > ... > You are confusing the jalopy version with the jalopy plugin version. I believe the plugin version should be 1.0-SNAPSHOT (just look in the pom of the plugin) Jurgen -- Among flowers, the cherry blossom. Among men, me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Jalopy Plugin?
Aha, the artifactId is jalopy-maven-plugin, not maven-jalopy-plugin... Jurgen Stefan Fritz schreef: I chaged it to 1.0-SNAPSHOT but it still fails. I think it doesn't look in the local repository first. Do I have to tell maven to look first in my internal repository? Where? C:\dev\esb\services\myservice>mvn site [INFO] Scanning for projects... [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [site] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: maven-jalopy-plugin Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:maven-jalopy-plugin:pom:1.0-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: Wed Jan 25 12:41:21 CET 2006 [INFO] Final Memory: 3M/5M [INFO] -Original Message- From: Jurgen Lust [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 25, 2006 11:52 AM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? Stefan Fritz schreef: Sorry I'm a newbie: I compiled it and it installed in my local repository. My pom: ... org.codehaus.mojo maven-jalopy-plugin 1.0b11 ... You are confusing the jalopy version with the jalopy plugin version. I believe the plugin version should be 1.0-SNAPSHOT (just look in the pom of the plugin) Jurgen -- Among flowers, the cherry blossom. Among men, me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Jalopy Plugin?
THANKS! :-D From: Jurgen Lust [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 12:57 PM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? Aha, the artifactId is jalopy-maven-plugin, not maven-jalopy-plugin... Jurgen Stefan Fritz schreef: I chaged it to 1.0-SNAPSHOT but it still fails. I think it doesn't look in the local repository first. Do I have to tell maven to look first in my internal repository? Where? C:\dev\esb\services\myservice>mvn site [INFO] Scanning for projects... [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [site] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: maven-jalopy-plugin Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:maven-jalopy-plugin:pom:1.0-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: Wed Jan 25 12:41:21 CET 2006 [INFO] Final Memory: 3M/5M [INFO] -Original Message- From: Jurgen Lust [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 11:52 AM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? Stefan Fritz schreef: Sorry I'm a newbie: I compiled it and it installed in my local repository. My pom: ... org.codehaus.mojo maven-jalopy-plugin 1.0b11 ... You are confusing the jalopy version with the jalopy plugin version. I believe the plugin version should be 1.0-SNAPSHOT (just look in the pom of the plugin) Jurgen -- Among flowers, the cherry blossom. Among men, me.
[m2] Is it possible to include/exclude sources in maven like ant file/patternset?
Hi all, i want to reorganize our project(s) in steps, parallel to the standard development. is it possible to Do something like that: in Maven2 pom.xml? Also to reduce the sourceDirectory? Thanks Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Release plugin needs MAJOR warnings...
It's similar to this : http://jira.codehaus.org/browse/MRELEASE-6 Emmanuel Pete a écrit : I believe there is also still an issue where if you have flattened the root pom to be alongside the sub modules - because Eclipse doesn't support nested Projects. If you then do a mvn release:prepare from the flattened root, it only seems to Tag the flattened root and NOTHING else i.e. not the sub modules. This makes it unusable for us. This was flagged back in Sept so hopefully there is is JIRA for this ? On 23/01/06, Daniel Kulp <[EMAIL PROTECTED]> wrote: Jason, WARNING: the release plugin performs several actions that are potentially irreversible including modifying the pom.xml files as well as performing SCM operations. Nothing is irreversible provided you are using an SCM correctly. That's not exactly true. The fact that the plugin created a new version of a file is an irreversible change in many (most) SCM's. Yes, you can alway checkout an older version of the file to restore it, but the fact is, in the the history, you now have another version.Also, various SCM reporting tools, etc... will now report that version/file as changed, cruisecontrol/continuum will trigger a build, etc That said, going through and "restoring" a bunch of pom.xml files can take time which is something that we usually don't have around release time. Definitely good advice. When I make another pass at the release plug-in I'll add some notices until the release plug-in is production quality. I think it's widely known that the release plug-in is not production quality yet but we usually warn people in back channels. It should be more up-front with the release plug-ins capabilities. Agreed. The release plugin guide doesn't really mention that it isn't completely production ready. My boss was glad I was experimenting with it in our test repository and not the production one. Cause of that, we're going to be writing some perl scripts or something to do something similar. Why not try to help improve the release plug-in? I wish I could, just no time.It's very easy to do a perl search/replace for the version string and run a "svn cp trunk tags/TAG" type of thing. It doesn't do everything the release plugin would do (verify snapshot usage, etc...), but "good enough" for us for now. A dry run mode would certainly be valuable. If that's not in JIRA I'll add that. dry run That's the phrase I was searching for. I was going nuts this morning trying to think of that. I must be losing my mind... :-( Thanks! -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Shipping different environments - different property/xml files
I use profiles to select one subdir for resources vs another. This works well. But I haven't found a solution to name my archives with the environment (test or prod). I use the definition ${artifactId}-envname-${version} in my solution definition. In the target directory the archive is named right. But the archive which will be installed or deployed has the name without envname. Does anybody know a solution to my problem? TIA Regards, Martin ++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++
archetype for ear, ejb-jar, war and jar directory structure
Hi all Can someone tell me if the mvn archetype create has an option to create a nice, state of the art, directory structure for application server (J2EE) development in Eclipse? Somehow similar to the -DarchetypeArtifactId=maven-archetype-webapp. I tried e.g. -DarchetypeArtifactId=maven-archetype-ear, but not successfully. Or, do I have to create the structure manually, of course by respecting the "maven standardisation"? Many thanks in advance for all suggestions. Cheers, Roland
Re: Shipping different environments - different property/xml files
Have a look at these for some ideas http://www.nabble.com/How-to-for-building-for-different-environments-t494243.html#a1343428 http://www.nabble.com/How-to-use-different-context.xml-files--t444332.html#a1213765 On 24/01/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi there, > > Firstly, m2 rocks, it took some time to implement but what a great result. > Much faster, clearer esp. for web projects. > > So my question, I have read the doco, reviewed the lists and found many > things that might fit this bill and am confused as to best practice. I > wonder even if an extra plug-in might be needed and if so, will write it. > > Here is the issue: > > deploy targets: > > test > production > > differences: > > src/main/webapp/WEB-INF/applicationContext.hibernate.xml > src/main/webapp/WEB-INF/default.properties > > So between the two WARs generated for these environments, I need to have > different settings in these xml/properties files. I figure that I could : > > 1. Create an overlay directory tree per env. and sort of merge the overlay > over the standard WAR. > 2. Use profiles to somehow select one subdir for resources vs another. > 3. Something else, much smarter. > > Any ideas? It doesnt seem to be covered clearly in the doco or miniguides. > Unless of course I missed it! > > If I was to write a plugin I would be looking to call this sort of thing: > > m2 -Dship.to.env=test package > > which would merge into the WAR the test environment differences and > probably call the result myapp-test.war > > ATB > > Stuart Guthrie > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: [m2] Jalopy & Checkstyle compatible configuraiton files
Hi all, I got Jalopy and Checkstyle running but now I wonder whether anybody can tell where I can get configuration files for Jalopy and Checkstyle which adhere to the same coding convention e.g: sun coding convention. Regards Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: install-file generatePom not working in 2.0.2
I wiped my plugins and the reloaded and now all is well. I guess the -U command would have done the same. Thanks... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 5:04 PM To: Maven Users List Subject: Re: install-file generatePom not working in 2.0.2 You have the latest version of the install plugin? Try adding -U to the command. - Brett On 1/24/06, Frank Russo <[EMAIL PROTECTED]> wrote: > That sucks for me, eh? > > Does anyone know why this may be happening? I have the latest version... > > Frank Russo > Senior Developer > FX Alliance, LLC > > > -Original Message- > From: Kathryn Huxtable [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 24, 2006 3:01 PM > To: Maven Users List > Subject: Re: install-file generatePom not working in 2.0.2 > > I just tried it and it worked for me. Go figure. -K > > > On 1/24/06 1:47 PM, "Frank Russo" <[EMAIL PROTECTED]> wrote: > > > In the 2.0.1 release of Maven, the following worked: > > > > > > mvn install:install-file -Dfile=my.jar -DgroupId=my-group > > -DartifactId=my-art -Dpackaging=jar -Dversion=1.0 -DgeneratePom=true > > > > I just tried this for the first time with version 2.0.2, but no pom > > is > > > generated locally. > > > > Any ideas? Is there some way to turn this on, or is it broken again? > > > > Frank Russo > > Senior Developer > > FX Alliance, LLC > > 900 Third Avenue, 3rd Floor > > New York, NY 10022 > > 646.268.9949 > > > > > > -- > Kathryn Huxtable > Middleware Architect > Core Middleware > Information Technology, a division of Information Services The > University of Kansas > > > - > 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]
Difference between Maven 2.0.1 and 2.0.2
Hi Does anybody know the explicit difference e.g. changes between Maven 2.0.1 and 2.0.2 or know where to find it??? Regards. Christian Peter Zürcher Kantonalbank Tel. +41 (0) 44 292 95 36, Fax +41 (0) 44 292 94 67 Briefadresse: , http://www.zkb.ch ___ Disclaimer: Diese Mitteilung ist nur fuer die Empfaengerin / den Empfaenger bestimmt. Fuer den Fall, dass sie von nichtberechtigten Personen empfangen wird, bitten wir diese hoeflich, die Mitteilung an die ZKB zurueckzusenden und anschliessend die Mitteilung mit allen Anhaengen sowie allfaellige Kopien zu vernichten bzw. zu loeschen. Der Gebrauch der Information ist verboten. This message is intended only for the named recipient and may contain confidential or privileged information. If you have received it in error, please advise the sender by return e-mail and delete this message and any attachments. Any unauthorised use or dissemination of this information is strictly prohibited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Jalopy Plugin?
And it should me jalopy-maven-plugin. Plugins on apache are maven--plugin, plugins on mojo are xxx-maven-plugin. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 5:55 AM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? The plugin version isn't 1.0b11 but 1.0-SNAPSHOT Emmanuel Stefan Fritz a écrit : > Sorry I'm a newbie: > > I compiled it and it installed in my local repository. > > > My pom: > ... > > org.codehaus.mojo > maven-jalopy-plugin > 1.0b11 > > > ... > > > > mvn site > [INFO] Scanning for projects... > [INFO] > -- > -- > > [INFO] Building Maven Quick Start Archetype > [INFO]task-segment: [site] > [INFO] > -- > -- > > Downloading: > http://repo1.maven.org/maven2/org/codehaus/mojo/maven-jalopy-plugin/1. > 0b > 11/maven-jalopy > -plugin-1.0b11.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/codehaus/mojo/maven-jalopy-plugin/1. > 0b > 11/maven-jalopy > -plugin-1.0b11.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > [INFO] > -- > -- > > [ERROR] BUILD ERROR > [INFO] > -- > -- > > [INFO] Failed to resolve artifact. > > GroupId: org.codehaus.mojo > ArtifactId: maven-jalopy-plugin > Version: 1.0b11 > > Reason: Unable to download the artifact from any repository > > org.codehaus.mojo:maven-jalopy-plugin:pom:1.0b11 > > 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: 3 seconds > [INFO] Finished at: Wed Jan 25 11:45:13 CET 2006 [INFO] Final Memory: > 3M/5M [INFO] > -- > -- > > > > Another tip ? :-) > > Stefan > > - > 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: [m2] Jalopy Plugin?
On 25.01.2006, at 14:41, Brian E. Fox wrote: And it should me jalopy-maven-plugin. Plugins on apache are maven- -plugin, plugins on mojo are xxx-maven-plugin. Aaahhh.. that makes perfect sense. Not. Cheers, -Ralph. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 5:55 AM To: Maven Users List Subject: Re: [m2] Jalopy Plugin? The plugin version isn't 1.0b11 but 1.0-SNAPSHOT Emmanuel Stefan Fritz a écrit : Sorry I'm a newbie: I compiled it and it installed in my local repository. My pom: ... org.codehaus.mojo maven-jalopy-plugin 1.0b11 ... mvn site [INFO] Scanning for projects... [INFO] - - -- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [site] [INFO] - - -- Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-jalopy- plugin/1. 0b 11/maven-jalopy -plugin-1.0b11.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-jalopy- plugin/1. 0b 11/maven-jalopy -plugin-1.0b11.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] - - -- [ERROR] BUILD ERROR [INFO] - - -- [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: maven-jalopy-plugin Version: 1.0b11 Reason: Unable to download the artifact from any repository org.codehaus.mojo:maven-jalopy-plugin:pom:1.0b11 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: 3 seconds [INFO] Finished at: Wed Jan 25 11:45:13 CET 2006 [INFO] Final Memory: 3M/5M [INFO] - - -- Another tip ? :-) Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: :ext: CVS connection method
No, I don't know what's happen. Do you run the command line in the same directory that continuum do it: /srv/build/continuum/apps/continuum/working-directory/47 Can you remove all directories in /srv/build/continuum/apps/continuum/working-directory and retry to checkout with continuum? Generally your error appear when the output directory already exist. Emmanuel Carlo Bonamico a écrit : Hi Emmanuel, all... do you have any news about this issue? I made a few other tests but without result. Do I need to file a bug in Jira? Thanks Carlo Carlo Bonamico wrote: Hi Emmanuel, first of all, thanks for the prompt support! Emmanuel Venisse wrote: What is your version of Continuum? 1.0.2 Where is defined your CVS_RSH=ssh env var? I am using OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004 it is set in the configuration file /etc/profile.d/cvs.sh for all users of the Suse 9.3 server. If it can be useful to you, I get the same error if I manually launch continuum with plexus.sh Thanks again! Carlo Emmanuel Carlo Bonamico a écrit : Emmanuel Venisse wrote: Do you run continuum and cvs command line with the same user? yes. I launched continuum in console mode from the user continuum shell, and it does not work. Then as soon as I see the error, I copy the CVS command line from the error log and paste it on the same shell manually, and it works. Thanks for your help! Carlo Emmanuel Carlo Bonamico a écrit : Hi, I am trying to configure continuum to import a Maven 1.x project, but Continuum fails to checkout the sources from CVS using the:ext: method. In the project.xml, I specify this SCM URL scm:cvs:ext:[EMAIL PROTECTED]:/home/cvs:SANDBOX/sampleTestCVS Please note that continuum is the username under which the continuum service runs. The error is: jvm 1| 2006-01-17 16:41:41,436 [Thread-1] INFO ContinuumScm - Checking out project: 'SampleTestCVS', id: '47' to '/srv/build/continuum/apps/continuum/working-directory/47'. jvm 1| 2006-01-17 16:41:41,436 [Thread-1] DEBUG ScmManager - Working directory: /srv/build/continuum/apps/continuum/working-directory/47 jvm 1| 2006-01-17 16:41:41,437 [Thread-1] DEBUG ScmManager - Command line: cvs -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q checkout -d 47 SANDBOX/sampleTestCVS jvm 1| 2006-01-17 16:41:41,688 [Thread-1] WARN ContinuumScm - Error while checking out the code for project: 'SampleTestCVS', id: '47' to '/srv/build/continuum/apps/continuum/working-directory/47'. jvm 1| 2006-01-17 16:41:41,689 [Thread-1] WARN ContinuumScm - Command output: cvs checkout: in directory 47: jvm 1| cvs checkout: cannot open CVS/Entries for reading: No such file or directory jvm 1| cvs [checkout aborted]: cannot write file>: No such file or directory But if I launch the same cvs command line cvs -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q checkout -d 47 SANDBOX/sampleTestCVS manually, the checkout works fine. Thank you in advance for any suggestions.. Carlo p.s. I have configured the server for public key authentication, and if I go to the continuum machine console and perform an ssh server I can log into the server without being asked a password.
RE: m2: I'd like some help with maven-proxy
That was it. I copied that from somewhere and didn't notice it. Thanks... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 5:04 PM To: Maven Users List Subject: RE: m2: I'd like some help with maven-proxy maven-proxy works great for us. What would make maven-proxy look for a property named repo.dist-codehaus-org#.url? I bet you have something like this in your properties file: repo.list=local-repo,www-ibiblio-org,dist-codehaus-org# comment? If it isn't that exactly, search for "dist-codehaus-org#" and you should find the problem. A comment line has an ASCII '#' or '!' as its first non-white space character, according to: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html#load(j ava.io.InputStream) So a # in the middle of a line does not start a comment. -Max On Tue, 2006-01-24 at 16:43 -0500, Frank Russo wrote: > When trying to run maven-proxy, I get the following error: > > Error while loading properties: > Missing property: repo.dist-codehaus-org#.url > > This has to be wrong. Having a # sign in a line like that makes the > rest of the line a comment. Has anyone gotten the maven-proxy to work, > because I'm not having any luck? > > It makes me a little nervous that this is a 0.1 version only as well. > We need a solution that is going to be production ready. What are > people using out there for production? Is anyone using Maven 2 for > production at all? > > Thanks... > > > Frank Russo > Senior Developer > FX Alliance, LLC > > > -Original Message- > From: Tom Joad [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 24, 2006 9:22 AM > To: Maven Users List > Subject: Re: m2: I'd like some help with maven-proxy > > Hello , > I can only give you some hints how I do it. > All things are on the properties file. > My Configuration > A machine with internet connection. First maven proxy .I declare my > company http-proxy and public maven repositories on which to search > artifacts. > repo.list=local-repo,www-ibiblio-org,www-ibiblio-pub-org,,dist-codehau > s- > org > # This could also be achieved by having a local http repository, but > this is less cumbersome repo.local-repo.url=file:///./ > repo.local-repo.description=Super Secret Custom Repository #If copy is > true, jars are copied from the store to the proxy-repo. > Only configurable for file:/// repos > repo.local-repo.copy=false > #If hardfail is true, any unexpected errors from the repository will > cause #the client download to fail (typically with a 500 error) > repo.local-repo.hardfail=true #Don't cache a file repository > repo.local-repo.cache.period=0 > > > #www.ibiblio.org > repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2 > repo.www-ibiblio-org.description=www.ibiblio.org > repo.www-ibiblio-org.proxy=one > repo.www-ibiblio-org.hardfail=true > #Cache this repository for 1 hour > repo.www-ibiblio-org.cache.period=3600 > repo.www-ibiblio-org.cache.failures=true > > etc > > On a second machine with no internet connection, this is our internal > repository. > On the propertie file , I declare no proxy . > In repo-list paragraph I declare the first maven-proxy like above > repo.list=Myfirstrepo #www.ibiblio.org > repo.www-ibiblio-org.url=http://myfirstrepo.org > repo.www-ibiblio-org.description=myfirstrepo > repo.www-ibiblio-org.proxy=one > repo.www-ibiblio-org.hardfail=true > > On setings.xml, Developpers declare the internal repository in mirror > tag First maven-proxy is accessible only ,because of a private > network configuration, by the second one. so developpers can't > directly refer to it. > It works fine. There is a good synchronisation between my two > maven-proxies. > > I wish that can help you, > > Tom > > 2006/1/23, Frank Russo <[EMAIL PROTECTED]>: > > Can anyone point me to a good writeup on using maven-proxy in maven 2? > > The docs on the maven-proxy site at codehaus are not only subpar, > > but pretty much non-existant. > > > > Any help is much appreciated... > > > > Frank Russo > > Senior Developer > > FX Alliance, LLC > > 900 Third Avenue, 3rd Floor > > New York, NY 10022 > > 646.268.9949 > > > > > > > > > > - > 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]
[m2] Project setup for Hot Deploy
Hi I'm trying to adopt Maven for our project which consists of several ejb-jar modules and several wars. When building with Ant, we had the ability to hot deploy to our server using the Weblogic Deployer Tool. This I can still achieve using an Ant script executed via the antrun task. (I've looked at Cargo but this can't deal with hot deploy). The problem is that if we changed some jsp's, we were able to copy them over the exploded war directory and Weblogic would pick them up. Using Ant, only the changed files would be copied and so Weblogic wouldn't have to recompile all the jsp's again, only the one that changed. Using the Maven2 war:exploded target, I can get an exploded war file structure that I have my application.xml pointing at and hot deployed, but if we change a jsp, running the war:exploded task copies all of the files again, the result of which is that Weblogic recompiles all of the jsp's again and not just the changed one. I would like the war:exploded target to copy only the changed jsp files to the exploded war directory. **As a side note, the compile target for java has my desired behaviour by only compiling java files that have changed. Any ideas? Thanks Paul This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies within the Detica Group plc group of companies. Detica Limited is registered in England under No: 1337451. Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.
Re: :ext: CVS connection method
Emmanuel Venisse wrote: No, I don't know what's happen. Do you run the command line in the same directory that continuum do it: /srv/build/continuum/apps/continuum/working-directory/47 Can you remove all directories in /srv/build/continuum/apps/continuum/working-directory and retry to checkout with continuum? Generally your error appear when the output directory already exist. I just tried that. I deleted everything in working-directory and requested a build with "build now" on an existing project, and it fails with: Provider message: The cvs command failed. Command output: --- cvs checkout: in directory 52: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs [checkout aborted]: cannot write : No such file or directory --- The full continuum console log says: jvm 1| 2006-01-25 15:19:20,013 [SocketListener0-1] INFO ContinuumStore:jdo - project :52 jvm 1| 2006-01-25 15:19:20,018 [SocketListener0-1] INFO ContinuumStore:jdo - nb bd for project 52 : 1 - bd id : 62 jvm 1| 2006-01-25 15:19:20,018 [SocketListener0-1] INFO ContinuumStore:jdo - getDefaultBuildDefinition : 5ms jvm 1| 2006-01-25 15:19:20,068 [SocketListener0-1] INFO Continuum - Enqueuing 'SampleTestCVS' (Build definition id=62). jvm 1| 2006-01-25 15:19:20,349 [Thread-1] INFO ContinuumScm - Checking out project: 'SampleTestCVS', id: '52' to '/srv/build/continuum/apps/continuum/working-directory/52'. jvm 1| 2006-01-25 15:19:20,350 [Thread-1] DEBUG ScmManager - Working directory: /srv/build/continuum/apps/continuum/working-directory/52 jvm 1| 2006-01-25 15:19:20,350 [Thread-1] DEBUG ScmManager - Command line: cvs -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q checkout -d 52 SANDBOX/sampleTestCVS jvm 1| 2006-01-25 15:19:20,419 [SocketListener0-1] INFO ContinuumStore:jdo - project :52 jvm 1| 2006-01-25 15:19:20,426 [SocketListener0-1] INFO ContinuumStore:jdo - nb bd for project 52 : 1 - bd id : 62 jvm 1| 2006-01-25 15:19:20,426 [SocketListener0-1] INFO ContinuumStore:jdo - getDefaultBuildDefinition : 6ms jvm 1| 2006-01-25 15:19:20,611 [Thread-1] WARN ContinuumScm - Error while checking out the code for project: 'SampleTestCVS', id: '52' to '/srv/build/continuum/apps/continuum/working-directory/52'. jvm 1| 2006-01-25 15:19:20,611 [Thread-1] WARN ContinuumScm - Command output: cvs checkout: in directory 52: jvm 1| cvs checkout: cannot open CVS/Entries for reading: No such file or directory jvm 1| cvs [checkout aborted]: cannot write : No such file or directory jvm 1| jvm 1| 2006-01-25 15:19:20,611 [Thread-1] WARN ContinuumScm - Provider message: The cvs command failed. jvm 1| 2006-01-25 15:19:21,426 [Thread-1] INFO Notifier:mail - No mail recipients for 'SampleTestCVS'. The "cannot open CVS/Entries" error could also be related to a failed authentication. The same happens if I add a new project. My SCM url is a cvs:ext: url with a ssh protocol, configured with CVS_RSH="ssh" in /etc/profiles However, I just made this test: I went on the command line in the folder /srv/build/continuum/apps/continuum/working-directory if I delete the build directory (which is 52 in my case) working-directory> rm -rf 52 working-directory> cvs -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q checkout -d 52 SANDBOX/sampleTestCVS cvs correctly creates the 52 directory and does the checkout U 52/.classpath U 52/.cvsignore U 52/.project ... U 52/xdocs/navigation.xml If I run the same command again, it works. BUT, if I delete only the *content* of the 52 directory, and perform a cvs checkout, it fails, with the same CVS/Entries error as above: working-directory> rm -rf 52/* working-directory> cvs -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q checkout -d 52 SANDBOX/sampleTestCVS cvs checkout: in directory 52: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs [checkout aborted]: cannot write : No such file or directory So might the problem be that the directory 52 is already created by continuum before doing the checkout? In fact if I go to the working directory and delete all subdirectories, then request a build with Build Now in continuum, the build fails with the CVS/Entries error, while if I delete the working directory content and perform a cvs checkout with the same command line it works. I hope that this is useful to you! Anyway, thank you for your prompt support! Carlo
[m2] Axis webapp archetype
Hi all, is there somewhere an archettype for an complete axis-webapp? Is there somewhere a list of all archetypes? Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Including a portlet.xml when doing a war build ?
How do i include a portlet.xml into a war build ? DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or file which is attached to this message. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter return and/or destroy the original message. Any views of this communication are those of the sender except where the sender specifically states them to be those of Faritec (Holdings) Limited (Faritec) and/or any of its subsidiaries including (but not limited to) Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services (Proprietary) Limited, Faritec Contracting (Proprietary) Limited, Ebis and/or any of its subsidiaries. Please note that the recipient must scan this e-mail and any attached files for viruses and the like. While we do everything possible to protect information from viruses, Faritec accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access and/or downloading of any files which are attached to this e-mail message.
Fwd: Difference between Maven 2.0.1 and 2.0.2
Peter, go here http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=10500&fixfor=12125 Tony --- [EMAIL PROTECTED] wrote: > Subject: Difference between Maven 2.0.1 and 2.0.2 > To: "Maven Users List" > From: [EMAIL PROTECTED] > Date: Wed, 25 Jan 2006 14:31:50 +0100 > > Hi > > Does anybody know the explicit difference e.g. > changes between Maven > 2.0.1 and 2.0.2 or know where to find it??? > > Regards. > > Christian Peter > Zürcher Kantonalbank > > Tel. +41 (0) 44 292 95 36, Fax +41 (0) 44 292 94 67 > Briefadresse: , http://www.zkb.ch > ___ > > Disclaimer: > > > Diese Mitteilung ist nur fuer die Empfaengerin / den > Empfaenger > bestimmt. > > Fuer den Fall, dass sie von nichtberechtigten > Personen empfangen wird, > bitten wir diese hoeflich, die Mitteilung an die ZKB > zurueckzusenden > und anschliessend die Mitteilung mit allen Anhaengen > sowie allfaellige > Kopien zu vernichten bzw. zu loeschen. Der Gebrauch > der Information > ist verboten. > > > This message is intended only for the named > recipient and may contain > confidential or privileged information. > > If you have received it in error, please advise the > sender by return > e-mail and delete this message and any attachments. > Any unauthorised > use or dissemination of this information is strictly > prohibited. > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ 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]
Re: Difference between Maven 2.0.1 and 2.0.2
maven.apache.org > info reports > issue tracking > jira > changelog [EMAIL PROTECTED] wrote: Hi Does anybody know the explicit difference e.g. changes between Maven 2.0.1 and 2.0.2 or know where to find it??? Regards. Christian Peter Zürcher Kantonalbank Tel. +41 (0) 44 292 95 36, Fax +41 (0) 44 292 94 67 Briefadresse: , http://www.zkb.ch ___ Disclaimer: Diese Mitteilung ist nur fuer die Empfaengerin / den Empfaenger bestimmt. Fuer den Fall, dass sie von nichtberechtigten Personen empfangen wird, bitten wir diese hoeflich, die Mitteilung an die ZKB zurueckzusenden und anschliessend die Mitteilung mit allen Anhaengen sowie allfaellige Kopien zu vernichten bzw. zu loeschen. Der Gebrauch der Information ist verboten. This message is intended only for the named recipient and may contain confidential or privileged information. If you have received it in error, please advise the sender by return e-mail and delete this message and any attachments. Any unauthorised use or dissemination of this information is strictly prohibited. -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Logging configuration of surefire tests
Hi, I've been trying to configure the log output of m2 tests via a log4j.xml file in target/test-classes (which works in m1) but it seems not to be picking it up. Result is that test output is swamped with logging. Any pointers as to where/how the logging output for tests can be configured? Cheers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] hibernatedoclet problem
Having the same issue here. Any answers? On 1/16/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > Hi, > > I picked up the following snippet from this mailing list. The goal > runs without error messages but no sources are being generated. Any > clues? > > > > > org.codehaus.mojo > xdoclet-maven-plugin > > > generate-sources > > xdoclet > > > > destDir="${ > project.build.outputDirectory}" > > excludedtags="@version,@author,@todo,@param,@return,@see" > verbose="true" > force="true"> > dir="${basedir}/src/main/java"> > name="**/model/*.java"/> > > > > > > > > > > > > > Thanks, > Kees de Kooter > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: [m2] Project setup for Hot Deploy
> -Original Message- > From: Paul Hepworth [mailto:[EMAIL PROTECTED] > Sent: mercredi 25 janvier 2006 15:12 > To: Maven Users List > Subject: [m2] Project setup for Hot Deploy > > Hi > > I'm trying to adopt Maven for our project which consists of several > ejb-jar modules and several wars. > > When building with Ant, we had the ability to hot deploy to our server > using the Weblogic Deployer Tool. This I can still achieve using an Ant > script executed via the antrun task. (I've looked at Cargo but this > can't deal with hot deploy). Why do you say so? It can AFAIK. [snip] Thanks -Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Project setup for Hot Deploy
http://cargo.codehaus.org/WebLogic+8.x Has red crosses by the hot deploy sections. Even so, wouldn't I still get the problem that the war target is copying all of my jsp's again? -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: 25 January 2006 14:48 To: 'Maven Users List' Subject: RE: [m2] Project setup for Hot Deploy > -Original Message- > From: Paul Hepworth [mailto:[EMAIL PROTECTED] > Sent: mercredi 25 janvier 2006 15:12 > To: Maven Users List > Subject: [m2] Project setup for Hot Deploy > > Hi > > I'm trying to adopt Maven for our project which consists of several > ejb-jar modules and several wars. > > When building with Ant, we had the ability to hot deploy to our server > using the Weblogic Deployer Tool. This I can still achieve using an > Ant script executed via the antrun task. (I've looked at Cargo but > this can't deal with hot deploy). Why do you say so? It can AFAIK. [snip] Thanks -Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies within the Detica Group plc group of companies. Detica Limited is registered in England under No: 1337451. Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
configuring scm
Hi, I'm configuring the scm tag in the pom for use with continuum. Could someone explain what should be in the connection element? I don't understand the description here http://maven.apache.org/maven-model/maven.html#class_scm Thanks Chris __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
RE: [m2] Project setup for Hot Deploy
> -Original Message- > From: Paul Hepworth [mailto:[EMAIL PROTECTED] > Sent: mercredi 25 janvier 2006 15:53 > To: Maven Users List > Subject: RE: [m2] Project setup for Hot Deploy > > http://cargo.codehaus.org/WebLogic+8.x > > Has red crosses by the hot deploy sections. You know what? You're right! :-) I thought we had a deployer but I've checked the source code and found we don't have it yet. Scott, we need you! :-) > Even so, wouldn't I still get the problem that the war target is copying > all of my jsp's again? That could easily be implemented. It's actually a very good idea. We would need to implement a new Deployer that simply copies some files and not the full EAR, WAR, EJB. Quite easy to do. If you could create a JIRA issue for Cargo on this that would be very nice! :-) Thanks -Vincent > -Original Message- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: 25 January 2006 14:48 > To: 'Maven Users List' > Subject: RE: [m2] Project setup for Hot Deploy > > > > > -Original Message- > > From: Paul Hepworth [mailto:[EMAIL PROTECTED] > > Sent: mercredi 25 janvier 2006 15:12 > > To: Maven Users List > > Subject: [m2] Project setup for Hot Deploy > > > > Hi > > > > I'm trying to adopt Maven for our project which consists of several > > ejb-jar modules and several wars. > > > > When building with Ant, we had the ability to hot deploy to our server > > > using the Weblogic Deployer Tool. This I can still achieve using an > > Ant script executed via the antrun task. (I've looked at Cargo but > > this can't deal with hot deploy). > > Why do you say so? It can AFAIK. > > [snip] > > Thanks > -Vincent > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > This message should be regarded as confidential. If you have received this > email in error please notify the sender and destroy it immediately. > Statements of intent shall only become binding when confirmed in hard copy > by an authorised signatory. The contents of this email may relate to > dealings with other companies within the Detica Group plc group of > companies. > > Detica Limited is registered in England under No: 1337451. > > Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, > England. > > > > - > 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]
Application.xml
Hi All, How to dynamically add a new module in application.xml using maven. Regards Saravana
Re: [m2] hibernatedoclet problem
Are you using modules (sub projects)? Thanks Mick Knutson http://www.BASELogic.com http://www.MickKnutson.com MSN Messenger: [EMAIL PROTECTED] - Original Message - From: "Thomas Van de Velde" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Wednesday, January 25, 2006 6:40 AM Subject: Re: [m2] hibernatedoclet problem Having the same issue here. Any answers? On 1/16/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: Hi, I picked up the following snippet from this mailing list. The goal runs without error messages but no sources are being generated. Any clues? org.codehaus.mojo xdoclet-maven-plugin generate-sources xdoclet Thanks, Kees de Kooter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] hibernatedoclet problem
I installed Maven 2.0.2 the other day and after that it worked... Not sure what the root cause of the problem was. On 1/25/06, Thomas Van de Velde <[EMAIL PROTECTED]> wrote: > Having the same issue here. Any answers? > > On 1/16/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I picked up the following snippet from this mailing list. The goal > > runs without error messages but no sources are being generated. Any > > clues? > > > > > > > > > > org.codehaus.mojo > > xdoclet-maven-plugin > > > > > > generate-sources > > > > xdoclet > > > > > > > > > destDir="${ > > project.build.outputDirectory}" > > > > excludedtags="@version,@author,@todo,@param,@return,@see" > > verbose="true" > > force="true"> > > > dir="${basedir}/src/main/java"> > > > name="**/model/*.java"/> > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > Kees de Kooter > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- Kees de Kooter Boplicity Software tel +31 10 2427171 web http://www.boplicity.nl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Project setup for Hot Deploy
Done: http://jira.codehaus.org/browse/CARGO-259 -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: 25 January 2006 14:58 To: 'Maven Users List' Cc: 'Scott Ryan' Subject: RE: [m2] Project setup for Hot Deploy > -Original Message- > From: Paul Hepworth [mailto:[EMAIL PROTECTED] > Sent: mercredi 25 janvier 2006 15:53 > To: Maven Users List > Subject: RE: [m2] Project setup for Hot Deploy > > http://cargo.codehaus.org/WebLogic+8.x > > Has red crosses by the hot deploy sections. You know what? You're right! :-) I thought we had a deployer but I've checked the source code and found we don't have it yet. Scott, we need you! :-) > Even so, wouldn't I still get the problem that the war target is > copying all of my jsp's again? That could easily be implemented. It's actually a very good idea. We would need to implement a new Deployer that simply copies some files and not the full EAR, WAR, EJB. Quite easy to do. If you could create a JIRA issue for Cargo on this that would be very nice! :-) Thanks -Vincent > -Original Message- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: 25 January 2006 14:48 > To: 'Maven Users List' > Subject: RE: [m2] Project setup for Hot Deploy > > > > > -Original Message- > > From: Paul Hepworth [mailto:[EMAIL PROTECTED] > > Sent: mercredi 25 janvier 2006 15:12 > > To: Maven Users List > > Subject: [m2] Project setup for Hot Deploy > > > > Hi > > > > I'm trying to adopt Maven for our project which consists of several > > ejb-jar modules and several wars. > > > > When building with Ant, we had the ability to hot deploy to our > > server > > > using the Weblogic Deployer Tool. This I can still achieve using an > > Ant script executed via the antrun task. (I've looked at Cargo but > > this can't deal with hot deploy). > > Why do you say so? It can AFAIK. > > [snip] > > Thanks > -Vincent > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > This message should be regarded as confidential. If you have received > this email in error please notify the sender and destroy it immediately. > Statements of intent shall only become binding when confirmed in hard > copy by an authorised signatory. The contents of this email may > relate to dealings with other companies within the Detica Group plc > group of companies. > > Detica Limited is registered in England under No: 1337451. > > Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, > England. > > > > - > 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: configuring scm
We need to fix this description. In connection element, you must provide a scm url (http://maven.apache.org/scm/scm-url-format.html) Emmanuel Christopher Chase a écrit : Hi, I'm configuring the scm tag in the pom for use with continuum. Could someone explain what should be in the connection element? I don't understand the description here http://maven.apache.org/maven-model/maven.html#class_scm Thanks Chris __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: archetype for ear, ejb-jar, war and jar directory structure
I also could not use the ear archetype successfully, however I did find this link: http://jira.codehaus.org/browse/ARCHETYPE-8 which contains a sample project and have been using it successfully. It separates out ejbs, web app, other sources and includes an ear packaging project. Tim On 1/25/06, Roland Oertig <[EMAIL PROTECTED]> wrote: > Hi all > > Can someone tell me if the mvn archetype create has an option to create a > nice, state of the art, directory structure for application server (J2EE) > development in Eclipse? > > Somehow similar to the -DarchetypeArtifactId=maven-archetype-webapp. > > I tried e.g. -DarchetypeArtifactId=maven-archetype-ear, but not > successfully. > > > > Or, do I have to create the structure manually, of course by respecting the > "maven standardisation"? > > > > Many thanks in advance for all suggestions. > > Cheers, > > Roland > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
.svn directories in jar
Hi people, i have this problem: when i compile a project using m2, the created jar include the svn subdirectories and files (.svn, entries, format, etc) What can i do to generate the jar without this files? I think is a config problem. By the way, i'm new in this list and try to search previous mails but did not found anything. Thanks in advance. -- Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: :ext: CVS connection method
You're right, we create the directory before to run the checkout. You're the first one that have a problem with this. Please file an issue, i'll look at it later. Emmanuel Carlo Bonamico a écrit : Emmanuel Venisse wrote: No, I don't know what's happen. Do you run the command line in the same directory that continuum do it: /srv/build/continuum/apps/continuum/working-directory/47 Can you remove all directories in /srv/build/continuum/apps/continuum/working-directory and retry to checkout with continuum? Generally your error appear when the output directory already exist. I just tried that. I deleted everything in working-directory and requested a build with "build now" on an existing project, and it fails with: Provider message: The cvs command failed. Command output: --- cvs checkout: in directory 52: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs [checkout aborted]: cannot write : No such file or directory --- The full continuum console log says: jvm 1| 2006-01-25 15:19:20,013 [SocketListener0-1] INFO ContinuumStore:jdo - project :52 jvm 1| 2006-01-25 15:19:20,018 [SocketListener0-1] INFO ContinuumStore:jdo - nb bd for project 52 : 1 - bd id : 62 jvm 1| 2006-01-25 15:19:20,018 [SocketListener0-1] INFO ContinuumStore:jdo - getDefaultBuildDefinition : 5ms jvm 1| 2006-01-25 15:19:20,068 [SocketListener0-1] INFO Continuum - Enqueuing 'SampleTestCVS' (Build definition id=62). jvm 1| 2006-01-25 15:19:20,349 [Thread-1] INFO ContinuumScm - Checking out project: 'SampleTestCVS', id: '52' to '/srv/build/continuum/apps/continuum/working-directory/52'. jvm 1| 2006-01-25 15:19:20,350 [Thread-1] DEBUG ScmManager - Working directory: /srv/build/continuum/apps/continuum/working-directory/52 jvm 1| 2006-01-25 15:19:20,350 [Thread-1] DEBUG ScmManager - Command line: cvs -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q checkout -d 52 SANDBOX/sampleTestCVS jvm 1| 2006-01-25 15:19:20,419 [SocketListener0-1] INFO ContinuumStore:jdo - project :52 jvm 1| 2006-01-25 15:19:20,426 [SocketListener0-1] INFO ContinuumStore:jdo - nb bd for project 52 : 1 - bd id : 62 jvm 1| 2006-01-25 15:19:20,426 [SocketListener0-1] INFO ContinuumStore:jdo - getDefaultBuildDefinition : 6ms jvm 1| 2006-01-25 15:19:20,611 [Thread-1] WARN ContinuumScm - Error while checking out the code for project: 'SampleTestCVS', id: '52' to '/srv/build/continuum/apps/continuum/working-directory/52'. jvm 1| 2006-01-25 15:19:20,611 [Thread-1] WARN ContinuumScm - Command output: cvs checkout: in directory 52: jvm 1| cvs checkout: cannot open CVS/Entries for reading: No such file or directory jvm 1| cvs [checkout aborted]: cannot write : No such file or directory jvm 1| jvm 1| 2006-01-25 15:19:20,611 [Thread-1] WARN ContinuumScm - Provider message: The cvs command failed. jvm 1| 2006-01-25 15:19:21,426 [Thread-1] INFO Notifier:mail - No mail recipients for 'SampleTestCVS'. The "cannot open CVS/Entries" error could also be related to a failed authentication. The same happens if I add a new project. My SCM url is a cvs:ext: url with a ssh protocol, configured with CVS_RSH="ssh" in /etc/profiles However, I just made this test: I went on the command line in the folder /srv/build/continuum/apps/continuum/working-directory if I delete the build directory (which is 52 in my case) working-directory> rm -rf 52 working-directory> cvs -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q checkout -d 52 SANDBOX/sampleTestCVS cvs correctly creates the 52 directory and does the checkout U 52/.classpath U 52/.cvsignore U 52/.project ... U 52/xdocs/navigation.xml If I run the same command again, it works. BUT, if I delete only the *content* of the 52 directory, and perform a cvs checkout, it fails, with the same CVS/Entries error as above: working-directory> rm -rf 52/* working-directory> cvs -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q checkout -d 52 SANDBOX/sampleTestCVS cvs checkout: in directory 52: cvs checkout: cannot open CVS/Entries for reading: No such file or directory cvs [checkout aborted]: cannot write : No such file or directory So might the problem be that the directory 52 is already created by continuum before doing the checkout? In fact if I go to the working directory and delete all subdirectories, then request a build with Build Now in continuum, the build fails with the CVS/Entries error, while if I delete the working directory content and perform a cvs checkout with the same command line
Forgot password
Ok, if I forgot my continuum password (which is the only admin account), what corrective measure (besides reinstall) do I have? thanks -bob
another "cycle was detected" during multiproject
Hello I'm trying to build an ear with maven 1.1-beta2 the structure is like this: I have two levels of repertories: the root at top level with the main project.xml and 3 subdirectories with a project.xml inherited from the main project.xml. a jar directory where we can find the java sources. a war directory that depend on the jar build earlier an ear directory that depend on the war build when I build the subproject in the order: 1) jar (jar:install) 2) war (war:install) 3) ear (ear:install) there is no problem, but at top level I try to use the reactor to attain the 3 goals in the same order, I have an exception: " a cycle was detected". The reactor build the jar and the war successfully but failed in building the ear. at top level my maven.xml is: Any help would be...very...helpful Florian
Re: Application.xml
Have problems with this myself. I get on module added. My pom.xml: org.apache.maven.plugins maven-ear-plugin com.mycompany.Test test-ejb com.mycompany.app my-webapp / --- using> mvn ear:ear creates only on entry for the webmodul in application.xml I had to manually add the other modul in this/target/META-INF/application.xml test-ejb-1.0.1.jar next run with ear:ear do not create a new applicatin.xml so luckily I get it packed im my ear. Stein [EMAIL PROTECTED] writes: Hi All, How to dynamically add a new module in application.xml using maven. Regards Saravana - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Java Web User Group / BOF XV / Oracle City of London / Frid ay 3rd February 2006 @ 19:00
Dear All I would like to formally announce that JAVAWUG (Java Web User Group) is holding the fifteenth Birds-of-Feather (Meet up) at the ``Oracle City of London'' offices on Friday, 3rd January 2006. The meeting will take place in a room with Audio/Visual facilities between 7-9:30 pm. There will be a series of presentations, Quickies, inspired by the JavaPolis short presentation format. The confirmed speakers, in alphabetically order, are: Duncan Mills ``Java ServerFaces Security'' Emmanuel Okeyere ``RIFE framework'' Peter Pilgrim ``Experiences with AJAX'' Afterwards members can retire to the nearby ``Red Lion'' pub or the ``All Bar One'' pub/restaurant for more in depth discussion dinner, food and drink ... The address is: Oracle City Of London One South Place London, England EC2M 2RB. If you would like to attend 1) Join the JAVAWUG at Google Groups http://groups.google.com/group/javawug/manage_members Send a mail to the list you are attending. 2) Send mail to myself or duncan dot mills at oracle.com Here is some relevant travel information By Underground: - Moorgate: Take the Moorgate East exit, turn right, one block to South Place. Bank: Take the Northern line to Moorgate. Liverpool Street: Take the Broadgate exit, turn right onto South Place Map: http://www.oracle.com/global/uk/corporate/locations/citymap.html The venue has graciously been organised by Duncan Mills of Oracle. We all appreciate this generous gift. http://www.javawug.com/ http://jroller.com/page/peter_pilgrim -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse Group - "One Bank", Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 peter dot pilgrim at credit-suisse.com == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Wagon fails with HTTP destination
> It seems nobody has ever tried http. That's certainly not true, but you are right that WebDAV support has been very quiet on these lists. I found the instructions here to be useful: http://jira.codehaus.org/browse/MNG-1580 -- /v\atthew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] question about reuse of war projects
Hi there, Suppose you have a war artifact (a.war) created by project A and decide to reuse it in project B by copying 'a.war' content into 'b.war' and updating with new information. Does anybody know if this is possible using Maven ? I was wondering if I could have a template war project in order to reuse it in other projects. Any help will be appreciated. Dário - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] question about reuse of war projects
Yes it is possible. The svn version of the war plugin does something like that, but I personally haven't used it. I currently create a war and exclude all jars etc. I think use the dependency plugin to unpack it early in by build lifecycle of the dependent war. Works like a charm for me. The only problem is I need to manually maintain the transitive dependencies of the wars. -Original Message- From: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 11:28 AM To: Maven Users List Subject: [m2] question about reuse of war projects Hi there, Suppose you have a war artifact (a.war) created by project A and decide to reuse it in project B by copying 'a.war' content into 'b.war' and updating with new information. Does anybody know if this is possible using Maven ? I was wondering if I could have a template war project in order to reuse it in other projects. Any help will be appreciated. Dário - 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] javadoc plugin and offline links
Hi, I'm trying to use the javadoc plugin (beta-3) in offline mode. It looked like it was not taking into account the offlineLinks parameter, so i looked into the sources and found something strange (in JavadocReport.java, line 829): if ( !isOffline ) { addLinkArguments( arguments ); addLinkofflineArguments( arguments ); ... } Is not the linkoffline parameter intended to link the javadoc when i am offline? Is it a bug or maybe i did not correcly understand the code. Thanks David DIDIER - Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta.
[m2] Anyone have any examples of using springdoclet?
I have spring setup in maven, as well as hibernate and hibernate works fine. I want to see someone's java code that they are using to generate the spring descriptors. Thanks Mick Knutson http://www.BASELogic.com http://www.MickKnutson.com MSN Messenger: [EMAIL PROTECTED]
Re: Forgot password
You need to modify manually database. Change your password in User table, password must be encrypted whith sha1. Emmanuel Bob Herrrmann a écrit : Ok, if I forgot my continuum password (which is the only admin account), what corrective measure (besides reinstall) do I have? thanks -bob
Maven manual Release steps ?
Given that the mvn release:prepare / perform still has known major issues. Does anyone out there have a reliable method for doing a manual release. e.g . 1) Can you just do a search and replace 1.0-SNAPSHOT replace with 1.0 I guess you have to look at each dependency first ? 2) Then check into SCM 3) Then do you do a CVS label / tag 4) Then do you do a second search and replace for 1.0< 1.0 replace with 1.1-SNAPSHOT Again I guess you have to look at all dependencies first ? 5) Then check into SCM again ? Any thoughts on how to semi automate the replace steps ? or at least document how to do a manual mvn release.
RE: Maven manual Release steps ?
I just did one yesterday and you pretty much have the steps correct. I opted to check out the tag for the official release build, mimicking release. You just need to be careful that your find and replace only gets what you want. Fortunately for me, we where using 4 digit releases (2.1.0.0) that didn't conflict. -Original Message- From: Pete [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 12:58 PM To: Maven Users List Subject: Maven manual Release steps ? Given that the mvn release:prepare / perform still has known major issues. Does anyone out there have a reliable method for doing a manual release. e.g . 1) Can you just do a search and replace 1.0-SNAPSHOT replace with 1.0 I guess you have to look at each dependency first ? 2) Then check into SCM 3) Then do you do a CVS label / tag 4) Then do you do a second search and replace for 1.0< 1.0 replace with 1.1-SNAPSHOT Again I guess you have to look at all dependencies first ? 5) Then check into SCM again ? Any thoughts on how to semi automate the replace steps ? or at least document how to do a manual mvn release. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: configuring scm
There is a patch available in http://jira.codehaus.org/browse/MNG-1677 -- Dennis Lundberg Emmanuel Venisse wrote: We need to fix this description. In connection element, you must provide a scm url (http://maven.apache.org/scm/scm-url-format.html) Emmanuel Christopher Chase a écrit : Hi, I'm configuring the scm tag in the pom for use with continuum. Could someone explain what should be in the connection element? I don't understand the description here http://maven.apache.org/maven-model/maven.html#class_scm Thanks Chris __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - 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]
Using Maven 2 from Eclipse/RAD 6.0
Can I use Maven 2 with Eclipse / Rational Application Developer 6.0? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Anyone have any examples of using springdoclet?
It is quite similar to the hibernate stuff: One problem I have not solved yet: xdoclet chokes on JDK 5 generics syntax: List - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
pdf of maven documentation
Is maven documentation available in pdf (or some form other than a million little html files)? Getting started is so much faster and easier on the eyes when one can just print (most) everything out, mark it up, etc. Thank you, --John John Napier Sr. Software Engineer Infrastructure Group [EMAIL PROTECTED] BEA Systems, Inc. 4 Van de Graaf Drive Burlington MA 01803 Fax: 781-993-7601 www.bea.com http://www.bea.com/>
Re: Forgot password
Yikes, I have no USER table, there are about 15 tables under the SA schmea, but no USER table. There is a USERGROUP table. I thought it was a little gruff when it through an exception when attempting to log in. Looks like my DB got corrupted. I did run it in console mode (run.sh console) and used control-c to exit (by accident - wrong xterm), I wonder it that could have trashed it. -bob On 1/25/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > You need to modify manually database. > Change your password in User table, password must be encrypted whith sha1. > > Emmanuel > > Bob Herrrmann a écrit : > > Ok, if I forgot my continuum password (which is the only admin account), > > what corrective measure (besides reinstall) do I have? > > > > thanks > > -bob > > > >
mvn and java.library.path
Hi, I'm in the process of moving from Maven 1 and Tomcat to Maven 2 and Jetty. I'm having a problem, though, that I'm not understanding. I have a program (that is a 3rd party app, not open source) that calls some native libraries. When I run the program (a webapp) in standalone Jetty, it works fine. Also, when I write a little sample app that tries to load the native libs from my command line it works fine. But, when I try to run the webapp from within the Jetty6/Maven2 plugin it doesn't work. I'm running: mvn -X -Djava.library.path=/usr/local/lib jetty6:run I have a ServletContextListener that can check that the java.library.path is set correctly in the servlet loaded by Jetty (System.getProperty()); then it tries to System.loadLibrary(). However, when I run this in the Maven2/Jetty6 plugin, unlike whenI run it in the standalone Jetty, I get: java.lang.UnsatisfiedLinkError: no awj2k in java.library.path There seems to be something about trying to load a library from within Maven2/Jetty6 that is not working for me and I'm stumped. Any ideas? The debugging statements output from mvn haven't given me any clues. Thanks, Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Extending Maven's POM XML
Hi, Is it possible to extend the XML description for POMs in Maven 2? Best regards, -- Jean Safar
Re: [m2] Anyone have any examples of using springdoclet?
I am actually trying to see how you are using it in your java classes. Do you have any examples of that? Thanks Mick Knutson http://www.BASELogic.com http://www.MickKnutson.com MSN Messenger: [EMAIL PROTECTED] - Original Message - From: "Kees de Kooter" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Wednesday, January 25, 2006 12:31 PM Subject: Re: [m2] Anyone have any examples of using springdoclet? It is quite similar to the hibernate stuff: One problem I have not solved yet: xdoclet chokes on JDK 5 generics syntax: List - 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: Extending Maven's POM XML
jean safar wrote: Hi, Is it possible to extend the XML description for POMs in Maven 2? No, but we are discussing adding a element to the POM for general extensions. We are thinking about changes to the POM for integration testing so this might all get rolled into 2.0.3. Currently you cannot have custom extensions in the POM. Best regards, -- Jean Safar -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org Three people can keep a secret provided two of them are dead. -- Unknown - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] programmatic exclusion of a dependency
Nigel Magnay wrote: Hi people I'm trying to produce a fix for the cobertura mojo. When it instruments the code, it adds cobertura as a dependency to the projects 'test' cycle by doing this.project.setDependencyArtifacts( set ); where the set has included the artifact cobertura-1.7 in the 'test' scope. The problem is, is that the cobertura POM includes asm-2.1. This is a dependency for running cobertura to *instrument* the code, but it is not a dependency (and prevents it from working for hibernate projects) a dependency at runtime. I hoped I might be able to add a filter in order to prevent this happening - however I think the bit where the filter is used (DefaultPluginManager::resolveTransitiveDependencies) manually just creates a ScopeArtifactFilter, so I have no opportunity to change it to something that might scope out the dependency. Am I barking up the wrong tree here, or is there a better way of trying to do this? This smells like a scoping problem. ASM is not required for test execution (runtime) by Cobertura, ASM is only needed for swizzling the class files and that part is run during the process-classes phase. Cobertura itself needs it to compile and to instrument but ASM shouldn't end up in the test or runtime scopes/classpaths. I think this points to a tool scope or something akin to it. If that proves to be the case it's probably not going to be fixed for 2.0.3. A solution might be to add an artifact exclusion configuration to surefire (possibly only for forking mode). Then the lifecycle.xml for the Cobertura plug-in which controls the execution of surefire could exclude ASM during test runs. That could probably make it into the surefire plug-in's next release if that solution works. That's all I can think of off the top of my head. I add this for you: http://jira.codehaus.org/browse/MSUREFIRE-51 -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven and IDE's (Idea, mostly)
Geoffrey De Smet wrote: The latest maven idea plugin release generates ipr's etc, but contain many problems, however they have fixed those problems in the next version. I use the latest snapshot of the idea plugin with maven 2.0.2 (requires at least 2.0.1, 2.0 will corrupt it) and this works like a charm: mvn idea:idea even in multiprojects We'll try but I'm not sure that will make it into the release cycle for plug-ins in the next 25-30 days. So I hope they release the new version of the idea plugin soon :) Willis Morse wrote: I finally decided to look at Maven, and I'm wondering how what the actual workflow is when I use an IDE such as Idea. I used to use Eclipse, and I remember at one point there was a plugin that kept an Eclipse project (.project file) continuously in sync with the POM file. So if you use the Eclipse UI to add another source path or an external JAR, the POM gets updated automatically. With Idea, it looks like you can only take an existing POM and generate an Idea project file, and it seems like a oneway trip. Any modifications that you make to the project using Idea's UI will only live in the Idea project and will get wiped the next time you generate the project from the POM. Is this the case? Further, Idea has a refactoring that will move code between different Idea modules. If each Idea module corresponds to a Maven repository, is there any hope of having this refactoring work on the POMs, too? Thanks, Willis Morse -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Is it possible to include/exclude sources in maven like ant file/patternset?
Fredy wrote: Hi all, i want to reorganize our project(s) in steps, parallel to the standard development. is it possible to Do something like that: in Maven2 pom.xml? Also to reduce the sourceDirectory? Sorry, not possible. One strategy I often use is to write a simple shell script which breaks apart a project you may be trying to decouple. I write all the necessary POMs and leave the original project intact so that the old and new work together. When the new stuff works I run the script one last time and replace the old stuff. Thanks Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org Our achievements speak for themselves. What we have to keep track of are our failures, discouragements and doubts. We tend to forget the past difficulties, the many false starts, and the painful groping. We see our past achievements as the end result of a clean forward thrust, and our present difficulties as signs of decline and decay. -- Eric Hoffer, Reflections on the Human Condition - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: archetype for ear, ejb-jar, war and jar directory structure
Roland Oertig wrote: Hi all Can someone tell me if the mvn archetype create has an option to create a nice, state of the art, directory structure for application server (J2EE) development in Eclipse? Somehow similar to the -DarchetypeArtifactId=maven-archetype-webapp. I tried e.g. -DarchetypeArtifactId=maven-archetype-ear, but not successfully. http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIgetalistofarchetypes%3F Or, do I have to create the structure manually, of course by respecting the "maven standardisation"? Many thanks in advance for all suggestions. Cheers, Roland -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org First, the taking in of scattered particulars under one Idea, so that everyone understands what is being talked about ... Second, the separation of the Idea into parts, by dividing it at the joints, as nature directs, not breaking any limb in half as a bad carver might. -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ContinuumBuildExecutorException: Could not find Maven project descriptor
I'm getting an exception and not sure why it means. Being new to Continuum I have yet to get it to build any of my modules. Here is my platform Red Hat Maven 2.0.2 Continuum 1.0.2 Java 1.5.0_06 I'm getting this exception when running a build on a single, simple module within my multi-module structure. org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:111) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectory ContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction .java:62) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:169) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:53) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) Most of the settings are supposed to come from the parent pom. My Maven compile and package of the modules works correctly. The pom.xml of the sub-module I am trying to execute is this. 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";> 4.0.0 com.fourfivefour.myproject myproject jar 0.9 myproject todo com.fourfivefour AppJavaModules 1.0 scm:cvs:pserver:[EMAIL PROTECTED]:/home/Repository:AppJava LEGAL NOTICE: Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
Re: [m2] Axis webapp archetype
Fredy wrote: Hi all, is there somewhere an archettype for an complete axis-webapp? Currently there is not. Is there somewhere a list of all archetypes? http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIgetalistofarchetypes%3F Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org We all have problems. How we deal with them is a measure of our worth. -- Unknown - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Project setup for Hot Deploy
Paul Hepworth wrote: Hi I would like the war:exploded target to copy only the changed jsp files to the exploded war directory. **As a side note, the compile target for java has my desired behaviour by only compiling java files that have changed. Any ideas? We are thinking about tools to generally help us with that problem. To be able to declaratively state inputs and outputs so that we can compare and perform the necessary actions. For the WAR plugin specifically we could probably add a touch file to compare the sources to so that only modified files were copied. Check JIRA and raise an issue if it's not already there. Thanks Paul This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies within the Detica Group plc group of companies. Detica Limited is registered in England under No: 1337451. Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England. -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org Simplex sigillum veri. (Simplicity is the seal of truth.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: configuring scm
Christopher Chase wrote: Hi, I'm configuring the scm tag in the pom for use with continuum. Could someone explain what should be in the connection element? I don't understand the description here http://maven.apache.org/maven-model/maven.html#class_scm Here's an example from Maven's POM: scm:svn:http://svn.apache.org/repos/asf/maven/components/trunk scm:svn:https://svn.apache.org/repos/asf/maven/components/trunk http://svn.apache.org/viewcvs.cgi/maven/components/trunk Thanks Chris __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: .svn directories in jar
Ither Seed wrote: Hi people, i have this problem: when i compile a project using m2, the created jar include the svn subdirectories and files (.svn, entries, format, etc) What can i do to generate the jar without this files? I think is a config problem. By the way, i'm new in this list and try to search previous mails but did not found anything. Thanks in advance. The .svn files are excluded and do not show up in JAR files produced by Maven. You would have to show us what your project tree looks like. Can't think of why the entries might be showing up. -- Pablo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org the course of true love never did run smooth ... -- Shakespeare - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] question about reuse of war projects
Dário Luís Coneglian Oliveros wrote: Hi there, Suppose you have a war artifact (a.war) created by project A and decide to reuse it in project B by copying 'a.war' content into 'b.war' and updating with new information. Does anybody know if this is possible using Maven ? I was wondering if I could have a template war project in order to reuse it in other projects. Any help will be appreciated. You might want to look at Archetypes. Archetypes are general project templates made for reuse: http://maven.apache.org/guides/introduction/introduction-to-archetypes.html Dário - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pdf of maven documentation
John Napier wrote: Is maven documentation available in pdf (or some form other than a million little html files)? Currently we don't have PDF generation, but there is an issue raised in JIRA I believe: http://jira.codehaus.org/browse/DOXIA Getting started is so much faster and easier on the eyes when one can just print (most) everything out, mark it up, etc. Thank you, --John John Napier Sr. Software Engineer Infrastructure Group [EMAIL PROTECTED] BEA Systems, Inc. 4 Van de Graaf Drive Burlington MA 01803 Fax: 781-993-7601 www.bea.com http://www.bea.com/> -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven 2 from Eclipse/RAD 6.0
Dixit, Sandeep (ProSource Solutions) wrote: Can I use Maven 2 with Eclipse / Rational Application Developer 6.0? You mean from inside Eclipse? http://maven.apache.org/eclipse-plugin.html Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What does SNAPSHOT mean as opposed to 1.0-SNAPSHOT
I understand that 1.0-SNAPSHOT means the artifact is still under development, and working towards a 1.0Release. But what does SNAPSHOT mean ? I am trying to understand if it can help when doing a Maven Release using a manual approach (i.e updating pom versions manually, as the mvn release plugin still has issues)
[m2] [webstart] Dealing with already signed jars
Hi all, One of the last thing I want to fix before making the m2 webstart plugin beta is related to signing jars that are already signed. I haven't had to face the issue yet, but it seems that there's a potential issue when dealing with including such dependencies in a webstart application. In particular see: http://jira.codehaus.org/browse/MOJO-7#action_49160 and the relevant m1 jnlp issues: http://jira.codehaus.org/browse/MPJNLP-20 http://jira.codehaus.org/browse/MPJNLP-28 I would appreciate feedback (and better: test cases) to avoid releasing an m2 plugin that doesn't solve these problems. Cheers, Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What does SNAPSHOT mean as opposed to 1.0-SNAPSHOT
Pete wrote: I understand that 1.0-SNAPSHOT means the artifact is still under development, and working towards a 1.0Release. But what does SNAPSHOT mean ? We don't use this convention anymore. We always try to show moving toward the next version. I am trying to understand if it can help when doing a Maven Release using a manual approach (i.e updating pom versions manually, as the mvn release plugin still has issues) -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org A man enjoys hsi work when he understands the whole and when he is responsible for the quality of the whole -- Christopher Alexander, A Pattern Language - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pdf of maven documentation
If its just for the convenience of printing it out, perhaps we could format the Maven 2 guides using CSS stylesheets. See pages on this website: http://www.ird.govt.nz/ Try a File -> Print Preview from the browser menu and the CSS formats them for printing purposes. Cheers, Rahul Jason van Zyl wrote: John Napier wrote: Is maven documentation available in pdf (or some form other than a million little html files)? Currently we don't have PDF generation, but there is an issue raised in JIRA I believe: http://jira.codehaus.org/browse/DOXIA Getting started is so much faster and easier on the eyes when one can just print (most) everything out, mark it up, etc. Thank you, --John John Napier Sr. Software Engineer Infrastructure Group [EMAIL PROTECTED] BEA Systems, Inc. 4 Van de Graaf Drive Burlington MA 01803 Fax: 781-993-7601 www.bea.com http://www.bea.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: War
Hi Elizabeth, You can set the source directory using the warSourceDirectory parameter, which has a default value of ${basedir}/src/main/webapp, in the pom.xml as shown below: ... sample.plugin ... path/to/directory ... Thanks, Odea Sommers, Elizabeth wrote: I want to use the maven war plugin on a non-compliant (to maven2) directory setup. I think that the configuration takes place in the pom.xml - but I have no idea how this needs to be configured. Any help will be appreciated. Thanks liz sommers [EMAIL PROTECTED] http://www.pragmatics.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]
Re: [m2] Anyone have any examples of using springdoclet?
You mean something like this? /** * @spring.bean * id="machineDao" * * @spring.property * name="sessionFactory" * ref="sessionFactory" */ public class MachineDao extends MasterDao { ... } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pdf of maven documentation
The Maven generated sites already have a print stylesheet that stripts navigation and banners. - Brett On 1/26/06, Rinku <[EMAIL PROTECTED]> wrote: > > If its just for the convenience of printing it out, perhaps we could > format the Maven 2 guides using CSS stylesheets. > > See pages on this website: > http://www.ird.govt.nz/ > > Try a File -> Print Preview from the browser menu and the CSS formats > them for printing purposes. > > Cheers, > Rahul > > > Jason van Zyl wrote: > > John Napier wrote: > >> Is maven documentation available in pdf (or some form other than a > >> million little html files)? > >> > > > > Currently we don't have PDF generation, but there is an issue raised > > in JIRA I believe: > > > > http://jira.codehaus.org/browse/DOXIA > > > >> > >> Getting started is so much faster and easier on the eyes when one can > >> just print (most) everything out, mark it up, etc. > >> > >> > >> > >> Thank you, > >> > >> --John > >> > >> > >> > >> John Napier > >> Sr. Software Engineer > >> > >> Infrastructure Group > >> [EMAIL PROTECTED] > >> BEA Systems, Inc. > >> 4 Van de Graaf Drive > >> Burlington MA 01803 > >> Fax: 781-993-7601 > >> www.bea.com http://www.bea.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]
Re: [m2] filePermissions not being used on mvn deploy
This should have been fixed in wagon 1.0-alpha-6, which is included in Maven 2.0.2. What version are you using? - Brett On 1/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote: > I have the same problem. > > Please, someone, tell us where to report this. > > -K > > > On 1/24/06 10:50 PM, "Treloar, Barrie (SAPOL)" > <[EMAIL PROTECTED]> wrote: > > > I am finding that when I deploy my snapshots to our internal repository that > > the created files do not have group write permissions. > > > > My umask on that unix machine is 022, but from what I can tell I should not > > have to change my umask because the section of settings.xml can > > specify both filePermissions and directoryPermissions. > > > > [EMAIL PROTECTED]:/usr/local/www/default/maven2_repositories > l > > inhouse_snapshot/XXX/XXX/0.0.1-SNAPSHOT/ > > total 65 > > drwxrwsr-x2 XXX other1024 Jan 25 15:17 ./ > > drwxrwsr-x3 XXX other 512 Jan 24 15:59 ../ > > -rw-r--r--1 XXX other 340 Jan 25 15:17 maven-metadata.xml > > -rw-r--r--1 XXX other 32 Jan 25 15:17 > > maven-metadata.xml.md5 > > -rw-r--r--1 XXX other 40 Jan 25 15:17 > > maven-metadata.xml.sha1 > > ... > > -rw-r--r--1 XXX other 10030 Jan 25 15:17 > > XXX-0.0.1-20060125.044219-5.pom > > -rw-r--r--1 XXX other 32 Jan 25 15:17 > > XXX-0.0.1-20060125.044219-5.pom.md5 > > -rw-r--r--1 XXX other 40 Jan 25 15:17 > > XXX-0.0.1-20060125.044219-5.pom.sha1 > > > > My settings.xml has the following entry: > > > > inhouse_snapshot > > XXX > > XXX > > 664 > > 775 > > > > > > My pom.xml has: > > > > > > inhouse > > Internal Release Repository > > > > > > scp://XXX/usr/local/www/default/maven2_repositories/inhouse > > > > > > inhouse_snapshot > > Internal Snapshot Repository > > > > > > scp://XXX/usr/local/www/default/maven2_repositories/inhouse_snapshot > > > > > > website > > scp://XXX/usr/local/www/default/projects/XXX > > > > > > > > There is one other email from the list on Nabble at > > http://www.nabble.com/-M2-directorypermissions-ignored-during-deploy-t436786 > > .html#a1196148 that talks about directoryPermissions not working. For them > > filePermissions works fine. > > > > And a closed JIRA issue at http://jira.codehaus.org/browse/MNG-575 which > > looks like issue raised to get filePermissions and directoryPermissions > > added to settings.xml. > > > > > > Is anyone able to point out what I have missed to get this to work? > > > > Cheers, > > Barrie > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > Kathryn Huxtable > Middleware Architect > Core Middleware > Information Technology, a division of Information Services > The University of Kansas > > > - > 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: What does SNAPSHOT mean as opposed to 1.0-SNAPSHOT
Hi all!! I have a question regarding this SNAPSHOT versions issue. Imagine the next situation, there's a project A with version 1.0-SNAPSHOT and another project B wich depends on the first one. ... A A 1.0-SNAPSHOT ... If I release A project, so it becomes 1.0 version, is there any way of updating automatically dependency version of B project?. Thanks in advance. Cheers. Pablo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven 2 from Eclipse/RAD 6.0
Hi, http://maven.apache.org/eclipse-plugin.html Fredy "Maven Users List" schrieb am 25.01.06 20:34:50: Can I use Maven 2 with Eclipse / Rational Application Developer 6.0? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mit freundlichen Grüßen Fred Robert Hauschel http://www.Hauschel.de Mobil:0179 - 6917092 Telefon: 07427 - 91179 Fax: 07427 - 91178 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What does SNAPSHOT mean as opposed to 1.0-SNAPSHOT
Hi, ist the SNAPSHOT mechanism described somewhere? Fredy "Maven Users List" schrieb am 26.01.06 00:33:42: Pete wrote: > I understand that > > 1.0-SNAPSHOT > > means the artifact is still under development, and working towards a > 1.0Release. > > But what does SNAPSHOT mean ? We don't use this convention anymore. We always try to show moving toward the next version. > I am trying to understand if it can help when doing a Maven Release using a > manual approach (i.e updating pom versions manually, as the mvn release > plugin still has issues) > -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org A man enjoys hsi work when he understands the whole and when he is responsible for the quality of the whole -- Christopher Alexander, A Pattern Language - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mit freundlichen Grüßen Fred Robert Hauschel http://www.Hauschel.de Mobil:0179 - 6917092 Telefon: 07427 - 91179 Fax: 07427 - 91178 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Maven Documentation extension: http://docs.codehaus.org/display/MAVENUSER/Home
You realy should include a Referenz on this site in the http://maven.apache.org/guides/index.html. Orhave i looked over it? Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]