Re: m2: starting a java class

2005-10-21 Thread Roy van der Kuil
HI Jesse, I am really looking forward to the try the run plugin. If you need any help testing/coding it please let me know, because this seems like the most important hurdle to take before moving to maven. For now I will try to build the execute plugin and see where that brings me :) Tanks On

Re: Multiproject Release: No check in

2005-10-21 Thread Wim Deblauwe
We currently use a simular structure with maven 1, so this would need fixing for us also regards, Wim 2005/10/20, Brett Porter [EMAIL PROTECTED]: I guess that's considered a bug. It currently assumes that everything is under the current directory. Please record it in JIRA:

Re: [m2] Fatal error trying mvn site

2005-10-21 Thread Wim Deblauwe
Is this already in JIRA or should I file a bug? 2005/10/20, Bernd Mau [EMAIL PROTECTED]: Hi, I have got the same problem with the german locale (java.util.MissingResourceException: Can't find bundle for base name project-info-report, locale de_DE) I did not have the problem with

How to share JSPs between 2 wars projects ?

2005-10-21 Thread Nicolas De Loof
Hi all, I've got a packaging problem : my webapp requires to be customized for the target servers - change web.xml, add some xml (spring) configuration files, add some target-server-specific classes All other things in my webapp are commons. I'd like maven to build the 3 wars (I've got 3

Re: SCM: cvs user

2005-10-21 Thread Bernd Mau
Until now I have used it together with the release-plugin. I guess the release-plugin uses the maven-scm-provider-cvs plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with M2

2005-10-21 Thread Ross Bamford
Hi, Hope this is the correct list for M2? I downloaded the 2.0 release yesterday, but am having some problems getting it to work - when I try to run a build it bombs out with missing dependencies on stuff that (I assume) must be plug-in dependencies, notably some xerces jars, the Servlet

Antw: Re: Multiproject Release: No check in

2005-10-21 Thread Bernd Mau
Ok, I have created an issue: http://jira.codehaus.org/browse/MNG-1263 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] intermittent failure to get dependencies

2005-10-21 Thread Velle Andrè
Hi, I have a strange error in my maven 2 - based build. I have one reactor build that starts a number of others. Two of these builds (say a and b) are dependent on a third build (c) , and on a library (d) stated as a dependency in this third build (c). These two builds sometimes fail with an

Antw: Re: [m2] Fatal error trying mvn site

2005-10-21 Thread Bernd Mau
Yes, it really seems to be a bug and I coud not find an issue in the JIRA concerning this problem. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[M2] How to detect wrong POMs

2005-10-21 Thread Carsten Ziegeler
I'm currently trying to build a large project with M2 (final), Cocoon, and I get errors during the resolving of dependencies as there are some POMs wrong. Now due to the transitive dependency handling I don't know which POM is actually wrong. I tried using the -e and -X options but I'm not sure

No mail from maven mailing list

2005-10-21 Thread Jean-Luc Razafimandimby
Since yesterday , I didn't receive mail anymore. However , i din'nt unsubscribe on mailing List is there a troubleshooting on mailing ? Jean-Luc

Re: Problem with M2

2005-10-21 Thread Edwin Punzalan
Sun jars like servletapi and jta are not in central repo... you should download them from sun website and install in your repo using install:install-file. The download of artifacts is not sorted in any way so each run, you download of artifacts is different. The build will download

Javadoc and assertions

2005-10-21 Thread David Sag
It really seems that I am the only person in thw world who usesasserts! When trying mvn javadoc:javadoc it complains that assert is a reserved word in java 1.4. for goodness sake, my pom.xml specifies the source is java1.4 in the compiler plugin, shouldn't this knowledge be passed on to the

Re: [M2] Eclipse WTP Web app libraries

2005-10-21 Thread Dietrich Schulten
I've made some progress, see below: Dietrich Schulten schrieb: Hi Fabrizio, thank you for your quick reply. Comments inline. Fabrizio Giustina schrieb: On 10/18/05, Dietrich Schulten [EMAIL PROTECTED] wrote: how does the m2 eclipse plugin determine the path where it looks for web app

HTTPS and repository access

2005-10-21 Thread Arnaud Bailly
Hi, I would like to use a remote repository that is served by an HTTPS server requiring client certificate authentication. Moreover, I want to use the same certificate (ie. pkcs12 file) I use in firefox. pkcs12 files can be used as truststore and keystore (?) but I do not know how to tell to

[m2] PMD plugin thinks an interface needs a constructor.

2005-10-21 Thread David Sag
I am setting up my build environemnt with a small test project and the PMD plugin is demanding I provide a constructor for my interfaces. I have filed this as a bug in jira http://jira.codehaus.org/browse/MNG-1158 but no action has been taken yet. perhaps if this annoys others people could go

Re: [m2] multiproject and dependency management.

2005-10-21 Thread Miks Rozenbergs
Sridhar Radhakrishnan wrote: 2) Is that functionality in place such that I could get project B as either a binary or as source from cvs and then build it? Maven gets the dependent jar from the remote/local repositories. You would have to define your remote repository(cvs) and specify the

Re: [M2] Eclipse WTP Web app libraries

2005-10-21 Thread Stephen Duncan
To get your jar files from target/my-webapp/WEB-INF/lib to src/main/webapp/WEB-INF/lib (and therefore it should go to .deployables), you can run: mvn war:inplace -Stephen On 10/21/05, Dietrich Schulten [EMAIL PROTECTED] wrote: I've made some progress, see below: Dietrich Schulten schrieb:

[M1.0.2] How to change resources dependencies at runtime

2005-10-21 Thread Alexandre Touret
Hi I would like to change resources dependencies at runtime with a jelly script is t possible ? it would be nice if someone could give me a sample Thanks in advance Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Problem with M2

2005-10-21 Thread Ross Bamford
(apologies if this post is duped - I sent from incorrect address first time and it didn't come up) On Fri, 21 Oct 2005 10:19:00 +0100, Edwin Punzalan [EMAIL PROTECTED] wrote: Sun jars like servletapi and jta are not in central repo... you should download them from sun website and install

Re: [M2] Docbook support

2005-10-21 Thread Emmanuel Venisse
Jose Gonzalez Gomez a écrit : 2005/10/20, Emmanuel Venisse [EMAIL PROTECTED]: Jason van Zyl a écrit : On Thu, 2005-10-20 at 11:28 +0200, Jose Gonzalez Gomez wrote: Hi there, In the announcement docbook support is mentioned, but I haven't been able to find anything about it in the

Re: Maven SQL tasks

2005-10-21 Thread Miks Rozenbergs
Dion Gillard wrote: Is this for just running adhoc sql, or creating a database (tables, views, etc)? If it's the latter, we have an internal plugin we could easily open source. I don't know about Marco, but for me it would be the latter. What exactly is your plugin doing and how is it

Re: Problem with M2

2005-10-21 Thread Ross Bamford
On Fri, 21 Oct 2005 10:19:00 +0100, Edwin Punzalan [EMAIL PROTECTED] wrote: Sun jars like servletapi and jta are not in central repo... you should download them from sun website and install in your repo using install:install-file. My project doesn't use Servlet API of any description,

Re: CVS Mayhem

2005-10-21 Thread Edwin Punzalan
Which plugin is reporting that its invalid ? Wilfred Springer wrote: All, Could anybody give me a clue why this isn't working? (I have been working with CVS and Maven 2 before, and it never was a problem, until today. Maven tells me that it's not a valid scm url. But why?) scm

Re: [M2] How to detect wrong POMs

2005-10-21 Thread Carsten Ziegeler
Edwin Punzalan schrieb: Its from Apache Cocoon Core, from by excalibur-fortress, a dep of excalibur-store, w/c is a dep of apache cocoon core The stack trace showed that, the format is something like this: direct dependency 2spacestransitive dependency 1

Re: CVS Mayhem

2005-10-21 Thread Edwin Punzalan
As I learned from evenisse, after beta-3, scm:checkout will not read the scm in your pom.xml anymore. Either you put the scm connection in the connectionUrl configuration of maven-scm, or put it in mvn command like this: -DconnectionUrl Wilfred Springer wrote: All, Could anybody give me

Re: Problem with M2

2005-10-21 Thread Edwin Punzalan
H icu4j is not in central repo... the name could be incorrect or the developers have not given their artifacts yet. Ross Bamford wrote: On Fri, 21 Oct 2005 10:19:00 +0100, Edwin Punzalan [EMAIL PROTECTED] wrote: Sun jars like servletapi and jta are not in central repo... you

Re: Problem with M2

2005-10-21 Thread Ross Bamford
On Fri, 21 Oct 2005 11:28:50 +0100, Edwin Punzalan [EMAIL PROTECTED] wrote: H icu4j is not in central repo... the name could be incorrect or the developers have not given their artifacts yet. That's what I guessed. So the question is - is everyone who installs M2 on a fresh

[m2] javadoc plugin

2005-10-21 Thread Samuel Le Berrigaud
Hi, there is a bug in the current javadoc plugin regarding the site integration. The link to the javadoc leads to blank page. The javadoc is correctly generated, however the index page of the javadoc is overwritten by a blank index page. I found the bug come from the JavadocReport class of the

using assembly to repackage a war

2005-10-21 Thread jerome lacoste
I need to take a war and add some packages in certain places. I took the approach of using the assembly plugin to repackage the war. I.e. I have now 2 projects A B, A packages the war, B takes the war and a couple of zip files as dependencies, and assemble the whole. It fails miserably because

xdoclet-maven-plugin maven2

2005-10-21 Thread Ief Berben
When I try to execute the following plugin: plugin artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId version1.0-alpha-1/version executions execution goals goalxdoclet/goal /goals phasegenerate-sources/phase configuration tasks ejbdoclet

Re: [m2] javadoc plugin

2005-10-21 Thread David Sag
Would you like to add your fix to the bug report in Jira? http://jira.codehaus.org/browse/MNG-1249 Kind regards, Dave Sag Samuel Le Berrigaud [EMAIL PROTECTED] wrote on 21/10/2005 12:54:02 PM: Hi, there is a bug in the current javadoc plugin regarding the site integration. The

maven2: javax.sql.jdbc-stdext

2005-10-21 Thread Mikael Wikström
Hi all, releace of maven 2.0 reached me yesterday as music to my ears. So I started to write pom.xml to all my maven projects when I ran in to something that I did'nt understand. My old project.xml has a lot of dependencys.. spring, pluto, activation, wsrp4j, common-dbcp, xalan and more. It

Re: maven2: javax.sql.jdbc-stdext

2005-10-21 Thread Stephen Duncan
Maven 2 has transitive dependencies. That means that one of your dependencies has jdbc-stdext defined as a dependency (or potentially more levels of indirect dependency). Also, a change from Maven 1 to Maven 2 that may be affecting you is that the groupId javax.sql now corresponds to a folder

[m2] Controlling Bloat

2005-10-21 Thread Mark Kuzmycz
Transitive dependencies are very useful as it enable you to specify the direct dependencies for the project and maven handles the dependencies of the dependencies and so on. However, if the product of a project is a war or ear then this can lead to an increased artifact size due to the transient

Re: maven2: javax.sql.jdbc-stdext

2005-10-21 Thread Mikael Wikström
*hgf*, renaming javax.sql to javax/sql solved it! =] thanks Stephen Duncan wrote: Maven 2 has transitive dependencies. That means that one of your dependencies has jdbc-stdext defined as a dependency (or potentially more levels of indirect dependency). Also, a change from Maven 1 to Maven 2

