Re: [m2] javadoc for multimodule project

2005-10-21 Thread Brett Porter
No, but there's an open JIRA for it. It shouldn't actually be too much work when we get around to it. Cheers, Brett On 10/21/05, Greg Wilkins <[EMAIL PROTECTED]> wrote: > > Is there a simple way to merge the javadoc from multiple modules into a > single javadoc hierarchy? > > > >

Re: [m2] antlib [ERROR] Nonexistent component

2005-10-21 Thread Brett Porter
This was fixed late in the cycle. Where did you obtain your release JAR from? - Brett On 10/21/05, Xavier Toth <[EMAIL PROTECTED]> wrote: > 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 PROTECTE

Re: antlib task problems

2005-10-21 Thread Brett Porter
ISn't that a general problem with properties and references? - Brett On 10/21/05, Xavier Toth <[EMAIL PROTECTED]> wrote: > Properties and references created by the pom and dependencies tasks don't > persist across ant/subant task invocations. > > -

Re: Pulling API and SRC Jars from Repos

2005-10-21 Thread Brett Porter
In Maven2, yes, it is standardised (-src and -javadoc) and they can be published to the repository by default. - Brett On 10/21/05, Sal Campana <[EMAIL PROTECTED]> wrote: > Are there any plans to add support of optionally specifying API and SRC jars > for a given dependency? > > We've built a plu

Re: [m2] To do a plugin with beanshell

2005-10-21 Thread Brett Porter
I will write a guide based on the blog entry. You can look at maven-core-it/it0020 for a complete example. The adapter is in o.a.m / maven-script-beanshell - Brett On 10/21/05, Herve AGNOUX <[EMAIL PROTECTED]> wrote: > Hi, > > I'a trying to do " Writing Beanshell Plugins for Maven > 2.0" > (htt

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

2005-10-21 Thread Brett Porter
It's not a known issue. Is there a way we can obtain that specific version to test it? - Brett On 10/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > No, I was able to fix it. It was the JDK type. I was using IBM JDK 1.4 and > maven 2(beta as well) doesn't seem to work with IBM JDK. After po

Re: converting m1 style repos to m2

2005-10-21 Thread Brett Porter
On 10/21/05, Jorg Heymans <[EMAIL PROTECTED]> wrote: > ok, so the directory structure is converted, but not the poms right? A stab is taken at converting the poms too, if they existed. - Brett - To unsubscribe, e-mail: [EMAIL PR

Re: intermittent build failures - cocoon build

2005-10-21 Thread Brett Porter
On 10/21/05, Jorg Heymans <[EMAIL PROTECTED]> wrote: > Hi, > > For the m2 build of cocoon, I am currently struggling with 2 types of > build failures > > 1) java.lang.OutOfMemoryError. I can't really say what triggers this, > but it happens every now and then when doing a full build of all modules.

Re: artifact:install jar name

2005-10-21 Thread Brett Porter
The role of the repository is special to maven and the tasks, so it uses the defined layout. If you simply need to copy the file to a particular location, use a filesetId and Cheers, Brett On 10/21/05, Xavier Toth <[EMAIL PROTECTED]> wrote: > No matter the jar file name it installs a jar named a

Re: [m2] deployment of Jetty 6

2005-10-21 Thread Brett Porter
I think you should just leave them out of your repository, and leave it up to Geronimo/Tomcat to deploy them into the repo (which they do now, I think). Cheers, Brett On 10/21/05, Greg Wilkins <[EMAIL PROTECTED]> wrote: > Jason van Zyl wrote: > > We have standard names for SUN JARs: > > > > http:

Re: [m2] archetype plugin bug?

2005-10-21 Thread Brett Porter
you can use -Dpackage to set a different package, but we should certainly validate the input. Please file a bug in JIRA. - Brett On 10/21/05, Jon Ekdahl <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm just getting started on m2 and I believe I stumbled over a bug. > I created a template project with t

