Re: [M2] How to make maven include generated sources in build

2005-11-02 Thread Christoph Schönfeld
Nope. :-) You can use it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [M2] What is wrong with my scm url?

2005-11-02 Thread Emmanuel Venisse
The correct url is http://maven.apache.org/scm/scm-url-format.html Emmanuel Yann Le Du a écrit : Hi Alexandre, Please check this page : http://maven.apache.org/reference/plugins/scm/scmurl.html Is spssoww11 your username or your host ? Regards, Yann --- Alexandre Poitras <[EMAIL PROTECTED]>

Re: Confusing warning

2005-11-02 Thread Anuerin Diaz
On 11/3/05, Brett Porter <[EMAIL PROTECTED]> wrote: > depenencies is missing a "d". > > -X should have output this error - you can file a bug for this to be included. > > - Brett > im just curious, shouldn't the parser flag it down automatically when the pom is being read? ciao! > > On 11/3/05,

Re: How do I make my first Maven project

2005-11-02 Thread Anuerin Diaz
hi, you have to execute your maven build/deploy commands on the "my-app" folder created when you invoke archetype:create. the reason is that your build commands are looking for the "pom.xml" file (or project in that error). ciao! On 11/3/05, Balaji K M <[EMAIL PROTECTED]> wrote: > > Hi, > > A

How do I make my first Maven project

2005-11-02 Thread Balaji K M
  Hi,       After successful installation of Maven in the system.       I followed the instruction given in the “How do I make my first Maven project”, then when I typed the following command mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app     I am

Re: Getting project classpath in ant

2005-11-02 Thread Frank Mena
Is there is list of the properties available? - Frank On 11/2/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > It's a reference, you can't echo it. > > try: > > ${out} > > On 11/3/05, Frank Mena <[EMAIL PROTECTED]> wrote: > > I tried it and it did not work: > > > > > > > > maven-antrun-plugin >

Re: Getting project classpath in ant

2005-11-02 Thread Frank Mena
Wonderful, that worked. Thanks! On the same note, is there any way to get basedir of the of the parent pom? - Frank On 11/2/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > It's a reference, you can't echo it. > > try: > > ${out} > > On 11/3/05, Frank Mena <[EMAIL PROTECTED]> wrote: > > I tried

Re: Getting project classpath in ant

2005-11-02 Thread Brett Porter
It's a reference, you can't echo it. try: ${out} On 11/3/05, Frank Mena <[EMAIL PROTECTED]> wrote: > I tried it and it did not work: > > > > maven-antrun-plugin > > > compile > > > ${maven.dependency.classpath} > > > > run > > > > > > > > On 11/2/05, Brett Porter <[EMAIL PROTECTED]

Re: [M2]Why assembler plugin isn't listed on Jira "Browse Project" page?

2005-11-02 Thread Alexandre Poitras
ok I think I got it, those on the main page are plugins for m1. Sorry for the dumb question. Maybe there should be a m2 or something in the names of the plugins. It always hard to tell for wich maven version a plugin is made (particulary when you are searching on google). Just my two cents. On 11/

Re: [M2]Why assembler plugin isn't listed on Jira "Browse Project" page?

2005-11-02 Thread Brett Porter
Currently, all the Maven2 plugins are aggregated under MNG. We are looking to rectify this shortly. - Brett On 11/3/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Hi all, > > I can't find the assembler plugin on Jira : > http://jira.codehaus.org/secure/BrowseProject.jspa > > I have been able

Re: Getting project classpath in ant

2005-11-02 Thread Frank Mena
I tried it and it did not work: maven-antrun-plugin compile ${maven.dependency.classpath} run On 11/2/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > How are you using Ant? > > The antrun plugin exposes maven.dependency.classpath as a reference. > > - Brett > > On 11/3/05, Frank Me

Re: [M2] How to make maven include generated sources in build

2005-11-02 Thread Brett Porter
Thanks Christoph! We'd like to start accumulating testimonials on the web site. Would you mind if we added this? - Brett On 11/3/05, Christoph Schönfeld <[EMAIL PROTECTED]> wrote: > Brett, thank you very much. The patch does what I need. > Cheers to the person who wrote these improvements! > > K

RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependentjars?