[m2] archetype plugin bug?

2005-10-21 Thread Jon Ekdahl
Hi, I'm just getting started on m2 and I believe I stumbled over a bug. I created a template project with the following command: mvn archetype:create -DgroupId=my-group -DarchetypeId=my-app The generated App.java file starts with the line: package my-group; which is not a valid package

Re: Problem with M2

2005-10-21 Thread Ross Bamford
On Fri, 21 Oct 2005 11:42:22 +0100, Ross Bamford [EMAIL PROTECTED] wrote: Can anyone suggest a workaround, short of manually finding and installing the missing jars? Okay I think I found what I need now in the docs, and I can manually do the remainder. I wasn't fully appreciating the

Re: [m2] Controlling Bloat

2005-10-21 Thread Stephen Duncan
Yes. First, you can specify exclusions to exclude certain transitive dependencies from being used. For instance, I depend on spring-hibernate, but I only use the net.sf.hibernate (hibernate 2) features, so I don't need Hibernate 3 stuff: dependency groupIdspringframework/groupId

RE: CVS Mayhem

2005-10-21 Thread Wilfred Springer
You were right Thanks! On Thu, 2005-10-20 at 16:21, Bernd Mau wrote: Hi Wilfred, this looks like my entry. Do you have the problem using the release-plugin? I had this message and the fault was an invalid entry in the file release.properties (meanwhile I changed the pom). After

