Re: Strange behaviour with StarTeam

2008-01-02 Thread Olivier Lamy
Hi, The maven-scm version used by continuum has been updated in the trunk. You can use the builds here : War: http://maven.zones.apache.org/~continuum/builds/trunk/continuum-20080102.12.war Standalone app: http://maven.zones.apache.org/~continuum/builds/trunk/continuum-20080102.12.tar.gz

Re: Strange behaviour with StarTeam

2008-01-02 Thread Olivier Lamy
Please use the full distrib. Thanks. -- Olivier 2008/1/2, Ken Turner [EMAIL PROTECTED]: Olivier I have extracted maven-scm-provider-starteam-1.1-SNAPSHOT.jar from continuum-20080102.12.war and placed it in my directory C:\continuum-1.1\apps\continuum\webapp\WEB-INF\lib, and renamed the

Re: Strange behaviour with StarTeam

2008-01-02 Thread Ken Turner
Oliver I wasn't very sure how to go about using the full distrib as requested, but here's what I did: 1. I downloaded continuum-20080102-12.war into my directory C:\continuum-1.1\apps\continuum\lib 2. I amended my application.xml file so that webapp.file pointed to continuum-20080102

Re: Search list archives

2008-01-02 Thread Wendy Smoak
On Jan 2, 2008 10:03 AM, Tony França [EMAIL PROTECTED] wrote: Is it possible to *search* the mail list archives? I can only browse them at http://mail-archives.apache.org/mod_mbox/maven-continuum-dev/ Google has the official archives indexed, and you can restrict your search by specifying

Re: Project dependencies

2008-01-02 Thread tonylampada
Hi. I have the same need as David below, but I didn´t quite understood Emmanuel's response. Maybe someone here has it figured out. What kind of project dependencies is he talking about? Is it the dependency sections of the POM file? Or is there any web-based way of telling Continuum about my

Re: distributing files / set of files to remove server (maven wagon plugin ???)

2008-01-02 Thread amit kumar
Thank you. It's working now. :-) On Jan 2, 2008 11:07 AM, Dan Tran [EMAIL PROTECTED] wrote: You configure it to deploy here drive:\ 192.168.0.32\Repository. To deploy to a share location on windows network try this urlfile:///192.168.0.32/Repository/url yes 3 forward slashes and 4

RE: Problem with maven-dependency-plugin: copy-dependencies

2008-01-02 Thread PatrickV
The attachments are there. My first posting did indeed not include the attachements, I edited the posting and now the file (pp.zip) is there. Brian E Fox wrote: The attachments didn't come through. Try writing a jira at http://jira.codehaus.org/browse/MDEP and attach the files there.

Re: CVS files being packaged in WAR

2008-01-02 Thread amit kumar
Can I exclude a directory as such? On Jan 1, 2008 6:29 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, I am facing this problem of getting CVS files packaged in the WAR build from maven. I am overriding the maven's default directory layout. Below is the part of my pom.xml build

Re: CVS files being packaged in WAR

2008-01-02 Thread amit kumar
I want to exclude this CVS Folder present in every folder inside webappDirectory. On Jan 2, 2008 2:44 PM, amit kumar [EMAIL PROTECTED] wrote: Can I exclude a directory as such? On Jan 1, 2008 6:29 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, I am facing this problem of getting CVS files

A question about version in dependency in pom.xml

