Re: release:prepare errors

2006-03-11 Thread Yann Le Du
This is also what we are doing, except that we never check-in the x.x.xversion (it goes only in the tag). This way, nobody else - including Continuum - will work on the version x.x.x and produce a x.x.x-stampedartifact that would erroneously look like a release. 1. Check that all dependencies are

[m2] defining new lifecycle / packaging with maven-plugin-tools-ant

2006-03-11 Thread andreas.ebbert-karroum
Hi, some of you might have followed my trials to setup a new project [1]: I'm now trying to work on the first step, which is using the assembly plugin to stuff all generated sources into a zip/jar file. The problem is, that during the build lifecycle I actually only want two plugins to be

Re: test report in m2

2006-03-11 Thread Alexandre Poitras
I agree. You shoudn't specify a plugin version unless you really need to (for instance you want to use a snapshot version). This way Maven will tell you when there is a new version released and ask you if you want to install it and use it from now on. On 3/11/06, Wayne Fay [EMAIL PROTECTED]

Re: how to point 'mvn archetype:create' at internal repository?

2006-03-11 Thread Rob Dickens
Thanks for the reply. I'm afraid I still can't get this to work. The page you refer to gives instructions for using a remote (internal) repository from within an existing project, but not when creating a new project from an archetype. As you say, it looks as though I need to add something

AW: [m2] Internal Repositories

2006-03-11 Thread Khin, Gerald
On 3/10/06, Treloar, Barrie [EMAIL PROTECTED] wrote: On 3/10/06, Khin, Gerald [EMAIL PROTECTED] wrote: Hi! Being a newbie to maven, I wonder if this idea could work: [del] The first question that springs to mind is Why? What benefit is there to restrict maven in this way, it makes no

Re: deploy war to remote repository

2006-03-11 Thread Gordon Erlebacher
When I say one command , I mean one user command. Just create a script file that contains multiple maven and other commands. YOu understand? Gordon Quoting Evan Bollig [EMAIL PROTECTED]: Im running maven 2 and need to deploy a war to a remote tomcat server. The goal is to limit the

Re: ejb3 plugin

2006-03-11 Thread Marco Mistroni
Hello Tim, i have downloaded the plugins,but they are as sources... can you tell me how do i go from sources to install them in my local repository? thanks in advance an dregards marco On 3/7/06, Tim Kettler [EMAIL PROTECTED] wrote: Hi Nidhi, you can checkout the maven-ejb3-plugin vie svn

Re: ejb3 plugin / solved

2006-03-11 Thread Marco Mistroni
hello, ok i launche d a mvn install for each plugins sorry for bothering rgds marco On 3/11/06, Marco Mistroni [EMAIL PROTECTED] wrote: Hello Tim, i have downloaded the plugins,but they are as sources... can you tell me how do i go from sources to install them in my local repository?

RE: deploy war to remote repository

2006-03-11 Thread Artamonov, Juri
Evan, You can try cargo example https://svn.codehaus.org/cargo/cargo/trunk/samples/extensions/maven2/src /test/projects/testRemoteDeploy/pom.xml After this you just need to use cargo:deploy. Also in listed pom file if you are using cargo 0.8 please change cargo.tomcat.manager.username on

Re: deploy war to remote repository

2006-03-11 Thread Stephen Duncan
I think /manager/html is just the web view. It is this way in Tomcat 5.0, 4.x, etc. too. /manager is still the right configuration. -Stephen On 3/11/06, Evan Bollig [EMAIL PROTECTED] wrote: Im running maven 2 and need to deploy a war to a remote tomcat server. The goal is to limit the

Re: how to point 'mvn archetype:create' at internal repository?

2006-03-11 Thread Wendy Smoak
On 3/11/06, Rob Dickens [EMAIL PROTECTED] wrote: When I run 'mvn archetype:create ...' or 'mvn -Pdevt-profile ...' it attempts to download the archetype from http://repo1.maven.org/ maven2, and appears to have no knowledge of the repository specified above. PLEASE COULD SOMEBODY CHECK THAT