Problem with the POM version

2005-10-21 Thread Gansel, Toni (EXTERN: LOGICA)
Hello, I have to work with mavon now and have the first problem. I have created a maven project with the ceclipse plugin myMavan and i want to build a jar file. When i type maven jar in the console i get following errormessage: D:\tga\workspace\Veron-Commonsmaven jar __ __ | \/ |__ _Apache__

RE: [m2] How do you use maven2 inside a corporate firewall?

2005-10-21 Thread fabrice . belingard
The settings.xml file can be placed in: - m2_install_dir/conf/ : the settings will be available for all users - user_home/.m2/ : the settings will be available only for you Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL

Re: Problem with the POM version

2005-10-21 Thread Arnaud HERITIER
You must add a currentVersion in your project.xml project ... currentVersion1.0-SNAPSHOT/currentVersion ... /project Arnaud On 10/21/05, Gansel, Toni (EXTERN: LOGICA) [EMAIL PROTECTED] wrote: Hello, I have to work with mavon now and have the first problem. I have created a maven project

RE: [m2] How do you use maven2 inside a corporate firewall?

2005-10-21 Thread Pilgrim, Peter
Ok I set up the ``C:\Documents and Settings\ppilgrim\.m2\settings.xml'' with !-- Maven 2 Configuration -- settings proxies proxy activetrue/active protocolhttp/protocol hostocs-ca-http.csfb.net/host port8080/port usernameppilgrim/username