2005-11-02 Thread KC Baltz
What's the best way for me to try the patch? Can I simply change the version number of my plugin? Or do I have to build the plugin myself and apply the patch? K.C. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 1:14 AM To: Mave

[M2]Why assembler plugin isn't listed on Jira "Browse Project" page?

2005-11-02 Thread Alexandre Poitras
Hi all, I can't find the assembler plugin on Jira : http://jira.codehaus.org/secure/BrowseProject.jspa I have been able to reach the issues page : http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=10500&sorter/order=DESC&sorter/field=priority&resolution=-1&component=118

Re: [m2] Problem: How to run some tests only sometimes

2005-11-02 Thread Brett Porter
Dave is right that profiles are the right way to go about this. You can change the includes/excludes of the test plugin (or even skip them all for a project) based on the profile in use. - Brett On 11/3/05, Brill Pappin <[EMAIL PROTECTED]> wrote: > I used to do this with a special goal in the ma

Re: [m2] Problem: How to run some tests only sometimes

2005-11-02 Thread Brill Pappin
I used to do this with a special goal in the maven.xml but since it no longer graces m2, I would love to hear a solution as well. - Brill Pappin On 11/2/05, Dave Neuer <[EMAIL PROTECTED]> wrote: > > So, here's my situation, I really hope someone can help figure out how > to do this. > > I have cu

Re: New to Maven2 - is it ready?

2005-11-02 Thread Brill Pappin
So far, I don't think its quite ready... I've had no end of trouble even converting a simple project to use it... mostly the problems are from bad POMs but a few issues have cropped up where plugin are not doing what they should... there have not been a lot of issues, but enough that for me, it isn

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-02 Thread Robert Taylor
Yann Le Du, Thanks for your response as well. I'm always interested in learning and following the best practices approach and as I am a newbie to Maven. What you say makes good sense and I appreciate your insight. And yes, I did notice a slew of exclusions in the Hibernate3.0.5 pom. Thanks.

Re: [M2] How to make maven include generated sources in build

2005-11-02 Thread Christoph Schönfeld
Brett, thank you very much. The patch does what I need. Cheers to the person who wrote these improvements! Keep on going with Maven 2.0 as it really rocks! Yesterday, I started experimenting with it and it's such a breeze, I'm becoming already productive with Maven, converting our hand-written An

Re: Confusing warning

2005-11-02 Thread Wendy Smoak
On 11/2/05, Barry Kaplan <[EMAIL PROTECTED]> wrote: > (I'm was using jedit to edit these poms until I generate working eclipse > projects, and I have not yet figured out to tell jedit that .pom means > .xml. So I'm not getting any validation.) Utilities -> Global Options Change settings for mo

Re: Confusing warning

