broken link

2005-11-14 Thread Mario Ivankovits
Hi! The link to the "issue tracking" on http://maven.apache.orag/guides/development/guide-helping.html is broken. It points to http://maven.apache.org/guides/issue-tracking.html which shows a "page not found". --- Mario - T

RE: links in confluence wiki (was Re: Documentation -- making better use of the wiki)

2005-11-14 Thread Jörg Schaible
Anuerin Diaz wrote on Monday, November 14, 2005 5:22 PM: > hi, > >i am having problems trying to make a URL in the > confluence wiki. the guidelines on the right side it should > look like [title#anchor] but [why do i...#FAQ/why-do-i] does > not work. I am trying to make the FAQ page as the i

Re: [m2] Clover plugin

2005-11-14 Thread Wim Deblauwe
Hi, I got further now. I removed the group and then maven would find the plugin. So having this does not work: org.apache.maven.plugins maven-clover-plugin but this does: maven-clover-plugin But, there seems to be a locale problem in the current version of the plugin. Is this a known bug o

RE: Configure compile JDK vs. compile-test JDK

2005-11-14 Thread Jörg Schaible
Hi Brett, Brett Porter wrote on Tuesday, November 15, 2005 4:59 AM: > We seem to have missed that use case after we changed from > the per-goal configuration model to the lifecycle bindings. > > I think our medium term plan is to make the compiler > configuration a separate component referenced

Repost: [m2] name of the snapshot jars

2005-11-14 Thread Wim Deblauwe
Hi, this did not get anwered. Maybe it was missed... regards, Wim 2005/11/14, Wim Deblauwe <[EMAIL PROTECTED]>: > > Hi, > > I currently use 1.0-SNAPSHOT for my projects using maven 1. This gives me > 2 jars when I deploy: myjar-1.0-SNAPSHOT.jar and myjar-[timestamp].jar. > > In maven 2, I only

Re: Deploy source jar to repository

2005-11-14 Thread Wim Deblauwe
I can't get it working. I tried this in my pom: ... org.apache.maven.plugins maven-source-plugin And then 'mvn install' or 'mvn deploy', but that only creates the normal jar, not the sources jar. Other question: Does the idea plugin also support attaching the sources? regards, Wim 200

M2 NTLM Proxy and remote ibiblio repo

2005-11-14 Thread javed mandary
Hi guys, am having a problem right now accessing the remote ibiblio repository due to the fact that am behind firewalls and the proxy am using is NTLM . Now it seems that NTLM proxies are not supported by Maven 2. see: http://maven.apache.org/guides/mini/guide-proxies.html This is why I was hopin

Re: [m2] Clover plugin

2005-11-14 Thread javed mandary
What dont you guys use cobertura*(code coverage tool) instead of clover , its free compared to clover where you need to have a license . http://cobertura.sourceforge.net/ regards, Javed On 11/15/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > This is what I get from maven calling 'mvn -e site' >

Re: [m2] Clover plugin

2005-11-14 Thread Wim Deblauwe
This is what I get from maven calling 'mvn -e site' + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building Utils Logging Module [INFO] task-segment: [site] [INFO] ---

Re: [m2] how to convert project.xml to pom.xml?

2005-11-14 Thread Edwin Punzalan
Hi, see if this helps: http://maven.apache.org/guides/mini/guide-m1-m2.html [EMAIL PROTECTED] wrote: Hi, A colleague of mine started working with m1. But the Eclipse plugin is not working out for us since we have multiple (12!) projects with dependencies between them. The new Eclipse plugin

changelog-maven-plugin problem

2005-11-14 Thread Ashley Hurkoo
I am not sure where the error is coming from, it just says FATAL ERROR Also is there a way to run just the changelog plugin instead of of doing mvn site:site and wait forever? org.codehaus.mojo changelog-maven-plugin scm:cvs:pserver:[EMAIL PROT

Re: [m2] Clover plugin

2005-11-14 Thread Anuerin Diaz
On 11/15/05, Brett Porter <[EMAIL PROTECTED]> wrote: > Neither of these should be required with the current version, though > I'm not sure when it was last released. At worst you only need the > first and it should be added to the clover plugin definition, not a > general dependency. > i was getti

Re: test-jar dependency clobbers transitive dependency

2005-11-14 Thread Brett Porter
You can add it to that, or better create a new issue and link to the original/mention it in the description. It shouldn't be clobbered, as the conflict ID for a dependency is group:artifact:type:classifier. - Brett On 11/15/05, andrew <[EMAIL PROTECTED]> wrote: > Maven version: 2.0 > > Hi, > > Sp

Re: Configure compile JDK vs. compile-test JDK

2005-11-14 Thread Brett Porter
We seem to have missed that use case after we changed from the per-goal configuration model to the lifecycle bindings. I think our medium term plan is to make the compiler configuration a separate component referenced from that plugin, and then the test one can have its own configuration, but defa

Re: Javadoc within the maven generated site

2005-11-14 Thread Brett Porter
We don't generally recommend building from SVN unless you intend to patch the code, however for the record you do this: svn co https://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins and in the plugin of your choice, run: mvn install For now, you can do this to get the latest publis

[m2] how to convert project.xml to pom.xml?

2005-11-14 Thread batsignal
Hi, A colleague of mine started working with m1. But the Eclipse plugin is not working out for us since we have multiple (12!) projects with dependencies between them. The new Eclipse plugin for m2 sounds very promising. I'd like to convert the various m1 project.xml to m2 pom.xml automaticall

Re: Multi-module project with Eclipse

2005-11-14 Thread Chris Tucker
If it helps matters, here is what I'm currently considering as a compromise between the two approaches (flat vs. hierarchical). This is for a source tree that will contain, as an example, all of the "web" related ears in the system; in a full use, we might expect to see an expansion of directo

RE: Javadoc within the maven generated site

2005-11-14 Thread Ashley Hurkoo
Can you send me a link where it is documented how to build this plugin from SVN for it to work for me? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 11:59 AM To: Maven Users List Subject: Re: Javadoc within the maven generated site I

Re: [M2] - maven-release-plugin cannot load SCM provider

2005-11-14 Thread Trent Rosenbaum
I just thought I would send a quick email mentioning that I have attached an update to the content of the "Guide to Releasing" mini guide. The following issue was raised to keep track of the update. http://jira.codehaus.org/browse/MNG-1564 Any feedback would be great. Hope this helps Trent On 1

test-jar dependency clobbers transitive dependency

2005-11-14 Thread andrew
Maven version: 2.0 Hi, Specifying a test-jar dependency clobbers any transitive dependency on that project. eg projectA publishes jar and test-jar projectB depends on projectA.jar (scope compile) projectC depends on projectB.jar (scope compile) and projectA.test-jar (scope test) In projectC, t

Re: Javadoc within the maven generated site

2005-11-14 Thread Brett Porter
It's a known issue, fixed in SVN. On 11/15/05, Ashley Hurkoo <[EMAIL PROTECTED]> wrote: > Does anyone knows how to generate the javadoc in the maven site, > > I did this > > > > > org.apache.maven.plugins > maven-javadoc-plugin > > > > > It generates t

Configure compile JDK vs. compile-test JDK

2005-11-14 Thread Howard Lewis Ship
I would like to compile my code as source and target for JDK 1.3. However, I use some JDK 1.5 stuff in my tests; I would like to configure my tests differently. Looking at the configuration mechanism, it appears that the granularity is at the plugin level. I can't see how to configure one goal w

Javadoc within the maven generated site

2005-11-14 Thread Ashley Hurkoo
Does anyone knows how to generate the javadoc in the maven site, I did this org.apache.maven.plugins maven-javadoc-plugin It generates the javadoc, but when I click the link on the maven generated site, it does not work. --

Re: Multi-module project with Eclipse

2005-11-14 Thread Srepfler Srgjan
These are really good remarks and it reflects the show-stopper that we received after we realized there is slim chance on sharing our ear application modules between maven 2 and eclipse's WTP. I think more discussion on this subject could be useful and some help on how to manage code base betwee

Multi-module project with Eclipse

2005-11-14 Thread Chris Tucker
Hi, The page http://maven.apache.org/guides/mini/guide-ide-eclipse.html explains how to use Eclipse with a multi-module Maven2 project. Specifically, it gives instructions to "handle maven multiple module projects with eclipse while keeping the recommended hierachical project layout.". I'd b

[m2] RPM Plugin Release

2005-11-14 Thread Bob Allison
I have released version 1.0-alpha-1 of an RPM plugin for Maven 2. You can find the documentation at http://codehaus.org/~boba/rpm-plugin/intro.html which also includes download instructions. The source code can be viewed at: http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/rpm-maven-plugin

Re: How to customize report execution

2005-11-14 Thread Brett Porter
Generating a report works - the problem is the goal is called "checkstyle" not "report". On 11/15/05, Michael Böckling <[EMAIL PROTECTED]> wrote: > Hi, > > is there a way to include reports (like checkstyle) into a specific > phase of the M2 lifecycle? > I tried to put the maven-checkstyle-plugin

Re: Deploy source jar to repository

2005-11-14 Thread Brett Porter
Put it in the parent outside of pluginManagement, and without the inherited flags (which is the default) - it should work. Alternatively, always deploy with -DperformRelease=true, as that will activate source and javadoc in the same way from the super pom. - Brett On 11/15/05, Peschier J. (Jeroe

Re: [m2] InstallMojo properties

2005-11-14 Thread Brett Porter
You need to create an artifact handler - search the archives for other discussion on this. It is on the "todo" list for documentation. - Brett On 11/15/05, Nigel Magnay <[EMAIL PROTECTED]> wrote: > A bit further into my experimenting with generating an m2 plugin - I > have successfully created my

Re: Jar Manifest Problems

2005-11-14 Thread Brett Porter
Thanks for looking into this. We certainly need to make some improvements to the archiver. Cheers, Brett On 11/15/05, Allison, Bob <[EMAIL PROTECTED]> wrote: > It looks like we have some problems with the contents of manifests in > jar files. > > According to Sun's documentation > (http://java.su

How Continuum interprets SCM path for maven 2 modules?

2005-11-14 Thread Frank Zhao
I have several maven 2 projects with modules, when I add then into Continuum, the scm path of the modules were all wrong. Therefore I would like to know how continuum 1.0/1.0.1 interprets the scm path for maven 2 modules. Here is the example of my maven 2 project. Directory tree in svn: root/

Re: The CGLIB issue or how transitive dependencies break an application

2005-11-14 Thread Brett Porter
That's the one. On 11/15/05, Jörg Schaible <[EMAIL PROTECTED]> wrote: > Brett Porter wrote on Monday, November 14, 2005 1:02 PM: > > > This is a feature we have marked for 2.1 already. In the mean > > time, you need to do some surgery on your dependency tree, > > excluding the ones you don't wan

Re: EJB3 Pluggin and .par MNG-699 (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingpar)

2005-11-14 Thread cameron clarke
:-( oh my understanding of the commentary in http://jira.codehaus.org/secure/Dashboard.jspa?os_destination=%2Fbrowse%2FMNG-699 and bleeding edge build from svn source with the addition of JarMojo.java-patch.zip and maven2-ejb3-support.zip enabled this functionality although it's not there out of t

Re: EJB3 Pluggin and .par MNG-699 (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingpar)

2005-11-14 Thread cameron clarke
: > > ejb3 and par packaging types. > when I attempt to build a multi-module I get the following error: > > [INFO] Building Unnamed - uk.co.abc:abc-data-access:par:1.0-SNAPSHOT > [INFO] task-segment: [compile] > [INFO] > >

RE: [m1] How to bundle an ejb-client into a web module ?

2005-11-14 Thread Arnaud HERITIER
Hi Blaise, It is a known bug : http://jira.codehaus.org/browse/MPWAR-50 It's already fixed, you can get the snapshot with : maven plugin:download -Dmaven.repo.remote=http://cvs.apache.org/repository/ -DgroupId=maven -DartifactId=maven-war-plugin -Dversion=1.6.2-SNAPSHOT Arnaud > -Messag

Re: [m2] xdoclet and ear plugin - how to generate .war extension (not .jar)

2005-11-14 Thread Ashley Williams
Yes the ear plugin seems to be doing its job fine. However I need a way to make the web project generate a file with a .war extension so that it will be found ok. I can't add the following tag: war because this makes the war behaviour kick in and I get the following error: /WEB-INF

Re: Cannot make XDoclet plugin work

2005-11-14 Thread Dennis Lundberg
There is an issue for this in Jira: http://jira.codehaus.org/browse/MEV-191 Dennis Lundberg wrote: Hello The problem is with either xdoclet or the xdoclet-maven-plugin. One of them has a dependency on commons-logging-1.1-dev, which is not yet released. That dependency is therefor not availa

Re: Cannot make XDoclet plugin work

2005-11-14 Thread Dennis Lundberg
Hello The problem is with either xdoclet or the xdoclet-maven-plugin. One of them has a dependency on commons-logging-1.1-dev, which is not yet released. That dependency is therefor not available at ibiblio. Jerarckill - ANS wrote: Hello, I am trying to make the XDoclet plugin work on one o

Re: [m2] Clover plugin

2005-11-14 Thread Brett Porter
Neither of these should be required with the current version, though I'm not sure when it was last released. At worst you only need the first and it should be added to the clover plugin definition, not a general dependency. The clover DB is also not required as that is the default. Wim, any more

Re: Problem installing a jar file using install:install plugin

2005-11-14 Thread Brett Porter
That's correct. On 11/15/05, Jerarckill - ANS <[EMAIL PROTECTED]> wrote: > Aaaah. > > Ok, so, if I understand you well: > > mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta > -Dversion=1.0.1B -Dpackaging=jar > -Dfile=C:/development/install/jta-1.0.1B.jar > javax.transaction:jt

Re: can maven-eclipse-plugin of maven2 work?

2005-11-14 Thread mike jones
Hi mvn eclipse:eclipse works for me, I have even changed project natures. cheers mike On 14/11/05, jeff li <[EMAIL PROTECTED]> wrote: > > Hi, > I try beta and alpha version of maven-eclipse-plugin of maven2 , but it > can > not work. I am wondering if maven-eclipse-plugin can work so far. > > Jeff

Re: Problem installing a jar file using install:install plugin

2005-11-14 Thread Jerarckill - ANS
Aaaah. Ok, so, if I understand you well: mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=C:/development/install/jta-1.0.1B.jar javax.transaction:jta:1.0.1B:jar isn't a valid command and, in order to have it work as expected, i

can maven-eclipse-plugin of maven2 work?

2005-11-14 Thread jeff li
Hi, I try beta and alpha version of maven-eclipse-plugin of maven2 , but it can not work. I am wondering if maven-eclipse-plugin can work so far. Jeff

[m2] exception in Maven while processing dependencies with ""

2005-11-14 Thread Arik Kfir
Hi, I have the following POM structure: POM_PARENT +--POM_EJB (packaging=ejb) +--POM_EAR (packaging=ear) As you can see, POM_EJB and POM_EAR extend POM_PARENT. The POM_PARENT defines a "" which specifies the correct version of POM_EJB that POM_EAR should depend upon, like this: ...

RE: [m2] How to inject values into a bean within a collection definedasa plugin parameter?

2005-11-14 Thread Allison, Bob
I think that such a process is in the works, but I can't find the JIRA issue on it. -Original Message- From: Richard Allen [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 15:27 To: Maven Users List Subject: Re: [m2] How to inject values into a bean within a collection definedasa

Re: [m2] How to inject values into a bean within a collection definedas a plugin parameter?

2005-11-14 Thread Richard Allen
For now, I've added a set method on the Options class for setting a default directory, which I get from a parameter in the Mojo. This is essentially what you suggested I could do. I just don't think it is very clean, and I see how it could be useful (and in this case cleaner) if Maven could pro

RE: [m2] How to inject values into a bean within a collection definedas a plugin parameter?

2005-11-14 Thread Allison, Bob
The configuration should look like (assuming that your definition of parameter directory is actually specified as "private String directory"): /a/b/c /d/e/f I don't think that the expressions and default values available in the Mojo are available in the classes used in this

[m2] How to inject values into a bean within a collection defined as a plugin parameter?

2005-11-14 Thread Richard Allen
I have an array (same question applies to Java Collections) that is defined as a parameter of a Mojo: public class MyMojo extends AbstractMojo { ... /** * @parameter * @required */ private Options[] optionsArray; ... } and within the Options bean, I would like to inject properties from

RE: RE: Using Maven with WSAD

2005-11-14 Thread Martijn de Bruijn
How can I define the WSAD natures in the pom.xml? > -Original Message- > From: Fabrizio Giustina [mailto:[EMAIL PROTECTED] > Sent: maandag 14 november 2005 15:31 > To: Maven Users List; [EMAIL PROTECTED] > Subject: Re: RE: Using Maven with WSAD > > On 11/14/05, [EMAIL PROTECTED] <[EMAIL P

RE: Unable to generate Maven 1.0.2 ChangeLog reports

2005-11-14 Thread Chawla, Sampreet Kaur \(Cognizant\)
Hi Arnaud, I am using the plugins bundled in maven 1.0.2, and thanks, .cvspass file in my ${user.home}.. :-) I am however unable to generate the ChangeLog, Developer Activity and File Activity Reports. I have few more queries - In the parent project.xml file, I have given the cvs module name

Jar Manifest Problems

2005-11-14 Thread Allison, Bob
It looks like we have some problems with the contents of manifests in jar files. According to Sun's documentation (http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html), there are three basic formatting rules which are not always being enforced: 1) All text must be UTF-8 2) Lines are limited t

Re: EJB3 Pluggin and .par MNG-699 (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingpar)

2005-11-14 Thread Stephane Nicoll
There's not much in the EJB plugin. I think the idea is to keep things (packaging, lifecycle, etc) separated. On 11/14/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > > Oh...why create another module? > > On 11/14/05, Stephane Nicoll <[EMAIL PROTECTED]> wrote: > > No. The EJB plugin won't support EJB

RE: JSTL tld dependencies

2005-11-14 Thread KC Baltz
The TLD is usually packaged with the Jar files for the JSTL. First of all, make sure you are getting standard-???.jar and jstl-???.jar in your war. Then, do the following on standard.jar to convince yourself the tlds exist: jar -tf standard.jar You should see something like the following: .

Re: EJB3 Pluggin and .par MNG-699 (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingpar)

2005-11-14 Thread Arik Kfir
Oh...why create another module? On 11/14/05, Stephane Nicoll <[EMAIL PROTECTED]> wrote: > No. The EJB plugin won't support EJB3, there's an EJB3 plugin in MOJO-99 but > it's not yet available. > > Regards, > Stéphane > > On 11/14/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > > > > Hi cameron, > > > >

Re: EJB3 Pluggin and .par MNG-699 (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingpar)

2005-11-14 Thread Stephane Nicoll
No. The EJB plugin won't support EJB3, there's an EJB3 plugin in MOJO-99 but it's not yet available. Regards, Stéphane On 11/14/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > > Hi cameron, > > This is because the EJB plugin does not yet support EJB 3.0. > > On 11/14/05, cameron clarke <[EMAIL PROTECT

How to customize report execution

2005-11-14 Thread Michael Böckling
Hi, is there a way to include reports (like checkstyle) into a specific phase of the M2 lifecycle? I tried to put the maven-checkstyle-plugin in the section of my POM (instead of the section) and got a build error, saying that "'report' was specified in an execution, but not found in the pl

Re: RE : [m2] release:prepare (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)

2005-11-14 Thread Arik Kfir
cool :) On 11/14/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > I fixed this exception > > Emmanuel > > Olivier Lamy a écrit : > > No Just : SNAPSHOT. > > It's in order to deploy snapshot in a maven1 repository. > > But it works really better with version-SNAPSHOT. > > > > Thanks, > > - Olivier

Re: RE : [m2] release:prepare (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)

2005-11-14 Thread Emmanuel Venisse
I fixed this exception Emmanuel Olivier Lamy a écrit : No Just : SNAPSHOT. It's in order to deploy snapshot in a maven1 repository. But it works really better with version-SNAPSHOT. Thanks, - Olivier -Message d'origine- De : Emmanuel Venisse [mailto:[EMAIL PROTECTED] Envoyé : lundi

Re: EJB3 Pluggin and .par MNG-699 (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingpar)

2005-11-14 Thread Arik Kfir
Hi cameron, This is because the EJB plugin does not yet support EJB 3.0. On 11/14/05, cameron clarke <[EMAIL PROTECTED]> wrote: > ejb3 and par packaging types. > when I attempt to build a multi-module I get the following error: > > [INFO] Building Unnamed - uk.co.abc:abc-data-access:par:1.0-SNAPS

Re: RE : [m2] release:prepare (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)

2005-11-14 Thread Arik Kfir
Yes, I've seen this too. For now I've reverted back to using "x.y-SNAPSHOT" - but this definitly happens ;-) On 11/14/05, Olivier Lamy <[EMAIL PROTECTED]> wrote: > No Just : SNAPSHOT. > It's in order to deploy snapshot in a maven1 repository. > But it works really better with version-SNAPSHOT. > >

Cannot make XDoclet plugin work

2005-11-14 Thread Jerarckill - ANS
Hello, I am trying to make the XDoclet plugin work on one of my project. Since the task needed is ejbDoclet, i just copy-pasted the code given from http://mojo.codehaus.org/xdoclet-maven-plugin/usage.html This copy-pasted code is the following: //

Re: [m2] releasing a version

2005-11-14 Thread Trent Rosenbaum
Hi there, This is correct the release:prepare goal requires the project.scm.developerConnection parameter to be supplied on the commandline or defined within the project pom.xml file. The value of the element would be an appropriate SCM URL from the following SCM project page: http://maven.apache

Excluding class files generated by xmlbeans plugin from resulting jar

2005-11-14 Thread Brian Bonner
I have several schemas that are used by test cases. I'd like them to NOT appear in the jar file that results from mvn:install. The schemas are generating java source using the xmlbeans plugin, and they're classes are being generated at target/classes I tried overriding the location using

Re: Fwd: [jira] Created: (MNG-1492) A more in-depth guide on the elements of the Project descriptor (pom.xml) file.

2005-11-14 Thread Jerarckill - ANS
I am a complete newbie to maven and I can tell you that I have a hard time trying to make it work. Maven really needs to have its documentation improved. I think we all understand the potential of the project and that's a reason why even if it is very difficult to have it working we continue

RE : [m2] release:prepare (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)

2005-11-14 Thread Olivier Lamy
No Just : SNAPSHOT. It's in order to deploy snapshot in a maven1 repository. But it works really better with version-SNAPSHOT. Thanks, - Olivier > -Message d'origine- > De : Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Envoyé : lundi 14 novembre 2005 18:13 > À : Maven Users List > Objet :

Re: [m2] release:prepare (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)

2005-11-14 Thread Emmanuel Venisse
Do you have "-SNAPSHOT" at the end of your version? Emmanuel Olivier Lamy a écrit : Hi, I use the following cli : mvn -Dproject.scm.developerConnection=scm:cvs:pserver:user:[EMAIL PROTECTED]:repo:modul e -Dmaven.test.skip=true -e clean:clean release:prepare I have the following in the console

[m2] release:prepare (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)

2005-11-14 Thread Olivier Lamy
Hi, I use the following cli : mvn -Dproject.scm.developerConnection=scm:cvs:pserver:user:[EMAIL PROTECTED]:repo:modul e -Dmaven.test.skip=true -e clean:clean release:prepare I have the following in the console : ava.lang.StringIndexOutOfBoundsException: String index out of range: -1 at jav

EJB3 Pluggin and .par MNG-699 (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingpar)

2005-11-14 Thread cameron clarke
ejb3 and par packaging types. when I attempt to build a multi-module I get the following error: [INFO] Building Unnamed - uk.co.abc:abc-data-access:par:1.0-SNAPSHOT [INFO] task-segment: [compile] [INFO] [ERROR] Nonexisten

Re: [m2] Clover plugin

2005-11-14 Thread Anuerin Diaz
i forgot that i also added this in my dependency: clover clover 1.3.5 maven maven-clover-plugin 1.8 i think the last dependency will get the first but i dont have the time to check. i added the first one much earlier when i was figuring out how to make clover work. the secon

Re: [m2] Clover plugin

2005-11-14 Thread Anuerin Diaz
i managed to use clover an hour ago. i just added this in my project descriptor: maven-clover-plugin ${basedir}/target/clover/clover.db ${basedir}/../licenses/clover/clover.license and clover was activated when i calle

links in confluence wiki (was Re: Documentation -- making better use of the wiki)

2005-11-14 Thread Anuerin Diaz
hi, i am having problems trying to make a URL in the confluence wiki. the guidelines on the right side it should look like [title#anchor] but [why do i...#FAQ/why-do-i] does not work. I am trying to make the FAQ page as the itemized table of contents and organize the FAQ wikis using a "director

Using and customizing APT

2005-11-14 Thread Arnaud Bailly
Hi to all, I recently discovered that m2 includes a standard document format "Almost Plain Text" that alleviates some of the burden of writing xdoc documents. I am also a user of emacs and muse, the latter being a hypermedia document publishing system developped by John Wiegley (more on this a

RE: Deploy source jar to repository

2005-11-14 Thread Peschier J. (Jeroen)
Thanks, this does indeed what I needed! This introduced two other issues though: 1) Is there a way to exclude certain dependencies from downloadSources? Many artifacts have no source attachment in the ibiblio.org repository causing M2 to hang 10 secs on each attempt to fetch the source jar from

JSTL tld dependencies

2005-11-14 Thread Akins, Greg
I'm having trouble getting a webapp to function correctly when using Core & Sql JSTL tags. It seems like this should be pretty simple. I use maven (1.0.2) genapp struts to create the app. Include a JSTL dependency to get the jar files My jsp page has these definitions <%@ taglib u

RE: Where can I get a list of the supported project packaging types

2005-11-14 Thread Allison, Bob
Those are the major ones. Because it is possible for a plugin to create its own packaging, it might be rather difficult to have a list that covers everything. -Original Message- From: Stephen Cowx [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 10:28 To: Maven Users List Subjec

RE: [m2] releasing a version

2005-11-14 Thread Allison, Bob
There are two connections under the SCM tag (check the project model documentation for more details): -- "connection" is a read-only connection for getting the source updates -- "developerConnection" is a read-write connection for making updates I suspect you need to replicate the connection as

RE: Plugin Execution Problem

2005-11-14 Thread Allison, Bob
I got the plugin to work by changing the project description to be on one line. The POM when it contained [1] and when it worked contained [2]. The difference this created was to keep the and in the plugin.xml on the same line. Is the plugin.xml file parsed with a regular XML parser? [1] M

Where can I get a list of the supported project packaging types

2005-11-14 Thread Stephen Cowx
I cannot find a list. I know of the following JAR EAR WAR POM thanks Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] releasing a version

2005-11-14 Thread Wim Deblauwe
Hi, I'm trying mvn release:prepare but I get the following error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] One or more required plugin paramete

Re: Running commons-attributes under Maven2 with antrun plugin

2005-11-14 Thread Brian Bonner
After some searching I found that the antrun plugin exposes maven.dependency.classpath to ant as a ref. It can be referenced with: Brian On 11/11/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > I tried adding switching the taskdef to: > > classname="org.apache.commons.attributes.compiler.Attribut

Maven should remove newlines from values used for the Manifest

2005-11-14 Thread Christoph Schönfeld
Hi, the first suspect, the character encoding which is often enough cause of problems, wasn't guilty. :) The description contained a newline which is used by the Manifest format to distinguish sections. The first sentence from your link says: "A JAR file manifest consists of a main section follo

Re: Specification Title in Manifest

2005-11-14 Thread Michael Böckling
Hi, default Manifest (http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#JAR%20Manifest) and Maven encoding is UTF-8. Maybe your editor didn't save it in that format? Michael Böckling -- Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel P: +41 61 226 99 63 - F: +41 61 226 9

[m2] Clover plugin

2005-11-14 Thread Wim Deblauwe
Hi, how does one use the clover plugin? I was looking at http://maven.apache.org/plugins/maven-clover-plugin/ for some information, but I can't get it working. I added: org.apache.maven.plugins maven-clover-plugin to my reporting/plugins section. Then I tried mvn site, but I got an error that

Specification Title in Manifest

2005-11-14 Thread Christoph Schönfeld
Hi, I have noticed that the project description is used in the Specification-Title attribute of the manifest.mf file in generated JARs. Shouldn't this be the project name instead? I just stumbled over that because Tomcat complained about an invalid JAR file. My description contained Unicode chara

RE: RE: Using Maven with WSAD

2005-11-14 Thread Jeff Jensen
No, I never use the eclipse plugin. It is the "choose your battle"...I find it easier to keep the project creation with WSAD. Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > Are you adding project dependencies to the pom.xml as well as to the > .classpath manually? > When I add a dependecy t

Re: RE: Using Maven with WSAD

2005-11-14 Thread Fabrizio Giustina
On 11/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > When I add a dependecy to the pom.xml and use mvn eclipse:eclipse again to > update the classpath all my WebSphere specific settings are removed from the > .classpath and .project files. Are you using eclipse:eclipse after the a > pom.xml

RE: RE: Using Maven with WSAD

2005-11-14 Thread [EMAIL PROTECTED]
Are you adding project dependencies to the pom.xml as well as to the .classpath manually? When I add a dependecy to the pom.xml and use mvn eclipse:eclipse again to update the classpath all my WebSphere specific settings are removed from the .classpath and .project files. Are you using eclipse:ecli

Re: Deploy source jar to repository

2005-11-14 Thread Fabrizio Giustina
On 11/14/05, Peschier J. (Jeroen) <[EMAIL PROTECTED]> wrote: > A) install/deploy the source jar to the repository, and Just run mvn deploy after the source jar generation: mvn source:jar deploy > B) link the source jar to its corresponding ejb/war/jar-artifact in the > repository, and Handled by

Re: [M2] - Automatically create checksum when putting files in repository

2005-11-14 Thread Jerarckill - ANS
Thank you for the answer, this will help. Devs won't come to me each time a warning is issued. Thank you. Jer On Mon, 14 Nov 2005 01:30:17 +0100, Brett Porter <[EMAIL PROTECTED]> wrote: Yes, it is a relatively simple task actually... it should be in the next deployment plugin. I'll ensu

Plugin Execution Problem

2005-11-14 Thread Allison, Bob
I am having some trouble executing a plugin I am building, and I'm not sure where to look to find the problem. If anyone can provide some pointers on what to examine, I would be very grateful. I am building an RPM plugin with a single goal "rpm:rpm". The goal is implemented by the class org.code

[m2] InstallMojo properties

2005-11-14 Thread Nigel Magnay
A bit further into my experimenting with generating an m2 plugin - I have successfully created my mojo and bound it to the bit of lifecycle to do with packaging. My 'client' project has uberwar To get hte right binding. However - because of this, the install mojo assumes the extension is going to

Re: [m2] how to define inherited properties for plugins?

2005-11-14 Thread Anuerin Diaz
hi, the build-phase specific properties is solved (at least) for the test phase since surefire allows the user to set properties to be passed to junit tests (http://maven.apache.org/plugins/maven-surefire-plugin/howto.html). maybe the same could be implemented for the assembly plugin. :) c

RE: The CGLIB issue or how transitive dependencies break an application

2005-11-14 Thread Jörg Schaible
Brett Porter wrote on Monday, November 14, 2005 1:02 PM: > This is a feature we have marked for 2.1 already. In the mean > time, you need to do some surgery on your dependency tree, > excluding the ones you don't want. Is there a JIRA issue already for this? http://jira.codehaus.org/browse/MNG-17

[m1] How to bundle an ejb-client into a web module ?

2005-11-14 Thread Blaise Gosselin
Hello, I'm using Maven 1.1-beta-2. I have a web module that have the following dependency : groupd artifact 1.0 ejb-client true But when I launch the maven command "maven war" in the web directory, I can't see the file ejb-client included in my generated a

Deploy source jar to repository

2005-11-14 Thread Peschier J. (Jeroen)
I managed to create a jar with the source code for each of our artifacts with the maven-source-plugin. However, reading this plugin's documentation I don't see any way to: A) install/deploy the source jar to the repository, and B) link the source jar to its corresponding ejb/war/jar-artifact i

RE: Using Maven with WSAD

2005-11-14 Thread Jeff Jensen
I create all projects with WSAD/Eclipse and then configure Maven to use them. I think that is easier because WSAD/Eclipse expects things is a very specific way, and Maven can (almost always) adjust to the directory organization needed by setting the right elements in the POM. And creating project

Re: Problem installing a jar file using install:install plugin

2005-11-14 Thread Brett Porter
install:install-file is working just fine - it succeeded. You included javax.transaction:jta:1.0.1B on the command line for some reason. That is the syntax for a maven goal, so it tried to execute it. Since the JAR actually exists, it tries to execute the JAR as a plugin - and fails. The NPE has

Re: Problem installing a jar file using install:install plugin

2005-11-14 Thread Jerarckill - ANS
I don't understand. - Why do I have to remove the plugin? - What does think that a plugin is to be executed? When using the install-file goal of the install plugin, the only think it should do is "installing" the file to my local repository. It shouldn't be related to executing things. Al

[m1] How to bundle an ejb-client into a web module ?

2005-11-14 Thread Blaise Gosselin
Hello, I'm using Maven 1.1-beta-2. I have a web module that have the following dependency : groupd artifact 1.0 ejb-client true But when I launch the maven command "maven war" in the web directory, I can't see the file ejb-client included in my generated a

Re: [m2] artifactId macro in parent pom substitutes twice in child's generated site?

2005-11-14 Thread Brett Porter
-project. I'm not sure, but ${pom.file.parent.name} might work for getting the current directory name ,which would probably be a better thing to append. - Brett On 11/15/05, Jörg Schaible <[EMAIL PROTECTED]> wrote: > Hi Brett, > > Brett Porter wrote on Friday, November 04, 2005 5:31 AM: > > > Wh

  1   2   >