Re: [m2] How do you use maven2 inside a corporate firewall?

2005-10-21 Thread Wendy Smoak
From: Pilgrim, Peter [EMAIL PROTECTED] But it seems that the help page above requires me to create a setting.xml that exists as part of a project. My settings.xml file is in ~/.m2 (in my home directory). (Check the filename, you wrote 'setting' above.) -- Wendy Smoak

RE: [m2] How do you use maven2 inside a corporate firewall?

2005-10-21 Thread fabrice . belingard
Well, if you hadn't set your firewall settings, I guess you haven't downloaded anything yet from ibiblio. So I would delete everything in your C:\Documents and Settings\ppilgrim\.m2 folder (except the settings.xml file), and start again. That should work. Best Regards / Cordialement, Fabrice

Re: m2 ejb:ejb Error please help!!?

2005-10-21 Thread raghurajan . x . gurunathanv
this error is thrown from maven2 release version Thanks, Raghurajan Gurunathan

[m2] quick way to exclude dependencies

2005-10-21 Thread Nicolas De Loof
Hi, My webapp uses spring and transitive dependencies (that is a cool feature) adds tons of dependencies to my war. I have to setup lot's of exclusions rules... more than dependencies I have in my project ! Is there any way to make this quicker, perhaps some regexp matching

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Matt Raible
On 10/21/05, Nicolas De Loof [EMAIL PROTECTED] wrote: Hi, My webapp uses spring and transitive dependencies (that is a cool feature) adds tons of dependencies to my war. I have to setup lot's of exclusions rules... more than dependencies I have in my project ! Is there any way to make

[m2] antlib [ERROR] Nonexistent component