2005-11-02 Thread Barry Kaplan
Brett Porter wrote: depenencies is missing a "d". -X should have output this error - you can file a bug for this to be included. My hero! (http://jira.codehaus.org/browse/MNG-1404) (I'm was using jedit to edit these poms until I generate working eclipse projects, and I have not yet figu

Re: [m2] install plugin bug with classifiers ?

2005-11-02 Thread Brett Porter
How are you calling it? Sounds like you are running install:install over a multiproject - instead you should use "install". I've used this successfully with classifiers before. -Brett On 11/3/05, Julien Stern <[EMAIL PROTECTED]> wrote: > The install plugin does not seem to work when used with

Re: [M2] How to make maven include generated sources in build

2005-11-02 Thread Brett Porter
I think there is about to be a major revision of the castor plugin - check the patch in JIRA under the MOJO subproject. What needs to be done is something like: project.addCompileSourceRoot( ... ) On 11/3/05, Christoph Schönfeld <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to Maven and would li

Re: Confusing warning

2005-11-02 Thread Brett Porter
depenencies is missing a "d". -X should have output this error - you can file a bug for this to be included. - Brett On 11/3/05, Barry Kaplan <[EMAIL PROTECTED]> wrote: > I can't figure out what the below means. I'm running with full debug, > but get no idication as to /what/ is wrong. This pom

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-02 Thread Yann Le Du
I'm trying to help, but way far from being an expert :) Yann --- Alexandre Poitras <[EMAIL PROTECTED]> a écrit : > What I was saying is that he can put it under a different artifact name. The > only possible drawback with this approach is when a dependency depends of > hibernate, it will include

Confusing warning

2005-11-02 Thread Barry Kaplan
I can't figure out what the below means. I'm running with full debug, but get no idication as to /what/ is wrong. This pom is as trivial can be. In fact I copied from another POM and only changed the groupid and artifactid. [WARNING] POM for: 'springframework:spring:pom:1.2.6' does not appear

[m2] Problem: How to run some tests only sometimes

2005-11-02 Thread Dave Neuer
So, here's my situation, I really hope someone can help figure out how to do this. I have currently got 2 projects, one's a library, the other is more like an application, and depends on the library. The lib project tests only use Mocks, because they're "common" objects not tied to a product or da

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-02 Thread Alexandre Poitras
What I was saying is that he can put it under a different artifact name. The only possible drawback with this approach is when a dependency depends of hibernate, it will include all the jars but anyway you don't know wich one is used so no problem there. But if it's not a good practice then I sugg

Re: [m2] How can I register an archiver?

2005-11-02 Thread Brett Porter
I think you'll find that this goal already exists in the SVN version of the assembly plugin. - Brett On 11/3/05, Alexander Hars <[EMAIL PROTECTED]> wrote: > The assembly mechanism has a small problem: It can not be used to just > copy plain files plus dependencies into some target directory struc

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-02 Thread Yann Le Du
Even if it would indeed do the trick, IMHO I would not encourage it because you would have to copy-paste every time the POM is changed in Maven central repository - and how would you be aware of such changes ? - or you want to use another Hibernate version. The "good practice" would be, as you sug

Re: [m2] Aggregation of modules in a multi-module project

2005-11-02 Thread Brett Porter
There is an open bug for this, but it is not yet implemented. - Brett On 11/3/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > How did you do for the Javadoc??? I am looking for a way to aggregate the > content of all my sub-projects javadoc. Thank! > > On 11/2/05, Christian Schulte <[EMAIL PRO

Re: Getting project classpath in ant

2005-11-02 Thread Brett Porter
How are you using Ant? The antrun plugin exposes maven.dependency.classpath as a reference. - Brett On 11/3/05, Frank Mena <[EMAIL PROTECTED]> wrote: > Using M2, how do I get the the projects classpath (which includes multiple > modules) in ant? Can I assume this classpath would include the > ta

Re: [M2]Site internationalisation error!

2005-11-02 Thread Brett Porter
There is no Chinese localisation for the site and reports at this time, but if you'd like to contribute it then it'd be welcome! On the other hand, the site plugin should fallback to English if it can't find the localisation, so this should be filed as a bug. - Brett On 11/3/05, Hong Xing <[EMAI

Re: [m2] Aggregation of modules in a multi-module project

2005-11-02 Thread Alexandre Poitras
How did you do for the Javadoc??? I am looking for a way to aggregate the content of all my sub-projects javadoc. Thank! On 11/2/05, Christian Schulte <[EMAIL PROTECTED]> wrote: > > Yann Le Du schrieb: > > >http://jira.codehaus.org/browse/MNG-661 > > > > > Thanks! > > -- > Christian > > >

Re: test-jar transitive dependencies

2005-11-02 Thread Brett Porter
It shouldn't be that test dependencies don't work - it's just that if you create a jar from your tests, there is no separation about what its dependencies are. The best workaround which is still encouraged regardless is to separate your reusable test code into a library of its own instead. - Bret

Re: [m2] How to make jar project recompile dependent jar project

2005-11-02 Thread Alexandre Poitras
You can accomplish this by having a parent project. Look for the mail "Guide to using Eclipse with Maven 2.x" submitted to list not so long agon in the section "Multiple Module Project". I hope it's help. On 11/2/05, Richard Allen <[EMAIL PROTECTED] > wrote: > > I'm new to Maven. I have the follow

Re: unable to load commons-logging/commons-logging/1.02/commons-logging-1.02.pom

2005-11-02 Thread Brett Porter
correct - you can file this at http://jira.codehaus.org/browse/MEV and it will be fixed. On 11/3/05, Rico (privat) <[EMAIL PROTECTED]> wrote: > Hi, > > the compile goal outputs me following: > > Downloading: > http://repo1.maven.org/maven2/commons-logging/commons-logging/1.02/commons-logging-1.02.

Re: [m2] Creating a remote repository from a local one

2005-11-02 Thread Brett Porter
We're working on some tools to help manage repositories in such a way. It depends on which information you need to maintain. The complete solution would be to merge the metadata files in the same directory and recompute the checksums. However, Maven will work even if they are all removed with the

Re: [m2] Assembly and classifiers

2005-11-02 Thread Brett Porter
Sonuds like a good feature request to add to JIRA. - Brett On 11/2/05, Julien Stern <[EMAIL PROTECTED]> wrote: > Is there a way to tell the assembly plugin to use dependencies with > a specific classifier ? > > Specifically I have about 30 jars that I would like to assemble, > however, each of th

Re: [m2] jar-plugin: not including META-INF/maven

2005-11-02 Thread Brett Porter
Actually this is not currently possible. Please make an improvement request. - Brett On 11/2/05, Julien Stern <[EMAIL PROTECTED]> wrote: > How can I configure Maven2 so that is stops including files > in the META-INF/maven directory of every jar it produces ? > > Thanks you. > > -- > Julien Stern

Re: [maven2] Failed to build model from plexus-utils-1.0.4.pom

2005-11-02 Thread Brett Porter
I think this is the key: Caused by: sun.io.MalformedInputException at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code)) What is your locale? I seem to recall something like this recently, but I'm not sure. - Brett On 11/2/05, Jeremy Hughes <[EMAIL PROTECTED]> wrote: > He