Re: maven 2 with jdk 1.3

2006-03-11 Thread Mario Ivankovits
Hi! PS Sanjay, you can find out what version a given class was compiled if you look at the unsigned short integers starting at byte offset 4, right after 0xCAFEBABE in every class file. See this Javaworld article for more details, page 2:

Re: how to point 'mvn archetype:create' at internal repository?

2006-03-11 Thread Wendy Smoak
On 3/11/06, Wendy Smoak [EMAIL PROTECTED] wrote: I can confirm that it does NOT work in Maven 2.0.2, see this thread for more info: http://www.nabble.com/How-to-install-use-a-third-party-archetype--t1024045.html#a2662843 Sorry, that should say it (retrieving an archetype from a remote

RE: plugin use in multiprojects seems broken

2006-03-11 Thread Allison, Bob
Bugs like this are one of the reasons the plugin is still alpha. Although, I have to admit that I did not expect the plugin to get used like this since I figured each project that wanted to be able to build an RPM would need an individual configuration; I wasn't expecting anyone to want to use an

Re: [m2] Internal Repositories

2006-03-11 Thread Alexandre Poitras
You should use Maven-proxy and an internal repository wich share the same location. This way, your goal is going to be achieved automatically. Or if you prefer a manual process, just run regularly a synchronise file tool between Maven-Proxy repository and your internal repository. On 3/11/06,

RE: rpm-plugin mapping file rename

2006-03-11 Thread Allison, Bob
Looking at the sources, it looks like it will not rename the file. If ../../micro_proxy is a directory, then the file micro_proxy.xinetd in that directory will be installed in the destination (/etc/xinetd.d) with the name micro_proxy.xinetd. If ../../micro_proxy is a file, then that file will be

RE: rpm plugin location

2006-03-11 Thread Allison, Bob
The links on that page were automatically created from information inherited from the sandbox parent. I think the sandbox parent was updated since then to provide the correct links, but I haven't regenerated the site since then. I'll try to get this updated. -Original Message- From:

Re: maven-corburtura POM v3 in repo

2006-03-11 Thread Matthew L Daniel
If possible, can u share with us the XSLT u wrote to convert POMv3 to POMv4? How did I _know_ that question was coming? :-) Please find it attached. -- /v\atthew ?xml version=1.0 encoding=UTF-8? !-- Version: 1.0 Copyright 2006 Matthew L Daniel [EMAIL PROTECTED] Licensed under the Apache

Re: maven-corburtura POM v3 in repo

2006-03-11 Thread Arnaud HERITIER
You can also take a look at : http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-model-converter/ Arnaud On 3/11/06, Matthew L Daniel [EMAIL PROTECTED] wrote: If possible, can u share with us the XSLT u wrote to convert POMv3 to POMv4? How did I _know_ that question was coming?

[m2,maven-proxy,newbie] Struggling with maven-proxy

2006-03-11 Thread Khin, Gerald
Hi! I'm new m2 and maven-proxy and struggling to get it working. If I call mvn clean, then the console debug output shows: [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from wollox-plugin-repo [DEBUG] repository metadata for: 'artifact

EJB3/J2EE project using Maven2

2006-03-11 Thread Marco Mistroni
Hello all, i have done a J2EE project which includes some EJB3, using Maven2. as of now, main limitation (due to its simplicity) is that i am NOT using maven-ejb-plugin since i am letting jboss figure out the ejb-jar.xml from the deployed package the current project does not use any maven-ejb3

Re: Passing maven variables as system properties

2006-03-11 Thread Marco Mistroni
Hello, not sure about maven2, but in maven1 i was using following (espeically for junit) maven.junit.sysproperties=db.url db.user db.password db.driver db.seedfile maven.final.name is there a similar thing for maven2? rgds marco On 3/11/06, Simon Kitching [EMAIL PROTECTED] wrote: Thanks