2005-10-21 Thread Xavier Toth
What is a 'component' in this context? This class exists in the maven-artifact-ant-2.0-dep.jar. [artifact:pom] [ERROR] Nonexistent component: org.apache.maven.usability.diagnostics.ErrorDiagnostics ?xml version=1.0 ? project name=MessageClient default=build basedir=.

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Nicolas De Loof
But thos poms are NOT invalid : spring-web requires spring-core + beans + context, that themselves depends on lot's of tools that spring supports. My WEB-INF/lib has 44 jars, and I only require 10 of them. Another problem is that I cannot set exclusion at top level : I need to know what

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Stephen Duncan
Well, they ARE invalid, in that they should be putting optionaltrue/optional on many of those dependencies. -Stephen On 10/21/05, Nicolas De Loof [EMAIL PROTECTED] wrote: But thos poms are NOT invalid : spring-web requires spring-core + beans + context, that themselves depends on lot's of

Re: Prevent M2 repository from constantly checking for POM

2005-10-21 Thread Eric Pugh
cool.. I'll go ahead and create them then... On Oct 20, 2005, at 8:10 PM, Brett Porter wrote: Yes, it will do this. We'll probably sort that out for 2.0.1, but for now you can report the missing pom as an issue or create it in your repo. - Brett On 10/20/05, Eric Pugh [EMAIL PROTECTED]

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Nicolas De Loof
Another thing that is painful : if I exclude a common jar from one dependency (let's say logkit as it uses commons-logging) another dependency can also add it to my dependencies and I have to copy my exclusion rule. about adding a jira issue for MEV, what would be the syntax to make a

RE: [m2] How do you use maven2 inside a corporate firewall? [SOLV ED]

2005-10-21 Thread Pilgrim, Peter
Yep! Thank you Fabrice, I blew away the repository folder C:\Documents and Settings\ppilgrim\.m2\repository It now works! -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Stephen Duncan
Spring needs to declare the dependency like this (as far as I know): dependency groupIdsomething/groupId artifactIdsomething-optional/artifactId optionaltrue/optional /dependency I think in most cases where you'd need multiple exclusions the actual case is that you don't want to add the

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Nicolas De Loof
I've created http://jira.codehaus.org/browse/MEV-133 for this and attached poms that include optional tags. I also added provided scope for javax APIs. Stephen Duncan a écrit : Well, they ARE invalid, in that they should be putting optionaltrue/optional on many of those dependencies.

[m2] javadoc for multimodule project

2005-10-21 Thread Greg Wilkins
Is there a simple way to merge the javadoc from multiple modules into a single javadoc hierarchy? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Sridhar Radhakrishnan
I agree. They should be putting optionaltrue/optional on these poms. Also, most of the poms doesn't specify the downloadURL where it can be downloaded from. This again is a real pain in that you need to search for these jars which are not straight forward as it is expected to be. Also, in some

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Stephen Duncan
Note, I had already created: http://jira.codehaus.org/browse/MEV-108 Though you did a more thorough job. :) -Stephen On 10/21/05, Nicolas De Loof [EMAIL PROTECTED] wrote: I've created http://jira.codehaus.org/browse/MEV-133 for this and attached poms that include optional tags. I also added

[Maven 2] Can't use archetypeArtifactId=maven-archetype-site

2005-10-21 Thread John E. Conlon
Thinking of moving my company's dev env from Ant to M2 so I while working with the 'getting started guide' I encountered a problem with at the How do I create documentation? step. I can't get the archetype:create working and I have tried variations on the following: mvn archetype:create

[m2] Unit test includes

2005-10-21 Thread Richard Wallace
Hey everyone, In m1 it was easy to exclude certain things from being run as test cases using: unitTest includes include**/*Test.java/include /includes excludes exclude**/Abstract*.java/exclude /excludes I don't see anything similar in m2 and it's trying

Re: [m2] Unit test includes

2005-10-21 Thread Matt Raible
build defaultGoalpackage/defaultGoal sourceDirectorysrc/sourceDirectory testSourceDirectorytest/testSourceDirectory plugins plugin artifactIdmaven-surefire-plugin/artifactId configuration excludes

MyEclipse 4 and Maven 2

2005-10-21 Thread Pilgrim, Peter
I have noticed that MyEclipse XML Edit flags the getting started guid pom.xml as invalid Does Maven2 has a valid DOCTYPE definition? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

Re: [ANN] Maven 2.0 Release Now Available

2005-10-21 Thread John Fallows
Congratulations on a job well done. :-) Kind Regards, John Fallows. On 10/19/05, Brett Porter [EMAIL PROTECTED] wrote: We are pleased to announce that Maven 2.0 has been released, and is available for download from http://maven.apache.org/maven2/download.html Maven is a build system that