RE: Building C++ projects with Maven (2)

2005-11-02 Thread Donszelmann, Mark
Hi Chris, > -Original Message- > From: Chris Berry [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 01, 2005 4:17 PM > To: Maven Users List > Subject: Re: Building C++ projects with Maven (2) > > Hi Mark, > So, if I have it right, your solution is to transparently > augment the vers

Missing dependency: icu4j:icu4j:2.6.1:jar

2005-11-02 Thread ARGCRP-CARLSON, TRAVIS
I was unable to build my project with Maven 2.0 due to the following missing dependency: [INFO] [ERROR] BUILD ERROR [INFO]

Re: Right way to structure a project (and its site)

2005-11-02 Thread David H. DeWolf
There may be a couple of options, however, the approach I prefer is the following: 1) leave the structure just as you have defined below 2) define the site distribution management section in your parent pom as follows: website scp://minotaur.apache.org/www/portals.apache.org/pluto because m2

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-02 Thread Robert Taylor
Alexandre, Thanks for the prompt response! I'll give your suggestion a try. /robert Alexandre Poitras wrote: Oh and don't forget to change your dependencies in your pom to point on your new Hibernate version. Hope this help! On 11/2/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: In my opi

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-02 Thread Alexandre Poitras
Oh and don't forget to change your dependencies in your pom to point on your new Hibernate version. Hope this help! On 11/2/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > In my opinion, what you can do is define somewhere in your internal > repository, a "light" version of hibernate. You jus

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-02 Thread Alexandre Poitras
In my opinion, what you can do is define somewhere in your internal repository, a "light" version of hibernate. You just copy the hibernate jar and pom in another location and then you remove the dependances you don't want in the pom. This way, you keep the regular version of hibernate but you can

[M2] Assembly plugin: How to include javadoc from other dependencies

2005-11-02 Thread Alexandre Poitras
Hi all, I have a project "client", wich depends of another project "common". They both produce jar artifacts. Now what I want to do is distributing an archive on a web site by using the assembly plugin. In the archive, I want to include "client.jar" and "common.jar", wich is quite easy to do. But,

Maven(2.0): Web apps and transitive dependencies

2005-11-02 Thread Robert Taylor
Greetings, I'm new to Maven and am using Maven 2.0. I'm trying to build a web application. That application has some dependencies such as Hibernate3 and Spring. The transitive dependency feature of Maven is copying in several .jar files which I don't necessarily need at run time because I'm not

[m2] Jetty repo was: Using the tomcat plugin

2005-11-02 Thread Greg Wilkins
I've just reorganized the mortbay jetty m2 repositories. There now is http://www.mortbay.org/maven2/snapshot http://www.mortbay.org/maven2/release(currently empty) The old http://www.mortbay.org/maven2 will continue to work for a while. cheers Jan Bartel wrote: > Ralph

Re: Right way to structure a project (and its site)