Re: [m2] Controlling Bloat

2005-10-21 Thread Brill Pappin
The point of optional deps is that tey are not required... I for one would much rather be specific about what deps I was including that had the world get deployed into my app. The problem I'm having now is that deps that should be marked optional are not (which seems to be the opposit of the probl

Re: xdoclet-maven-plugin > maven2

2005-10-21 Thread Brett Porter
m2 version? On 10/21/05, Ief Berben <[EMAIL PROTECTED]> wrote: > When I try to execute the following plugin: > > > xdoclet-maven-plugin > org.codehaus.mojo > 1.0-alpha-1 > > > > xdoclet > > generate-sources > > > > > > > > > > > > > > in maven2 I get an abstractMethodError : > > [

Re: using assembly to repackage a war

2005-10-21 Thread Brett Porter
If they are never used independantly I'd say merge, otherwise I'd say fix the war plugin, merge the 2 web.xml's, and add that as the resulting one. - Brett On 10/21/05, jerome lacoste <[EMAIL PROTECTED]> wrote: > I need to take a war and add some packages in certain places. > > I took the approac

Re: [m2] multiproject and dependency management.

2005-10-21 Thread Brett Porter
This mode is not currently avilable (only binary, or from source in your current source tree). It's a good feature request though, if someone would like to file it in JIRA and vote - Brett On 10/21/05, Miks Rozenbergs <[EMAIL PROTECTED]> wrote: > Sridhar Radhakrishnan wrote: > > >> 2) Is tha

Re: MyEclipse 4 and Maven 2

2005-10-21 Thread Brett Porter
Ah, I saw your later message. It works in IntelliJ - perhaps a MyEclipse problem? On 10/21/05, Brett Porter <[EMAIL PROTECTED]> wrote: > It looks ok, what is the error you get? > > On 10/21/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > > > I have noticed that MyEclipse XML Edit flags the getti

Re: MyEclipse 4 and Maven 2

2005-10-21 Thread Brett Porter
It looks ok, what is the error you get? On 10/21/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > I have noticed that MyEclipse XML Edit flags the getting started guid pom.xml > as invalid > > Does Maven2 has a valid DOCTYPE definition? > > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http:

Re: Javadoc and assertions

2005-10-21 Thread Brett Porter
On 10/21/05, David Sag <[EMAIL PROTECTED]> wrote: > > > 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 compi

Re: [m2] intermittent failure to get dependencies

2005-10-21 Thread Brett Porter
Can you boil it down to a test case? Or run it with -X and note the differences in the resolution tree? - Brett On 10/21/05, Velle Andrè <[EMAIL PROTECTED]> wrote: > 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 the

artifact:install jar name

2005-10-21 Thread Xavier Toth
No matter the jar file name it installs a jar named apparently for the package name. It seem like the artifactId ought to be the original jar file name and the groupId ought to be the package name. http://jar.name>}">

Re: Help or plugin description...

2005-10-21 Thread Brett Porter
in m2, its projecthelp:describe goal On 10/21/05, HATTAT Jérémie <[EMAIL PROTECTED]> wrote: > Has the maven -P option disappear? > > Jay > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL P

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

2005-10-21 Thread Brett Porter
It is in JIRA, we'll try and get a fix out as soon as possible. On 10/21/05, Bernd Mau <[EMAIL PROTECTED]> wrote: > Yes, it really seems to be a bug and I coud not find an issue in the > JIRA concerning this problem. > > > - > To

Re: intermittent build failures - cocoon build

2005-10-21 Thread Scott Lamb
On Oct 21, 2005, at 2:53 PM, Jorg Heymans wrote: 1) java.lang.OutOfMemoryError. I can't really say what triggers this, but it happens every now and then when doing a full build of all modules. Any thoughts on how to track down what is happening here? I've had good luck recently using Java

Is ejb:ejb plugin working?????????????????????????