Re: M2 - repository:bundle-create

2005-10-21 Thread Jason van Zyl
On Thu, 2005-10-20 at 18:35 -0700, Brett Porter wrote: no, it hasn't been released... Jason - maybe a quick alpha-1 release is in order? Sure. On 10/20/05, Brian E. Fox [EMAIL PROTECTED] wrote: I'm trying the new repository bundle goal and I get the following error: [DEBUG] Trace

Re: [m2] Unit test includes

2005-10-21 Thread Richard Wallace
Cool thanks. I actually thought about checking the surefire plugin configuration right after I posted and that's exactly what I wound up doing. The next question I have is if there is anyway to configure the unit tests to run forked in a separate directory. Before, I had a

RE: MyEclipse 4 and Maven 2

2005-10-21 Thread Pilgrim, Peter
-Original Message- From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] ==== The actual error from the ``Eclipse Problems'' is cvc-elt.1: Cannot find the declaration of element 'project'. s I have noticed that MyEclipse XML Edit flags the getting started guid pom.xml as invalid

RE: MyEclipse 4 and Maven 2 [SOLVED]

2005-10-21 Thread Pilgrim, Peter
cvc-elt.1: Cannot find the declaration of element 'project'. Previous post was rubbish! I upgraded to the newest Eclipse SDK to 3.1.1 and lost the MyEclipse internet proxy settings in the process. In Eclipse set the proxy again 1. Windows - Preferences - MyEclipse - Internet Tools - Internet

[m2] where to report broken links and typos in docs?

2005-10-21 Thread Ralph Pöllath
Hi, I've noticed several broken links and typos while browsing the m2 website. Is there a JIRA issue for stuff like that already, or should I create one? I'd rather avoid creating an issue for every single typo. Cheers, -Ralph.

Re: [m2] Can't exclude jdbc-stdext from JPOX

2005-10-21 Thread Matt Raible
Thanks Stephen - that worked. Matt On 10/21/05, Stephen Duncan [EMAIL PROTECTED] wrote: You might try adding the exclusion with the following: groupIdjdbc/groupId artifactIdjdbc-stdext/artifactId As that's how it looks in the JPOX pom. Not sure if that would matter or not...

[M2] Added J2EE jars but it doesn't find them in my local repository

2005-10-21 Thread Pete Thomas
I have followed the guide for adding the sun jars to my local repository, and used the Maven recommeneded naming conventions 1) mvn install:install-file -Dfile=D:\My Documents\downloads\Maven\3rd party jars\sun J2ee 1.3\j2ee.jar -DgroupId=javax.j2ee -DartifactId=j2ee -Dversion=13 -Dpackaging=jar

Re: [M2] Added J2EE jars but it doesn't find them in my local repository

2005-10-21 Thread Stephen Duncan
Looks like the problem is 13 vs 1.3 Run: mvn install:install-file -Dfile=D:\My Documents\downloads\Maven\3rd party jars\sun J2ee 1.3\j2ee.jar -DgroupId=javax.j2ee -DartifactId=j2ee -Dversion=1.3 -Dpackaging=jar -Stephen On 10/21/05, Pete Thomas [EMAIL PROTECTED] wrote: I have followed the

RE: How to add html parser dependency?

2005-10-21 Thread Siegfried Heintze
OK, I've submitted my first bundle upload to JIRA for m1. I had the good fortune to meet the great Scott Ryan in person last night when I learned that I need to upload a second time with a different format to accommodate m2. Can someone point me to the m2 counterpart of

Re: How to add html parser dependency?

2005-10-21 Thread Ralph Pöllath
On 21.10.2005, at 19:09, Siegfried Heintze wrote: OK, I've submitted my first bundle upload to JIRA for m1. I had the good fortune to meet the great Scott Ryan in person last night when I learned that I need to upload a second time with a different format to accommodate m2. Can someone

Re: [M2] Added J2EE jars but it doesn't find them in my local repository