2005-11-02 Thread Alexandre Poitras
I am wondering the same thing right now. Any hints would be appreciated! On 11/2/05, Duane Homick <[EMAIL PROTECTED]> wrote: > > I have a multi module project that I have structured similar to how maven > itself is structured: > > data-publishing-service > + dps-shared > src/main/java... > src/mai

Re: New to Maven2 - is it ready?

2005-11-02 Thread Kaare Nilsen
I would say its ready i my self use it at my customer, and find it very good. when it comes to the build needs you mention you will find many of them here http://mojo.codehaus.org/ there you will find plugins to support most of your needs. also you would like to look at http://cargo.codehaus.org/ f

Re: Plugin Inheritance

2005-11-02 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, I'm tracking a little behind on the list. ;) Just for completeness, I should mention that it *is* possible to write a plugin which is *not* inherited by default. When this is the case, the user can still override this by specifying: true ins

RE: Errors when starting Continuum which is built on my machine

2005-11-02 Thread Frank Zhao
We tried it on Windows today and got the same error. Could it be possible that some files are mismatched recently, but you have the correct files cached on your machine? Thanks, Frank -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Tue 11/1/2005 4:55 PM To:

Re: Plugin Inheritance

2005-11-02 Thread Chris Berry
I can now answer this myself. It appears that m2 does "the right thing" -- i.e. what you'd expect All plugins are inherited from the Parent. To override any Plugin, simply declare it in the Child. Those you don't declare remain unchanged. All in the overriding Plugin declaration is inherited. And

Re: Third party JAR version naming conventions

2005-11-02 Thread Carlos Sanchez
If they call it 1.1.2_01 the version is 1.1.2_01 On 11/2/05, Richard Allen <[EMAIL PROTECTED]> wrote: > Thanks. I read the coping with sun jars guide, but I don't know what the > proper naming convention for versions is. I didn't think it was what Sun > is using, which is 1.1.2_01. For now I'm usi

[m2] How can I register an archiver?

2005-11-02 Thread Alexander Hars
The assembly mechanism has a small problem: It can not be used to just copy plain files plus dependencies into some target directory structure (without compressing/zipping/packing or changing the copied files in any way). In my case, I need this because I am using an unsupported packaging mecha

Re: [m2] html test report

2005-11-02 Thread Christian Goos
Hi, you can use the report plugin from the mojo project. http://mojo.codehaus.org/ Christian Hi, After running the test, directory target\surefire-reports contains text and xml files. How do I generate html test reports? I can't find anything under plugin surefire and project-info-reports. An

Getting project classpath in ant

2005-11-02 Thread Bayamos
Using M2, how do I get the the projects classpath (which includes multiple modules) in ant? Can I assume this classpath would include the target/classes directory for all the included modules? Thanks, Dillon __ Yahoo! FareChase: Search multiple

Re: [m2] xdoclet plugin

2005-11-02 Thread Miguel Griffa
great! thanks I'll try it asap On 11/2/05, Yann Le Du <[EMAIL PROTECTED]> wrote: > > Hi Miguel, > > You got one at mojo.codehaus.org : > http://mojo.codehaus.org/xdoclet-maven-plugin/ > > Regards, > Yann > > > --- Miguel Griffa <[EMAIL PROTECTED]> a écrit : > > > Is ther

RE: status of hibernate plugin for m2?

2005-11-02 Thread Johann Reyes
Hello Phillip, what version of hibernate 2 or 3? There are plug-ins for both versions, that you find it in http://mojo.codehaus.org/ Regards Johann Reyes -Original Message- From: phillip rhodes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 9:08 AM To: users@maven.apache.

RE: Building C++ projects with Maven (2)

2005-11-02 Thread Donszelmann, Mark
Hi David, > -Original Message- > From: David Jackman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 02, 2005 7:49 AM > To: Maven Users List > Subject: RE: Building C++ projects with Maven (2) > > What's the status of the M2 version of the FreeHEP plugin? I can publish my alpha v

Re: Did you ever get an answer to: Surefire crashing..?

2005-11-02 Thread Erick Dovale
Hi Richard, Unfortunatly nobody have replied to the question. It seems like this is not a problem affecting many people. I am gonna ask for some guidance debuging maven and see if I can figure it out my self. In any case I'll let you know how it develops.. cheers, Erick. Tauber, Richard wrot