2005-10-21 Thread raghurajan . x . gurunathanv
Hi All, May be i'm wrong but i don't think mvn ejb:ejb plugin is working... coz in my ejb project module i have the following entry /src /Test maven-ejb-plugin

intermittent build failures - cocoon build

2005-10-21 Thread Jorg Heymans
Hi, For the m2 build of cocoon, I am currently struggling with 2 types of build failures 1) java.lang.OutOfMemoryError. I can't really say what triggers this, but it happens every now and then when doing a full build of all modules. 2) a module fails to build during full build, complaining about

Re: converting m1 style repos to m2

2005-10-21 Thread Jorg Heymans
Brett Porter wrote: > You shouldn't be using that repository - infra would like to not incur > that load/bandwidth on the box. noted. > It is automatically synced to ibiblio, and converted to m2 format. ok, so the directory structure is converted, but not the poms right? > I agree the error i

RE: [m2] Controlling Bloat

2005-10-21 Thread Mark Kuzmycz
I noticed that comoons-logging-1.0.4 was using instead of true. As a result optional dependencies were being loaded. I see the use of optional and the excludes list being helpful; however, it is a very time consuming process to track down optional dependencies if needed (hence the purpose of tran

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

2005-10-21 Thread cheethus
No, I was able to fix it. It was the JDK type. I was using IBM JDK 1.4 and maven 2(beta as well) doesn't seem to work with IBM JDK. After pointing to the sun jdk, everything went fine. Just curious, Is this a known issue or I need to do anything additional if I had to use IBM? -Kris Brett Porter

Re: m1 - Problems with checkstyle

2005-10-21 Thread Lukas Theussl
Probably the file /opt/maven-1.0.2/esidif_checks.xml does not exist? How did you specify the maven.checkstyle.properties prop? Try prepending ${basedir}, that should work. -Lukas Angel Andres Fungueiro wrote: Hi. I'm generating checkstyle reports with Maven 1.0 and works fine. But when us

Re: [m2] unable to download plugin SNAPSHOT

2005-10-21 Thread Brett Porter
Yes, we should really decouple this in some way. ie, there are a list of repositories, and then artifacts declare which they want to use by key. - Brett On 10/20/05, andrew <[EMAIL PROTECTED]> wrote: > For anyone like me who takes their time getting to the DTD (or just > misses the blindingly ob

Re: need reccomendation for build release process

2005-10-21 Thread Brett Porter
step 1 is a role of the release plugin (release:prepare). step 2 doesn't exist (we have a changelog report but not one that diffs two tags). It would not be too hard to write given that we already have all the SCM related code in the maven SCM library. - Brett On 10/20/05, Shukla, Sanjay <[EMAIL

Re: inherit from main archetype ?

2005-10-21 Thread Brett Porter
No, I don't think this is necessary. It's convenient for the maven-developed archetypes, but you should use your own group and org info. If you have multiple archetypes, creating your own parent in a similar way is probably wise, to reuse the definition of the archetype dependencies, f.e. - Brett

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 rele

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] Usi

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 #displa

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 no

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 P

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

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 t

Re: [m2 & m1]Inject POM values into application

2005-10-21 Thread Brett Porter
You can most likely do this with property activated profiles. On 10/20/05, Geoffrey <[EMAIL PROTECTED]> wrote: > There is even second use case besides the releaseDate that the filtering > can't cut: > > Depending on a variable, for example > release.database = mysql > Certain hibernate properties

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 1

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 rep

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 de

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 th

Re: converting m1 style repos to m2

2005-10-21 Thread Brett Porter
You shouldn't be using that repository - infra would like to not incur that load/bandwidth on the box. It is automatically synced to ibiblio, and converted to m2 format. for 1): using an m1 repo will disable transitive deps as it can't read m1 poms for 2): we have a tool to do it. We're working o

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?

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] > org.apache.maven.plugin

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 page

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 ass

[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 othe

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.

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] Nonexis

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] Shoudn't scm:checkout be creating a folder for the module?