2008-01-02 Thread Thomas Chang
Hi all, Normally the version in dependency in pom.xml look as follow: dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version /dependency Now I want to do as follow: dependency groupId{my.junit.group}/groupId

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Jeff MAURY
Maven will do it automatically if you defines theses properties in your setting.xml files. Jeff On Jan 2, 2008 10:53 AM, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, Normally the version in dependency in pom.xml look as follow: dependency groupIdjunit/groupId

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Thomas Chang
Thanks for the answer. Could you give an example how to set these properties in the settings.xml? :-/ *** Maven will do it automatically if you defines theses properties in your setting.xml files. Jeff On Jan 2, 2008 10:53 AM, Thomas Chang [EMAIL

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Jeff MAURY
In your settings.xml files, insert the following code under the settings element: properties my.junit.group/libs_project_home /properties Jeff On Jan 2, 2008 11:12 AM, Thomas Chang [EMAIL PROTECTED] wrote: Thanks for the answer. Could you give an example how to set

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Thomas Chang
I think you mean: properties my.junit.group/my.junit.group /properties Right? I put this at the end of settings.xml. But I got error as I run mvn command such as mvn clean: E:\Projekte\TestXmlmvn clean Error reading settings.xml: Unrecognised tag: 'properties' (position:

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Jeff MAURY
My fault: the properties tag must be inside a profile and not at the settings level. Jeff On Jan 2, 2008 11:41 AM, Thomas Chang [EMAIL PROTECTED] wrote: I think you mean: properties my.junit.group/my.junit.group /properties Right? I put this at the end of settings.xml.

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Thomas Chang
Now I do as follow in the settings.xml: profiles profile properties my.junit.version3.8.1/my.junit.version /properties /profile /profiles And it runs successful when I run mvn clean. But as I run ´mvn compile I got error as follow: Downloading:

Run successfull in windows but failing in linux

2008-01-02 Thread zico
Hi, I able to run some test cases successfully in windows,but the same failing in linux envirionment. Following is the error : java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject . . . at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

RE: A question about version in dependency in pom.xml

2008-01-02 Thread Adrian Shum
Make a default profile: settings profiles profile idbootstrapProfile/id !-- all your profile related setting put here -- /profile /profiles activeProfiles activeProfilebootstrapProfile/activeProfile /activeProfiles /settings I think it should work :P

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Heinrich Nirschl
On Jan 2, 2008 12:06 PM, Thomas Chang [EMAIL PROTECTED] wrote: Now I do as follow in the settings.xml: profiles profile properties my.junit.version3.8.1/my.junit.version /properties /profile /profiles And it runs successful when I run mvn clean. But as I run ´mvn compile

Problem by injecting POM Properties via Settings.xml

2008-01-02 Thread Thomas Chang
Hi all, According to the link http://maven.apache.org/examples/injecting-properties-via-settings.html I do in my pom.xml and settings.xml followings: in the pom.xml: = ... dependency groupIdjunit/groupId artifactIdjunit/artifactId version${myversion}/version

Re: Problem by injecting POM Properties via Settings.xml

2008-01-02 Thread Olivier Lamy
Hi, The profile in your settings need to be active. Try with : profiles profile idnormal/id activation activeByDefaulttrue/activeByDefault /activation properties myversion3.8.1/myversion /properties /profile /profiles Use mvn help:effective-pom to see

Re: Strange behaviour with StarTeam

2008-01-02 Thread Ken Turner
Olivier I have extracted maven-scm-provider-starteam-1.1-SNAPSHOT.jar from continuum-20080102.12.war and placed it in my directory C:\continuum-1.1\apps\continuum\webapp\WEB-INF\lib, and renamed the older version of the file. However, after doing some more builds, I regret that the same

[Archiva] How to specify a non-default archiva configuration file?

2008-01-02 Thread Rice Yeh
Hi, I am using archiva. Its document says that the default configuration file is ~/m2/archiva.xml. However, i am running in a unix environment where tomcat is run by user tomcat55 who does not have home directory. How do I tell archiva to use other configuration file? Regards, Rice

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Erez Nahir
But, keep in mind that this may impact the reproducibility of your build because your settings.xml is not under version control system (I assume). Erez. On Jan 2, 2008 2:33 PM, Heinrich Nirschl [EMAIL PROTECTED] wrote: On Jan 2, 2008 12:06 PM, Thomas Chang [EMAIL PROTECTED] wrote: Now I do

Re: extends plugins

2008-01-02 Thread Benoit Decherf
I don't think this is a good solution. There is no way to do this properly ? Benoit Tom Huybrechts wrote: I usually just copy the source for the plugins I'm extending. They often are only wrappers around some reusable plexus component. Tom On Dec 21, 2007 11:03 AM, Benoit Decherf [EMAIL

How to configure the location of settings.xml?

2008-01-02 Thread Thomas Chang
Hi all, Normally the settings.xml is located under /m2_home/conf. Is it possible to move this file anywhere for example /myproject/conf? If yes, how? Regards Thomas - Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen

Re: How to configure the location of settings.xml?

2008-01-02 Thread Erez Nahir
you can use mvn -s Alternate path for the user settings file Erez. On Jan 2, 2008 5:05 PM, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, Normally the settings.xml is located under /m2_home/conf. Is it possible to move this file anywhere for example /myproject/conf? If yes, how?

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Wayne Fay
I'd definitely call this a Maven anti-pattern. You're free to do this, but its a really bad idea in general. http://en.wikipedia.org/wiki/Anti-pattern Wayne On 1/2/08, Erez Nahir [EMAIL PROTECTED] wrote: But, keep in mind that this may impact the reproducibility of your build because your

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Wayne Fay
I'd definitely call this a Maven anti-pattern. You're free to do this, but its a really bad idea in general. http://en.wikipedia.org/wiki/Anti-pattern Wayne On 1/2/08, Erez Nahir [EMAIL PROTECTED] wrote: But, keep in mind that this may impact the reproducibility of your build because your

Re: [Archiva] How to specify a non-default archiva configuration file?

2008-01-02 Thread Rice Yeh
I create a home directory /home/tomcat5.5 for the user tomcat55 and restart my server. I find .m2 is created under /home/tomcat5.5 and a sub directory 'archiva' is created under .m2, but there is no file called archiva.xmlunder .m2. Then I copy one from my pc to .m2 directory. I find system will

Re: How to configure the location of settings.xml?

2008-01-02 Thread Wayne Fay
It sounds like you should probably be using a profiles.xml file in your project root directory (same dir as pom.xml), rather than configuring a new location for your settings.xml file etc. Wayne On 1/2/08, Erez Nahir [EMAIL PROTECTED] wrote: you can use mvn -s Alternate path for the user

Re: How to configure the location of settings.xml?

2008-01-02 Thread Thomas Chang
Thanks for the reply. But I think this way is a little bit complecated since everytime you run mvn you have to type the alternate path. ** you can use mvn -s Alternate path for the user settings file Erez. On Jan 2, 2008 5:05 PM, Thomas Chang [EMAIL PROTECTED]

How to take out the profiles out of settings.xml?

2008-01-02 Thread Thomas Chang
Hi all, Notmally the settings.xml has the element of profiles and activeProfiles. Now I want to take these out of the settings.xml and put them into another file. How to do so? Regards Thomas - Beginnen Sie den Tag mit den neuesten

Re: How to configure the location of settings.xml?

2008-01-02 Thread Thomas Chang
Your answer sounds good. But could the profile.xml be called? Have you an example? ** It sounds like you should probably be using a profiles.xml file in your project root directory (same dir as pom.xml), rather than configuring a new location for your settings.xml file

Re: How to take out the profiles out of settings.xml?

2008-01-02 Thread Jeff MAURY
You can leave the profiles in settings.xml and activate them with the -P option of the maven command line. Jeff On Jan 2, 2008 4:23 PM, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, Notmally the settings.xml has the element of profiles and activeProfiles. Now I want to take these out of

Re: Getting useful logging from surefire and testng

2008-01-02 Thread Andrew Robinson
It is in src/test/resources. It is getting picked up since the logging is changing when I change values in it. Either way, my logs are being logged to the System.out but not appearing it the system out element in the TEST-TestSuite.xml, which I find odd. I would try it without forking to see if

RE: How to configure the location of settings.xml?

2008-01-02 Thread Brian E. Fox
I've been following these threads and I think you're going way outside of what should be needed. You originally wanted to define a group and version as a property, presumably because you want to centrally control it rather than it would actually change it. The proper way to control the version

Re: How to configure the location of settings.xml?

2008-01-02 Thread Andrew Robinson
assuming bash, add this to your .bashrc (substitute mvn absolute path as needed): alias mvn=/usr/bin/mvn -s your file here $* If you are using windows or not using bash you can create a bat file or a mvn shell script that occurs earlier in your PATH so that it gets picked up first. just make

Re: How to take out the profiles out of settings.xml?

2008-01-02 Thread Wayne Fay
This is already well documented. Please go do some reading. + http://maven.apache.org/guides/introduction/introduction-to-profiles.html + Better Builds With Maven ebook, section 3.8 Using Profiles. + And many other places. Wayne On 1/2/08, Jeff MAURY [EMAIL PROTECTED] wrote: You can leave the

Re: How to configure the location of settings.xml?

2008-01-02 Thread Wayne Fay
I replied to your other thread. Please go read the documentation. Wayne On 1/2/08, Thomas Chang [EMAIL PROTECTED] wrote: Your answer sounds good. But could the profile.xml be called? Have you an example? ** It sounds like you should probably be using a profiles.xml file

Re: Maven users interested in the future of Proximity

2008-01-02 Thread Nigel Magnay
Is this going to beta any time soon? Our artifactory proxy has rotted and started serving 0 byte files randomly (who knows if it's the underlying repo); I was never that keen on proximity's 'configure me by hacking spring config xml', particularly if it's about to be deprecated soon for something

Re: assembly plugin - topLevel directory to be supressed in war

2008-01-02 Thread Pankaj Tandon
Hi, I was away for 10 days so I couldn't participate in this discussion. But thanks Ryan for persuing the cause! However, I'm not sure how the solution is working for you. It will greatly help if you provide details. First, I used the following plugin config: plugin

Re: CVS files being packaged in WAR

2008-01-02 Thread Lee Meador
Try **/CVS/**/*.* or some similar set of stars. -- Lee On Jan 2, 2008 3:45 AM, amit kumar [EMAIL PROTECTED] wrote: I want to exclude this CVS Folder present in every folder inside webappDirectory. On Jan 2, 2008 2:44 PM, amit kumar [EMAIL PROTECTED] wrote: Can I exclude a directory as

taglib plugin

2008-01-02 Thread Dmitry Beransky
Hi, I'm trying to use the taglib plugin (http://maven-taglib.sourceforge.net/m2/project-reports.html). I've followed the documentation for configuring the project with the plugin, but now when I run mvn taglib:tagreference, I get [INFO] The plugin 'org.apache.maven.plugins:maven-taglib-plugin'

Re: taglib plugin

2008-01-02 Thread Evan Worley
Hi Dmitry, I found the latest version (2.3.1) in Maven.Central. http://repo1.maven.org/maven2/net/sourceforge/maven-taglib/maven-taglib-plugin/2.3.1/ Did you override the Maven.Central plugin repository? -Evan On Jan 2, 2008 12:00 PM, Dmitry Beransky [EMAIL PROTECTED] wrote: Hi, I'm trying

Re: taglib plugin

2008-01-02 Thread Wendy Smoak
On Jan 2, 2008 1:00 PM, Dmitry Beransky [EMAIL PROTECTED] wrote: I'm trying to use the taglib plugin (http://maven-taglib.sourceforge.net/m2/project-reports.html). I've followed the documentation for configuring the project with the plugin, but now when I run mvn taglib:tagreference, I get

Re: taglib plugin

2008-01-02 Thread Dmitry Beransky
Here's what I got for the plugin: plugin groupIdnet.sourceforge.maven-taglib/groupId artifactIdmaven-taglib-plugin/artifactId version2.3.1/version configuration taglib.src.dirMETA-INF/taglib.src.dir /configuration /plugin The central repository is configured, I'm using it all the

Re: taglib plugin

2008-01-02 Thread Evan Worley
Sorry for your troubles Dmitry, Can you attach your entire repositories and pluginRepositories entries from your pom? Thanks, Evan On Jan 2, 2008 1:27 PM, Dmitry Beransky [EMAIL PROTECTED] wrote: Here's what I got for the plugin: plugin groupIdnet.sourceforge.maven-taglib/groupId

Re: taglib plugin

2008-01-02 Thread Dmitry Beransky
On Jan 2, 2008 2:49 PM, Evan Worley [EMAIL PROTECTED] wrote: Can you attach your entire repositories and pluginRepositories entries from your pom? Hey Evan, Here they are, copied directly from help:effective-pom's output: repositories repository idcsa-internal/id nameCSA

Re: taglib plugin

2008-01-02 Thread Evan Worley
Dmitry, Try changing the update policy in your pluginRepository to always. I am not positive how this policy works with respect to resolving new plugins (as opposed to updating an existing), but might be worth a try. -Evan On Jan 2, 2008 3:01 PM, Dmitry Beransky [EMAIL PROTECTED] wrote: On

Re: taglib plugin

2008-01-02 Thread Evan Worley
You can alternatively try maven -cpu install to force a plugin update check On Jan 2, 2008 3:07 PM, Evan Worley [EMAIL PROTECTED] wrote: Dmitry, Try changing the update policy in your pluginRepository to always. I am not positive how this policy works with respect to resolving new plugins

generated-sources class files not in final artifact

2008-01-02 Thread Pankaj Tandon
Hi, I'm using weblogic-maven-plugin to generate client stubs (using the clientgen goal). The client stubs are correctly generated in the generated-sources folder as specified in the plugin. Also, as expected, the generated-sources folder is detected by the complier and along with the java files

jasperreports-maven-plugin feedback request

2008-01-02 Thread Dan Tran
Hello, I am looking for users that are currently using or aware of jasperreprots-maven-plugin at MOJO's sandbox http://mojo.codehaus.org/jasperreports-maven-plugin/ Please provide feedbacks if you are interested getting this plugin released. a couple of questions: 1. Does the plugin provide

Re: CVS files being packaged in WAR

2008-01-02 Thread amit kumar
What do the stars represent here? Is it same as ../ in linux/windows? Or are they some sort of regular expression, because in my case CVS folder is there inside every folder not just one directory ( The project directory is a CVS checked out directory). Regards, Amit On Jan 3, 2008 1:01 AM, Lee

Difference between webappDirectory and webResources

2008-01-02 Thread amit kumar
Hi, I see to tags in maven-war-plugin, webappDirectory and webResources tag, what is the difference between two? Regards, Amit

Re: CVS files being packaged in WAR

2008-01-02 Thread Wayne Fay
The stars in Maven paths work just like the stars in Ant paths, which might be documented a little better so check the Ant site. Definitely not the same as dot-dot. Wayne On 1/2/08, amit kumar [EMAIL PROTECTED] wrote: What do the stars represent here? Is it same as ../ in linux/windows? Or are