Re: Third party JAR version naming conventions

2005-11-02 Thread Richard Allen
Thanks. I read the coping with sun jars guide, but I don't know what the proper naming convention for versions is. I didn't think it was what Sun is using, which is 1.1.2_01. For now I'm using 1.1.2.1. Carlos Sanchez wrote: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Right way to structure a project (and its site)

2005-11-02 Thread Duane Homick
I have a multi module project that I have structured similar to how maven itself is structured: data-publishing-service + dps-shared src/main/java... src/main/test... pom.xml + dps-client src/main/java...

[m2] How to make jar project recompile dependent jar project

2005-11-02 Thread Richard Allen
I'm new to Maven. I have the following structure where JAR2 depends on JAR1. : |- JAR1 | |- pom.xml | : | |- JAR2 | |- pom.xml : : The JAR1 and JAR2 projects are developed concurrently. I currently have JAR1 installed in my local repository and the pom.xml for JAR2 lists JAR1 as a depe

Re: [m2] Using the tomcat plugin

2005-11-02 Thread Ralph Pöllath
Thanks Jan, I'll give this a shot later on. Cheers, -Ralph. On 02.11.2005, at 19:31, Jan Bartel wrote: Ralph, Try putting the following in your pom.xml: mortbay-repo mortbay-repo http://www.mortbay.org/maven2 I should have the site doco for the plugin linked into

[M2] How to make maven include generated sources in build

2005-11-02 Thread Christoph Schönfeld
Hi, I am new to Maven and would like integrate Castor to generate source code from XML Schema files. I found a Castor plug-in for Maven 2.0 at http://svn.mojo.codehaus.org/trunk/mojo/castor-maven-plugin which I built and installed the plug-in in my local maven repository. I have the attached p

Re: [m2] Using the tomcat plugin

2005-11-02 Thread Jan Bartel
Ralph, Try putting the following in your pom.xml: mortbay-repo mortbay-repo http://www.mortbay.org/maven2 I should have the site doco for the plugin linked into the Jetty website in the next day. In the meanwhile, all you should need to do is to add these plugin conf

[m2] install plugin bug with classifiers ?