2005-10-21 Thread dan tran
Hi Miks, The maven-scm-plugin is generic to all SCM providers to do what you want, add -DworkingDirectory=./my-app On 10/21/05, Miks Rozenbergs <[EMAIL PROTECTED]> wrote: > > Hi! > > Running mvn -U scm:checkout DconnectionUrl=scm:cvs:local:/cvs/src:my-app > does not create my-app folder. That i

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: 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 o

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 resolve

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 allo

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: true 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 to have made it into the m2 eclipse plu

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

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 poi

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 http://maven.apache.org/ref

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 th

[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] 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: > > jdbc > jdbc-stdext > > As that's how it looks in the JPOX pom. Not sure if that would matter or > not... > > -Stephen > > On 10/21/0

[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: 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 -> Inter

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: [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 project.properties

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: [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 tha

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? 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 http://maven.

Re: [m2] Unit test includes

2005-10-21 Thread Matt Raible
package src test maven-surefire-plugin **/*TestCase.java **/*WebTest.java On 10/21/05, Richard Wa

[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: **/*Test.java **/Abstract*.java I don't see anything similar in m2 and it's trying to run my HibernateDaoSupportTestCase which is an abstract base class for

[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 -Dgrou

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 tags. > I also added pr

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Sridhar Radhakrishnan
I agree. They should be putting true 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 cases, if the bui

[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 Nicolas De Loof
I've created http://jira.codehaus.org/browse/MEV-133 for this and attached poms that include tags. I also added provided for javax APIs. Stephen Duncan a écrit : Well, they ARE invalid, in that they should be putting true on many of those dependencies. -Stephen On 10/21/05, Nicolas De Lo

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): something something-optional true I think in most cases where you'd need multiple exclusions the actual case is that you don't want to add the dependency, because you don't want it in your war, or something like that, bu

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-449

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 depen

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]> wro

Re: [m2] quick way to exclude dependencies

2005-10-21 Thread Stephen Duncan
Well, they ARE invalid, in that they should be putting true 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 tools that s

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 dep

[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

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 t

[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 exclusion/inclus

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

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, Fabri

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 Pilgrim, Peter
Ok I set up the ``C:\Documents and Settings\ppilgrim\.m2\settings.xml'' with true http ocs-ca-http.csfb.net 8080 ppilgrim When I run the getting started command line, I get a failure C:\Projects>mvn -X archetype:create -Dgro

Re: Problem with the POM version

2005-10-21 Thread Arnaud HERITIER
You must add a currentVersion in your project.xml ... 1.0-SNAPSHOT ... 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 with the ceclipse plugin myMavan and i w

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: - /conf/ : the settings will be available for all users - /.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 PROTECTED]

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-Commons>maven jar __ __ | \/ |__ _Apache__

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 > d

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

2005-10-21 Thread Pilgrim, Peter
Ok I think we have a circular dependency here. Follow the getting started guide ``http://maven.apache.org/maven2/guides/getting-started/index.html'' I am trying to execute the command line: % mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app But it seems that the help pag

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

2005-10-21 Thread Stephen Duncan
You might try adding the exclusion with the following: jdbc jdbc-stdext As that's how it looks in the JPOX pom. Not sure if that would matter or not... -Stephen On 10/21/05, Matt Raible <[EMAIL PROTECTED]> wrote: > I'm trying to exclude jdbc-stdext (along with many others) from JPO

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

2005-10-21 Thread fabrice . belingard
Peter, please have a look at the documentation on Maven 2 website: http://maven.apache.org/maven2/guides/mini/guide-proxies.html This page should answer your question. :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTE

Re: [m2] deployment of Jetty 6

2005-10-21 Thread Greg Wilkins
Jason van Zyl wrote: > We have standard names for SUN JARs: > > http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun- > jars.html > > Following those is recommended. I will do so. Note that Jetty includes the source - and thus the binaries of the javax.servlet API.But these are

  1   2   >