2005-10-21 Thread Brill Pappin
You are not depending on the same version your installed version 13 and reference 1.3. - Brill Pappin On 10/21/05, Pete Thomas [EMAIL PROTECTED] wrote: I have followed the guide for adding the sun jars to my local repository, and used the Maven recommeneded naming conventions 1) mvn

eclipse plugin (project) dependencies

2005-10-21 Thread Brill Pappin
When working with multiple projects all working together, you used to be able to add the property: eclipse.dependencytrue/eclipse.dependency to a dependency and the eclipse plugin would reference the dependency as and eclipse project instead of a jar in the repository. That feature doesn't seem

M1 documentation

2005-10-21 Thread Grant Ingersoll
When I click the Maven 1.0 link on maven.apache.org site it takes me to maven.apache.org, which is now dedicated to 2.0. If I type in maven.apache.org/maven1 (wild guess), it takes me to a page not found, but I then notice on the left menu all of the old, familiar Maven 1.0 links, which

Re: M1 documentation

2005-10-21 Thread Lukas Theussl
The maven site is currently being restructured (as you noticed), a lot of links are temporarily broken. The maven 1 site should end up here: http://maven.apache.org/maven-1.x/ but there are some broken links there too at the moment. Please be patient, the bulk of these issues should be

Re: M1 documentation

2005-10-21 Thread Brett Porter
fixed On 10/21/05, Grant Ingersoll [EMAIL PROTECTED] wrote: When I click the Maven 1.0 link on maven.apache.org site it takes me to maven.apache.org, which is now dedicated to 2.0. If I type in maven.apache.org/maven1 (wild guess), it takes me to a page not found, but I then notice on the

Re: [m2] where to report broken links and typos in docs?

2005-10-21 Thread Jorg Heymans
Ralph Pöllath wrote: I've noticed several broken links and typos while browsing the m2 website. Is there a JIRA issue for stuff like that already, or should I create one? I'd rather avoid creating an issue for every single typo. From what I've gathered, the developers are aware of the

Re: [Maven 2] Can't use archetypeArtifactId=maven-archetype-site

2005-10-21 Thread Jorg Heymans
John E. Conlon wrote: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app3 -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-site with fresh directories, projects, etc. Here is the error that I get: [INFO]

Re: [m2] antlib [ERROR] Nonexistent component

