Propper use of Maven2

2006-02-05 Thread Nicolai Marck Ødum
Hi Maven People I have a project where part of the source files are static HTML files in the /src/main/html directory. As part of nightly build (with Continuum) I remote deploy the files generated by site plugin with

RE: [m2] deploy:deploy-file with source?

2006-02-05 Thread Brian E. Fox
I don't think it will work with mvn deploy:deploy-file, but it does work if you use do mvn deploy. -Original Message- From: Dirk Olmes [mailto:[EMAIL PROTECTED] Sent: Sunday, February 05, 2006 2:17 AM To: Maven Users List Subject: Re: [m2] deploy:deploy-file with source? dan tran

Re: sserver support in Maven 1.0.2

2006-02-05 Thread Fredy
Hi all, i'm using freepository.com, too! Is there allready a way to access it from maven2 ? Fredy --- Emmanuel Venisse wrote --- No, it isn't supported. I didn't know this cvs protocol. Do you have some links about url format with this protocol, default port...? I'll add sserver

PMD 3.5 and/or Testng

2006-02-05 Thread Guilherme Silveira
1. Is anyone able to use PMD 3.5 with maven? If so, any tips? 2. The same thing with TestNG and maven2? Att Guilherme Silveira -- Guilherme Silveira -- [EMAIL PROTECTED] Caelum - Ensino e Solucoes em Java www.caelum.com.br

multiproject/module site ETA

2006-02-05 Thread Geoffrey De Smet
Maven 2.0.2 is out a while, but I haven't found the new multiproject site functionality yet. I suppose it comes with the next release of the site plugin. Is there any rough estimated time of arrival on that? Thanks. -- With kind regards, Geoffrey De Smet

predefined descriptor IDs for assemblies?

2006-02-05 Thread Chris Markle
Folks, I get the impression from the assembly plug-in docs that you can create certain assemblies by using pre-defined descriptor IDs. I read this to mean that these descriptor IDs are defaults and I do not need to define them anywhere in my workspace. So when I try: C:\blah mvn

downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-05 Thread Chris Markle
Folks, Newbie here so be gentle please ;) I read in http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html in the section entitled Configuring Maven to Search for Plugins that: Maven will always search the following groupId's after searching any plugin groups

Re: predefined descriptor IDs for assemblies?

2006-02-05 Thread Wendy Smoak
On 2/5/06, Chris Markle [EMAIL PROTECTED] wrote: C:\blah mvn assembly:assembly -Dmaven.assembly.descriptorId=bin I get the following error which has me perplexed (not useful lines deleted): [INFO] [assembly:assembly] [ERROR] BUILD FAILURE [INFO] No assembly descriptors found. Any

RE: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-05 Thread Brian E. Fox
Hrm, works ok for me. What version of maven are you using? Try mvn -U jxr:jxr and see what happens. -Original Message- From: Chris Markle [mailto:[EMAIL PROTECTED] Sent: Sunday, February 05, 2006 3:34 PM To: users@maven.apache.org Subject: downloading plug-ins from mojo

Re: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-05 Thread Chris Markle
Brian et al, Hrm, works ok for me. What version of maven are you using? Maven 2: C:\blah mvn --version Maven version: 2.0.2 Try mvn -U jxr:jxr and see what happens. C:\blah mvn --version Maven version: 2.0.2 C:\blah mvn -U jxr:jxr [INFO] Scanning for projects... [INFO] Searching

Re: predefined descriptor IDs for assemblies?

2006-02-05 Thread Chris Markle
Wendy, Last time I looked at it, the documentation was wrong. It's descriptorId, not maven.assembly.descriptorId. OK that worked. Thanks... Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: multiproject/module site ETA

2006-02-05 Thread Brett Porter
There is a roadmap in JIRA for issues to be completed. Late February is a possibility. - Brett On 2/6/06, Geoffrey De Smet [EMAIL PROTECTED] wrote: Maven 2.0.2 is out a while, but I haven't found the new multiproject site functionality yet. I suppose it comes with the next release of the site

Re: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-05 Thread Hervé BOUTEMY
it's jxr-maven-plugin, not maven-jxr-plugin : I did the same mistake some time ago... The convention is not the same between org.apache.maven.plugins (maven-xxx-plugin) and org.codehaus.mojo (xxx-maven-plugin). Jira http://jira.codehaus.org/browse/MPLUGIN-11 is an attempt to help newbies to

RE: Launch an application from the commandline

2006-02-05 Thread Treloar, Barrie (SAPOL)
Found it, I think: http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/exec-maven- plugin/0.4-SNAPSHOT/ However, I didn't have any luck convincing Maven to download it from there. I tried adding: repositories repository idcodehaus-snapshot/id nameCodehaus

Re: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-05 Thread Chris Markle
Brian, Herve, Herve wrote: it's jxr-maven-plugin, not maven-jxr-plugin : I did the same mistake some time ago... The convention is not the same between org.apache.maven.plugins (maven-xxx-plugin) and org.codehaus.mojo (xxx-maven-plugin). Brian replied: Yes, but if you run it from the

Re: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-05 Thread Chris Markle
Brain et al, Yes, but if you run it from the command line, you don't need to put it in the pom. If it is in the pom incorrectly, then that will cause problems. I tested it on a random project with nothing in my pom for the plugin and it found it ok. I did find that if I added this to the

AW: Integrating Junit Testreport into the maven site

2006-02-05 Thread Pleines, Karsten \(I B 3\)
Hi, Thank you for the answer. I think you missunderstood my question or I forulated them erroneous. Now I have the Junit reports inside the target\surefire-reports as Text and XML Files but I don't know how to include them into the maven generated website? I want to deploy the site for a

Re: [***SPAM*** Score/Req: 10.4/5.0] Re: Hibernate with Maven

2006-02-05 Thread Jamie Bisotti
On 2/1/06, Maciej Mastalarczuk [EMAIL PROTECTED] wrote: Thanks, I also discovered that you can exclude it from download (if say this jar is already available on the server) You can do the following: dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId

M2.0.2 Source Xref and JavaDocs

2006-02-05 Thread javed mandary
Hi , am currently using Maven 2.0.2 to generate a site out of the main POM of my multiple-project . There are many sub poms which describe the sub-modules within my project . However when i generate site , the report for Source Xref says: -- Project

Re[2]: [M2] Need help on configuring maven.username ?

2006-02-05 Thread Marcin Cetnarski
Witaj Malcolm, MWH is there no way of setting it in a properties file ? Yes it is. Try using profile. profiles profile idmyProfile/id properties maven.usernameMyName/maven.username

Re: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-05 Thread Hervé BOUTEMY
oh, I see : I did not know it was possible. How is mvn jxr:jxr converted to org.apache.maven.plugins:maven-jxr-plugin, when it should be org.codehaus.mojo:jxr-maven-plugin ? The fact that the groupId is different seems intriguing to me : the conversion rule cannot work only on artifactId, but

Re: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-05 Thread Brett Porter
The problem is that the entry is not in here: http://www.ibiblio.org/maven2/org/codehaus/mojo/maven-metadata.xml Once the plugin is released, it will be remedied. - Brett On 2/6/06, Hervé BOUTEMY [EMAIL PROTECTED] wrote: oh, I see : I did not know it was possible. How is mvn jxr:jxr