2005-11-02 Thread Julien Stern
The install plugin does not seem to work when used with classifiers. When I use the jar plugin with a classifier, the install fails (the install plugin tries to use "$MYPROJECTDIR/target/classes" as the artifact name to install. Is it forbidden to use classifier with install/deploy ? Or is it a bu

Re: [M2] What is wrong with my scm url?

2005-11-02 Thread Alexandre Poitras
One last question, how can I provide my password outside of the pom so I can share it among developpers. Thank! On 11/2/05, Piotr Bzdyl <[EMAIL PROTECTED]> wrote: > > Hi, > > Ok I got it, it's because after my failed attempt, the file " > > release.properties" was created and the url was stocked i

Re: [M2] What is wrong with my scm url?

2005-11-02 Thread Piotr Bzdyl
Hi, Ok I got it, it's because after my failed attempt, the file " release.properties" was created and the url was stocked in it. So the plugin used this url and didn't care about all the changes I made to pom.xmlafterwar. To make it work again, I just had to delete this file, so the plugin would

Re: [M2] What is wrong with my scm url?

2005-11-02 Thread Alexandre Poitras
Ok I got it, it's because after my failed attempt, the file " release.properties" was created and the url was stocked in it. So the plugin used this url and didn't care about all the changes I made to pom.xmlafterwar. To make it work again, I just had to delete this file, so the plugin would create

Re: status of hibernate plugin for m2?

2005-11-02 Thread Mark Hobson
On 02/11/05, phillip rhodes <[EMAIL PROTECTED]> wrote: > I have a project that will be using hibernate, but it > appears that the hibernate plugin has not been > developed yet for maven 2. There's plugins at mojo.codehaus.org for both Hibernate 2 and 3: http://svn.codehaus.org/trunk/mojo/hibernat

Re: [M2] What is wrong with my scm url?

2005-11-02 Thread Piotr Bzdyl
Hi, From http://maven.apache.org/reference/plugins/scm/scmurl.html scm:cvs:[:]:: I cannot see any place for port number... (scm:cvs:pserver:spssoww11:2401:/cvs/ocatest:gduapi). Best regards, Piotrek - To unsubscribe, e-mai

Re: [M2] What is wrong with my scm url?

2005-11-02 Thread Alexandre Poitras
I already checked this page, great information by the way. spssoww11 is my host, I am trying to not put my username in the url so we can share the same pom among the project developpers. I think it is possible. Am I right? On 11/2/05, Yann Le Du <[EMAIL PROTECTED]> wrote: > > Hi Alexandre, > > Pl

running continuum with mysql

2005-11-02 Thread witek wolejszo
Hello, Has anyone succeeded in running Continuum-1.0 on mysql database? Environment: Debian GNU/Linux 2.6.8-2-k7 MySQL 4.0.24_Debian-10-log MySQL-AB JDBC Driver, version=mysql-connector-java-3.1.11 ( $Date: 2005-09-21 18:20:03 + (Wed, 21 Sep 2005) $, $Revision: 4287 $ ), major=3, minor=1

Re: [m2] Using the tomcat plugin

2005-11-02 Thread Ralph Pöllath
On 02.11.2005, at 16:55, Jan Bartel wrote: Ralph, Just a suggestion: if you want to run your webapp without having to create a war first, you could try the Jetty6 plugin. It is extremely lightweight, you don't have to have any external config files for it, plus it will automatically hot-red

[m2] Properties and current date/time

2005-11-02 Thread Piotr Bzdyl
Hi, How can I get a property with current date or time as property in the form as with ${pom.version}? I would like to use it in the pom.xml. Best regards, Piotrek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

RE: deploying error

2005-11-02 Thread Allison, Bob
Actually, no I didn't say anything about doing an "install". If you look back at the earlier messages, the comment about "install" came from Anuerin Diaz. I was just commenting on the difference between install and deploy to help clear up some apparent confusion. -Original Message- Fr

RE: [M2] What is wrong with my scm url?

2005-11-02 Thread Yann Le Du
Hi Alexandre, Please check this page : http://maven.apache.org/reference/plugins/scm/scmurl.html Is spssoww11 your username or your host ? Regards, Yann --- Alexandre Poitras <[EMAIL PROTECTED]> a écrit : > Hi, > > I got the following url string : > scm:cvs:pserver:spssoww11:2401:/cvs/ocatest

RE: [m2] xdoclet plugin

2005-11-02 Thread Yann Le Du
Hi Miguel, You got one at mojo.codehaus.org : http://mojo.codehaus.org/xdoclet-maven-plugin/ Regards, Yann --- Miguel Griffa <[EMAIL PROTECTED]> a écrit : > Is there any xdoclet plugin ready for m2? > I haven't found a reference in m2 site, any idea? > > -- > Miguel Griffa > Skype: miguel.gri

[M2] What is wrong with my scm url?

2005-11-02 Thread Alexandre Poitras
Hi, I got the following url string : scm:cvs:pserver:spssoww11:2401:/cvs/ocatest:gduapi in my project pom under the project/scm/developerConnection element. I then try to run the goal release:prepare but I end up with a "Embedded error: Can't load the scm provider. The scm url is invalid." I tri

Re: simple questions

2005-11-02 Thread Anuerin Diaz
By default it is in ${user.home}/.m2/settings.xml. In windows 2k/XP user.home translates to c:\Documents and Settings\\ ciao! On 11/2/05, Luca Gmail <[EMAIL PROTECTED]> wrote: > Where can I put my User-specific configuration file? What is his name? > exists some default coming from installation?

simple questions

2005-11-02 Thread Luca Gmail
Where can I put my User-specific configuration file? What is his name? exists some default coming from installation? Tnx, Luca

Re: Did you ever get an answer to: Surefire crashing..?

2005-11-02 Thread Erick Dovale
I wouldn't recommend that. Are you using the 2.0 final release? Tauber, Richard wrote: Thanks for your response. I saw the jira issue too. I am just beginning with Maven 2, should I begin with something else -- like the beta3 release? Regards, Rick Tauber Contact Work: 858-525-8438 Ce

Getting project classpath in ant

2005-11-02 Thread Frank Mena
Using M2, how do I get the the projects classpath (which includes multiple modules) in ant? Can I assume this classpath would include the target/classes directory for all the included modules? Thanks

RE: SSH proxy for deployments

2005-11-02 Thread Stevenson, Chris
We use putty for SSH through a proxy server also, I don't think you are speaking http per-se. All that's happening is you are asking your proxy server do do the connection for you (as you're not allowed out on that port) Like so: ssh protocol ssh protocol Your machine:som

RE: Continuum not recognizing maven exit code

2005-11-02 Thread Barrow, Zach
I filed an issue http://jira.codehaus.org/browse/CONTINUUM-413 -Zach -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 7:37 AM To: continuum-users@maven.apache.org Subject: Re: Continuum not recognizing maven exit code It's a know bug

[m2] xdoclet plugin

2005-11-02 Thread Miguel Griffa
Is there any xdoclet plugin ready for m2? I haven't found a reference in m2 site, any idea? -- Miguel Griffa Skype: miguel.griffa Y!: m_griffa MSN: [EMAIL PROTECTED] Cell: 54-911-62519355

Re: [m2] deploy from maven2 to maven1

2005-11-02 Thread Miguel Griffa
great! thanks On 10/31/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > yep, add: > > legacy > > to your distribution repository. > > On 11/1/05, Miguel Griffa <[EMAIL PROTECTED]> wrote: > > Is there a way to deploy a m2 artifact to a m1 repo? oviously, the pom > won't > > be of any use there, but

Re: [M2]Site internationalisation error!

2005-11-02 Thread Hong Xing
Help!!! 2005/11/2, Hong Xing <[EMAIL PROTECTED]>: > When I wanted to generate a Chinese site use M2, I got the folowing > exceptions. > > My pom.xml > > org.apache.maven.plugins > maven-site-plugin > > en,zh > GB2312 > site >

RE: deploying error

2005-11-02 Thread Luca Gmail
Yes Bob, but in the first mail i asked that i had an error deploying (to remote as you said and as I expected) my artifact. You answered me to use the install pugin. Why? First install locally and the deploy remotely? In such a way? I created my artifact (a jar file). I would like to share and reu

RE: deploying error

2005-11-02 Thread Allison, Bob
There are two different repositories you deal with in Maven: -- The "local" repository is the one that is located in ${user.home}/.m2/repository by default. This is a place where artifacts needed for the build are stored, and cannot be shared between users. When you do an "install", the artif

RE: deploying error

2005-11-02 Thread Luca Gmail
But what is the meaning of deploy plugin? If I follow the maven doc I sould use the deploy plugin if I want to deploy my artifact to the remote repository. Why you said using the install plugin? I don't understand. It's seems all so random!!! tnx, Luca -Original Message- From: Yudong Wang

Re: [m2] Using the tomcat plugin

2005-11-02 Thread Jan Bartel
Ralph, Just a suggestion: if you want to run your webapp without having to create a war first, you could try the Jetty6 plugin. It is extremely lightweight, you don't have to have any external config files for it, plus it will automatically hot-redeploy your webapp whenever you change any class

RE: Building C++ projects with Maven (2)

2005-11-02 Thread David Jackman
What's the status of the M2 version of the FreeHEP plugin? Is this becoming the defacto standard, or are there other attempts at this problem? ..David.. -Original Message- From: Donszelmann, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 6:08 PM To: Maven Users List S

RE: deploying error

2005-11-02 Thread Luca Gmail
It seems is a struggle!!! I work in ditributed environement and I would like to deploy my artifact in a internal (remote) repository mantaining the correct versioning. What is the best way to do it? Im a bit cofused about this argument. Tnx, Luca -Original Message- From: Yudong Wang [mail

RE: Installing Commercial Jars and missing POM XML files

2005-11-02 Thread Pilgrim, Peter
Thanks very much K.C Hey you aren't related to 1970's "The Sunshine Band", are you? |-D # Cheers again -- Peter Pilgrim Organiser / Founder ( JAVAWUG http://developers.sun.com/jugs/display/europe/gbr/london ) ( ( (

Re: pom.xml in a build directory

2005-11-02 Thread Wim Deblauwe
Should I open a new issue in JIRA for my problem or just comment on the current one? 2005/11/2, Doug Douglass <[EMAIL PROTECTED]>: > > I reported this problem for maven 1 projects: > > http://jira.codehaus.org/browse/CONTINUUM-381 > > > Wim Deblauwe wrote: > > Hi, > > > > I'm using a structure whe

  1   2   >