RE: Exploded directory Structure

2006-03-11 Thread Brian E. Fox
Can't you just run the build again? I have Tomcat setup to point to the exploded archive in target. Then a change is made and we rebuild. -Original Message- From: chetan mehrotra [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 5:39 AM To: users@maven.apache.org Subject: Exploded

Re: EJB3/J2EE project using Maven2

2006-03-11 Thread Pete
Hi Marco, Can you try sending it to me again please. I know yesterday you tried sending the M1 version, but I never received it. many thanks Pete On 11/03/06, Marco Mistroni [EMAIL PROTECTED] wrote: Hello all, i have done a J2EE project which includes some EJB3, using Maven2. as of now,

Re: [m2,maven-proxy,newbie] Struggling with maven-proxy

2006-03-11 Thread Alexandre Poitras
You have to declare it as mirror of central in your settings.xml file. It is very important to understand that a proxy is not a true repository. It is always confused because a lot of people share their proxy *cache* (where the artifacts are copied) and their internal corporation repository in

Re: Exploded directory Structure

2006-03-11 Thread Greg Case
If I've understood what you are trying to do, you can tomcat config point to the src/main/webapp directory, you can then run a mvn compile war:inplace, and it will copy all of classes and dependencies into the appropriate places in your WEB-INF folder. When doing this, it's also helpful to bind

Re: test report in m2

2006-03-11 Thread Miguel Griffa
I've removed the version and the report got generate in the same way as before, without finding any tests (tests that I see run while running site, BTW) So I specified version 2.0-SNAPSHOT and got this GroupId: org.codehaus.mojo ArtifactId: surefire-report-maven-plugin Version: 2.0-SNAPSHOT

plugin:download in m2

2006-03-11 Thread Diego Bendlin
Hello Guys, Im having a doub that would like to ask you, Im an AndroMDA ( http://www.andromda.org), this guys use maven to generate their MDa projects. Recently thay provided a plugin for m2, but to use it I have to download the entire sources and compile them myself using m2 (Not big deal but

Re: test report in m2

2006-03-11 Thread Yann Le Du
Last release of surefire-report-maven-plugin is indeed 2.0-beta-1 [1] 2.0-beta-4 is maven-site-plugin [2] [1] http://www.ibiblio.org/maven2/org/codehaus/mojo/surefire-report-maven-plugin/ [2] http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-site-plugin/ On 3/11/06, Miguel Griffa

Re: test report in m2

2006-03-11 Thread Miguel Griffa
got that too plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.0-beta-4/version /plugin I guess that the problem is in the report plugin, or the test plugin, since no TEST... xml

CRITICAL: Line too long error when I try to fork the compiler for jdk1.3

2006-03-11 Thread Sanjay Choudhary
On Windows XP ( haven't tried it on unix or linux as yet) I get line too long error. This only happens for the projects that have more than 40 files or classpath entries are too many. Is there a way I can fix this? Please advice. cheers, Sanjay

Re: CRITICAL: Line too long error when I try to fork the compiler for jdk1.3

2006-03-11 Thread Brett Porter
It seems to be a known issue: http://jira.codehaus.org/browse/MCOMPILER-22 Please stop directly CCing me on these mails. I already read the list. - Brett On 3/12/06, Sanjay Choudhary [EMAIL PROTECTED] wrote: On Windows XP ( haven't tried it on unix or linux as yet) I get line too long error.

Maven 2.0 and j2ee and serious work

2006-03-11 Thread Roberto N Nanamura
Hi, I use maven 1.1 in my project in Bank of America and it has been very handy. But I reluctant to migrate to Maven 2.0 because of the lack of the j2ee support. It does not matter how nice and wonderful the new features of Maven 2.0 are, at the end of day is how it can support