2005-10-21 Thread Xavier Toth
Apparently this is how you will be told about things like syntax errors in your pom file :( not very helpful. On 10/21/05, Xavier Toth [EMAIL PROTECTED] wrote: What is a 'component' in this context? This class exists in the maven-artifact-ant-2.0-dep.jar. [artifact:pom] [ERROR] Nonexistent

antlib task problems

2005-10-21 Thread Xavier Toth
Properties and references created by the pom and dependencies tasks don't persist across ant/subant task invocations.

[m2] To do a plugin with beanshell

2005-10-21 Thread Herve AGNOUX
Hi, I'a trying to do Writing Beanshell Plugins for Maven 2.0 (http://blogs.codehaus.org/people/brett/archives/001090_writing_beanshell_plugins_for_maven_20.html) But I have not found org.apache.maven.script.beanshell.BeanshellMojoAdapter, in the jars of maven. Where it is ? Is there other

maven2: repackage/merge war's

2005-10-21 Thread Mikael Wikström
I have a bundle of war files, one main and a number of sub-projects all containing jar's/properties/html/xsl and more, that I want to merge/repack into a single war (or simply deploy into a container as a single webapp). Has anyone solved this problem before? I'm trying to solve it with the

Pulling API and SRC Jars from Repos

2005-10-21 Thread Sal Campana
Are there any plans to add support of optionally specifying API and SRC jars for a given dependency? We've built a plugin to do this, and then update our IDE, but its not standard...but if it were standard in Maven (extra xml tags?) then all the IDE plugins would support it Based on this

Re: org.apache.maven.plugins:maven-compiler-plugin. Reason: Cannot resolve plugin dependencies

2005-10-21 Thread Brett Porter
do you still get this with 2.0? - Brett On 10/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Nope. I use m2 beta 3. This is the error that i get when i run m2 -X install. Also, as i said, it used to work for me without changing any proxy settings. [DEBUG]

Re: *** Spam *** Re: Outstanding questions (Documentation)

2005-10-21 Thread Brett Porter
That, the LifecycleExecutor and the ProjectSorter are probably the things you are interested in WRT the reactor. - Brett On 10/18/05, Brian Bonner [EMAIL PROTECTED] wrote: Thanks. The plugin-expressions are very helpful. Can you point me in the general direction for the reactor in svn? I

Re: [m2] Empty dependency list in antlib

2005-10-21 Thread Brett Porter
Please file a bug. The behaviour was added so that it didn't include every file in the directory when there were none, but we could certainly add an illegal include instead. - Brett On 10/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I created a generic (for me) build script lib in ant that

Re: maven2: repackage/merge war's

2005-10-21 Thread jerome lacoste
[Copying Nicolas who asked me about the exact same thing] On 10/21/05, Mikael Wikström [EMAIL PROTECTED] wrote: I have a bundle of war files, one main and a number of sub-projects all containing jar's/properties/html/xsl and more, that I want to merge/repack into a single war (or simply deploy

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-21 Thread Brett Porter
I see. This capability is not really available right now other than by correctly ordering them in the POM. Please file a JIRA issue. -Brett On 10/19/05, David Sag [EMAIL PROTECTED] wrote: Hmm sorry we seem to be t cross-purposes here. All I want to do is to ensure that the various reports

Re: [m2 m1]Inject POM values into application

2005-10-21 Thread Brett Porter
I think there is an open bug for including the information in the manifest - the same solution would be required to enable this. - Brett On 10/19/05, Vincent Massol [EMAIL PROTECTED] wrote: -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: mercredi 19 octobre

build release process using maven

2005-10-21 Thread Shukla, Sanjay
I am trying to use maven for our build process, migrating from ant and other script files that do our build currently For deploying to an environment these are the steps that were taken. 1. Tag the release 2. run a script that would create a list of release differences with respect

Re: lifecycle documentation - inherited execution

2005-10-21 Thread Brett Porter
On 10/20/05, jerome lacoste [EMAIL PROTECTED] wrote: Is this due to this inheritance? Is there a way to change that? yes, and no. That's by design to ensure the ordering is consistent. I am trying to add some files to the war directory before the war gets packaged. If my plugin runs after the

Re: plugin configuration execution seem to have different parameter values

2005-10-21 Thread Brett Porter
Its because the base class is not in your plugin, so the annotations can not be read. We generally don't encourage this form of reuse across plugins (ie we prefer composition over inheritence). - Brett On 10/20/05, jerome lacoste [EMAIL PROTECTED] wrote: On 10/20/05, jerome lacoste [EMAIL

Re: [m2] installation instructions incorrect (windows)

2005-10-21 Thread Brett Porter
This worked for me. What is your version of Windows? - Brett On 10/20/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I just followed the installation instructions on http://maven.apache.org/maven2/download.html, but they are incorrect. If I follow then I get an error that M2_HOME is not set

Re: [m2] Exception running site:site

2005-10-21 Thread Brett Porter
The issue has been fixed in SVN, it's just waiting for the project-info-reports plugin to be released. - Brett On 10/20/05, Kees de Kooter [EMAIL PROTECTED] wrote: Sorry Brett, I just installed maven 2 (congrats with the release!) but the error is still happening: [ERROR] VM #displayTree:

m1 - Problems with checkstyle

2005-10-21 Thread Angel Andres Fungueiro
Hi. I'm generating checkstyle reports with Maven 1.0 and works fine. But when using the property maven.checkstyle.properties ( or maven.checkstyle.propertiesURL) to specify a custom check set, it fails giving the next error message: .. checkstyle:report: checkstyle:run: [echo] Using

Re: [m2] Working with project versions

2005-10-21 Thread Brett Porter
Yep, that's correct. On 10/20/05, Piotr Bzdyl [EMAIL PROTECTED] wrote: Hi, I would like to make sure that I understand maven 2 philosophy correctly. This is how I work with versions and SVN now: 1. Working with version 1.0-SNAPSHOT in svn.myhost.com/projectA/trunk 2. I want to release

  1   2   >