Error in the plugin:descriptor goal

2006-08-30 Thread hermod.opstvedt
Hi When running mvn install on various projects I am now getting: [INFO] [plugin:descriptor] [INFO] Using 2 extractors. [INFO] Applying extractor for language: java [INFO] Extractor for language: java found 1 mojo descriptors. [INFO] Applying extractor for language: bsh [INFO] Extractor for langua

Re: notice about recent assembly plugin snapshot

2006-08-30 Thread Brett Porter
was this behaviour only in previous snapshots of the current release, or was it that way in the previous release? On 31/08/06, John Casey <[EMAIL PROTECTED]> wrote: Hi everyone, I just wanted to send a quick note to let you know that I've made some modifications to the way the assembly plugin f

Re: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Doug Douglass
mvn help:effective-pom should help you get a pom that can be tweaked for corporate deployment. Doug On 8/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote: I would guess that another pom somewhere else (or possibly even not in the source code you've got) is introducing this people.apache.org url. Tw

Re: pruning or limiting snapshots

2006-08-30 Thread jim stafford
Barrie, Thanks! uniqueVersion is what I needed. http://maven.apache.org/ref/current/maven-model/maven.html#class_snapshotRepository I do have separate release and snapshot repositories. Although I am still trying to sort out my use of SNAPSHOTS versus versions, in this case they are the result

Re: pruning or limiting snapshots

2006-08-30 Thread Barrie Treloar
On 8/31/06, jim stafford <[EMAIL PROTECTED]> wrote: Is there any way to limit the number of SNAPSHOTs that accumulate in the SNAPSHOT repository using only Maven? I realize I can use shell script pruning tools and cron to help reduce the clutter, but I was wondering if there was a way of getting

Re: [M2] Creating archetypes

2006-08-30 Thread Takashi Nishigaya
Hi ccadete, try my bash completion script: http://blogs.sun.com/nishigaya/entry/bash_completion_for_maven_2 it will complemet plugin parameters as well as well-known plugin goals. the above entry is written in japanse, sorry. But you can easily find the link for the actual bash completion scrip

Re: Multipart question regarding releasing with an assembly and integration tests.

2006-08-30 Thread Wendy Smoak
On 8/30/06, Todd Nine <[EMAIL PROTECTED]> wrote: 2. I have a project that has both unit tests and integration tests. The unit tests use mock objects and obviously execute automatically when test is performed. How do I specify the tests that need to run for integration testing? Also note that

Re: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Wayne Fay
I would guess that another pom somewhere else (or possibly even not in the source code you've got) is introducing this people.apache.org url. Two choices to chase this down... 1. Look in the pom for maven-idea-plugin. Find the parent reference. Go to that pom, check its parent. Rinse and repeat u

pruning or limiting snapshots

2006-08-30 Thread jim stafford
Is there any way to limit the number of SNAPSHOTs that accumulate in the SNAPSHOT repository using only Maven? I realize I can use shell script pruning tools and cron to help reduce the clutter, but I was wondering if there was a way of getting the deploy plugin to do the work. It looks like e

Re: Turning off All Repositories

2006-08-30 Thread Wayne Fay
You can "turn off" ibiblio by setting up an alternative repo as a central in your settings.xml file. Wayne On 8/30/06, Dave Hoffer <[EMAIL PROTECTED]> wrote: Humm...not sure what you mean. Maven does just use those in the pom plus ibiblio. I don't think you can shut off ibiblio. -dh -Or

Re: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Barrie Treloar
On 8/31/06, Dave Hoffer <[EMAIL PROTECTED]> wrote: Why does it want to connect to 'people.apache.org'? If you check the pom files you will find that people.apache.org has been defined as a repository, probably to get access to the SNAPSHOT of another plugin. http://docs.codehaus.org/display/MA

Re: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Barrie Treloar
On 8/31/06, Wayne Fay <[EMAIL PROTECTED]> wrote: Download the code for the plugin(s) from SVN/CVS. Increment the version number to a fixed/released number, build, install locally and deploy to your corporate repo (if you have one) or provide it to your coworkers some other way. Update your pom to

Re: Multipart question regarding releasing with an assembly and integration tests.

2006-08-30 Thread Barrie Treloar
1. I have a project that is simply a testing utility for our admins to test their message queue setups. I have the assembler plug in create a zip file that contains all the jars and the class path for the executable jar. Is it possible for me to automatically run the assembly and upload the crea

RE: pom files not validating

2006-08-30 Thread Douglas Ferguson
Yeah.. I already have a 3rd party branch. I just didn't realize that it would barf at me cuz the pom was skeletal. Some of this stuff doesn't even have a pom, i.e. some weird library from a partner, etc. -Original Message- From: Mykel Alvis [mailto:[EMAIL PROTECTED] Sent: Wednesday, Aug

RE: Turning off All Repositories

2006-08-30 Thread Dave Hoffer
Humm...not sure what you mean. Maven does just use those in the pom plus ibiblio. I don't think you can shut off ibiblio. -dh -Original Message- From: Ole Ersoy [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:25 PM To: users@maven.apache.org Subject: Turning off All Repos

RE: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Dave Hoffer
Problem with another option to deploy as well... I notice that I can use the deploy:deploy-file to deploy an artifact with an existing pom. I think this would accomplish the same as the deploy goal below. Here is the syntax I used: mvn deploy:deploy-file -DpomFile= \ -Dfile= \ -

Turning off All Repositories

2006-08-30 Thread Ole Ersoy
Hi, Does anyone know how to turn off all repositories, so that Maven is only allowed to use repositories specified in the POM? Thanks, - Ole __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Spring Framework Dependencies

2006-08-30 Thread Jared Bunting
I have attached a zip containing poms and checksums for 1.2.8 to the ticket you mention. What else do I need to do to get these uploaded to ibiblio? Thanks, Jared On 8/30/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: any questions about spring and their poms must be asked there, or you provid

RE: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Dave Hoffer
Here is a current example of the problem I have with the deploy goal. I am trying to deploy a current build of the maven-idea-plugin. - I have checked out the entire maven source. - At .\plugins\maven-idea-plugin I can install fine (but need to deploy to our repo. - I then edit .\plugins\maven-id

Multipart question regarding releasing with an assembly and integration tests.

2006-08-30 Thread Todd Nine
Hi all, I have a couple of questions that don't seem to be documented (at least not that I could find). Any help would be greatly appreciated. 1. I have a project that is simply a testing utility for our admins to test their message queue setups. I have the assembler plug in create a zip file

RE: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Dave Hoffer
Wayne, ...just to clarify. In order to deploy to my corporate repo I would have to edit the pom files to deploy to my corporate repo instead of the real one. With some large projects, i.e. maven plugins I have had trouble making the necessary pom changes (lots of parent poms) to get the deploy t

Overriding the default goal for a lifecycle phase

2006-08-30 Thread LaCasse, John
Is there any way to override the default goal for a particular phase. For instance I would like to override the package default goal from war:war to war:exploded since creating the war file is a lot of overhead and I don't need it. If I specify this in the plugins section in the package phase it ju

notice about recent assembly plugin snapshot

2006-08-30 Thread John Casey
Hi everyone, I just wanted to send a quick note to let you know that I've made some modifications to the way the assembly plugin functions. These changes are likely to break your assemblies if you're using the moduleSets/moduleSet/sources element. The sources element used to be derived from file

Re: [M2] Creating archetype default directoy

2006-08-30 Thread Wendy Smoak
On 8/30/06, ccadete <[EMAIL PROTECTED]> wrote: I want to know if this is right behavior: to put all my default package struture after the project groupId ? Yes. If you want a different package structure, use -DpackageName=com.example.project on the command line. It should also be replacing

[M2] Creating archetype default directoy

2006-08-30 Thread ccadete
I create an artifact with the following archetype.xml: simple src/main/java/App.java And now and I using it to create a new project, mvn archetype:create -DarchetypeGroupId=myarchetype -DarchetypeArtifactId=myarchetype -DarchetypeVersion=1.0 -DgroupId=my.cc -DartifactId

[M1] QALab 0.9.1 and Maven plugin released

2006-08-30 Thread Benoit Xhenseval
Hi *, ObjectLab is pleased to announce the release of version 0.9.1 (slowly getting closer to v 1.0) of QALab and its Maven 1.x plugin. http://qalab.sourceforge.net QA Tools like checkstyle, pmd, findbugs, cobertura (cobertura-branch and cobertura-line) and Simian are great build tools but the

Re: [M2] Creating archetypes

2006-08-30 Thread ccadete
Yes, it was that, now it is working :) thanks. ccadete -- View this message in context: http://www.nabble.com/-M2--Creating-archetypes-tf2193156.html#a6070383 Sent from the Maven - Users forum at Nabble.com. - To unsubscri

Re: [M2] Creating archetypes

2006-08-30 Thread Wendy Smoak
On 8/30/06, ccadete <[EMAIL PROTECTED]> wrote: Now I try to create a new project using my archetype: mvn archetype:create -DartifactGroupId=myarchetype Shouldn't that be -DarchetypeGroupId=myarchetype ? Here's the README for one of mine... http://svn.apache.org/repos/asf/struts/maven/trunk/st

Re: [M2] Creating archetypes

2006-08-30 Thread ccadete
I am using: groupId:myarchetype artifactId:myarchetype First, I install the project in the repository,and I see it in the directory m2/repository/myarchetype that is the groupId directory and it is ok. Now I try to create a new project using my archetype: mvn archetype:create -DartifactGroup

Re: [M2] Creating archetypes

2006-08-30 Thread Eric Redmond
On 8/30/06, Eric Redmond <[EMAIL PROTECTED]> wrote: Did you actually give it a group name of "My-Archetype"? Try it again with the dash. If it works, then yes, it might be a bug. Woops, I meant without the dash. Eric On 8/30/06, ccadete <[EMAIL PROTECTED]> wrote: > > > > I installed a new

Re: [M2] Creating archetypes

2006-08-30 Thread Wendy Smoak
On 8/30/06, ccadete <[EMAIL PROTECTED]> wrote: I installed a new my archetype, created by me, in a repository, with the groupId=My-Archetype, but when I choose to use it, using the -DarchetypeGroupID=My-Archetype in the command line, maven will try to download it from org.apache.maven.archetypes

Re: [M2] Creating archetypes

2006-08-30 Thread Eric Redmond
Did you actually give it a group name of "My-Archetype"? Try it again with the dash. If it works, then yes, it might be a bug. Eric On 8/30/06, ccadete <[EMAIL PROTECTED]> wrote: I installed a new my archetype, created by me, in a repository, with the groupId=My-Archetype, but when I choose

Re: maven-assembly-plugin: weird life cycle

2006-08-30 Thread Barrie Treloar
On 8/30/06, Alexis Midon <[EMAIL PROTECTED]> wrote: here is what I have in my parent pom: org.apache.maven.plugins maven-assembly-plugin src/assembly/assembly-2.1.2m.xml

Re: Integration Testing

2006-08-30 Thread Barrie Treloar
Joe Heck wrote The "how to" for the separate functional test module setup was on this earlier - the big pieces to note being that the functional test module is set with POM packaging, and then plugins manually bound to the various steps (in this case, the maven-surefire-plugin bound to the integr

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Jimisola Laursen
> I agree. I don't want my site (Propellors) to be widely used... it's just my > own private wiki for organizing my ideas. If you notice, the page isn't > even > editable by the general public. It not being editable makes it a lot easier :) Would you consider moving your recipes to http://docs.c

[M2] Creating archetypes

2006-08-30 Thread ccadete
I installed a new my archetype, created by me, in a repository, with the groupId=My-Archetype, but when I choose to use it, using the -DarchetypeGroupID=My-Archetype in the command line, maven will try to download it from org.apache.maven.archetypes ( that is the default archetypes location ), so

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Eric Redmond
I agree. I don't want my site (Propellors) to be widely used... it's just my own private wiki for organizing my ideas. If you notice, the page isn't even editable by the general public. On 8/30/06, Jimisola Laursen <[EMAIL PROTECTED]> wrote: (slightly of the initial topic but...) Hold on, hol

Re: Spring Framework Dependencies

2006-08-30 Thread Carlos Sanchez
any questions about spring and their poms must be asked there, or you provide the poms to be uploaded to ibiblio. On 8/30/06, Pin Ngee Koh <[EMAIL PROTECTED]> wrote: Do I download repository from http://www.ibiblio.org/maven2 and unzip spring-pom-1.2.8.zip over it? Is there a reason why we are n

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Jimisola Laursen
(slightly of the initial topic but...) Hold on, hold on... Can't we try to keep the documentation in one place? And thereby make it easier to find. I think that Maven Recipes is great idea, but (always a but) it's off Maven's site. There is a FAQ in the Codehaus Wiki that can be edited by user

Re: Spring Framework Dependencies

2006-08-30 Thread Pin Ngee Koh
Do I download repository from http://www.ibiblio.org/maven2 and unzip spring-pom-1.2.8.zip over it? Is there a reason why we are not keeping http://www.ibiblio.org/maven2 update to date? On 8/30/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: see http://opensource.atlassian.com/projects/spring/bro

how do i turn off inclusion of all transitive dependencies? in 2.0.4

2006-08-30 Thread SkipWalker
We're having a problem with our war. Some of the dependencies have transitive dependencies on different versions of the same jar. For instance, some dependency has a transitive dependency of velocity-1.4.jar. Another has velocity-dep-1.4.jar. Other examples include cglib, spring, etc. The res

Re: Spring Framework Dependencies

2006-08-30 Thread Carlos Sanchez
see http://opensource.atlassian.com/projects/spring/browse/SPR-1484 On 8/30/06, Pin Ngee Koh <[EMAIL PROTECTED]> wrote: I have many artifacts which dependent on spring. What's the best way to declare dependency on Spring - specifically 1.2.8? I can think of the following ways: (1) Declare a par

Re: pom files not validating

2006-08-30 Thread Mykel Alvis
My $0.02: I used to do this, but I've since decided that it's worth the time to take the generated POM from the maven deploy, go back to the projects (where I'm able to), and update the POM to make it into a "real" POM instead of a skeletal one. I ended up with a large number of dependencies in

Re: [maven 1.x] Need help for passing java arguments

2006-08-30 Thread Arnaud HERITIER
I found that maven.junit.jvmargs is always used (forked or not). Thus if you don't fork your tests and you define system properties in MAVEN_OPTS and in maven.junit.jvmargs all of them are used but in which order ??? Arnaud On 8/30/06, Ming Cheung <[EMAIL PROTECTED]> wrote: Is this a bug for t

Spring Framework Dependencies

2006-08-30 Thread Pin Ngee Koh
I have many artifacts which dependent on spring. What's the best way to declare dependency on Spring - specifically 1.2.8? I can think of the following ways: (1) Declare a parent pom with the right dependencies to spring-core, spring-orm, ...etc. And have each project pom inherit it Issue: some

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Arnaud HERITIER
You're right but I would like to add that when we deploy a snapshot we also deploy a timestamp version of the plugin ([1] is an example for m1). This timestamp can be used temporaly and will not be modified. But I agree that it doesn't resolve our lake of releases Arnaud [1] http://people.ap

RE: Integration Testing

2006-08-30 Thread Heck, Joe
We have several different mechanisms running - but most of them are honestly manual. The automated solution that one of our teams have come up and and stuck with is the following: 1) set up a multi-module maven2 project, with one of those modules being a functional test suite, another the WAR that

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Mykel Alvis
Preface: I make my living doing build management, and I have chosen m2 as the java build tool that I propose. Another issue I seem to have with Maven is the difficulty in locating (and the quality) of public repositories. I know of several (central, codehaus, apache incubator, jboss, mvnrepositor

Integration Testing

2006-08-30 Thread Ruel Loehr
I'd like to query the community and see how you guys are handling integration testing in real world environments. I've looked through the list and the Better builds book, but didn't like what I saw.. Here is the use case: Use Case A: A user has a project which builds a war. For integrat

accessing continuum DB

2006-08-30 Thread L. J.
Could anyone kindly provide me a step by step instructions on how to access the continuum DB? Also, what tool should I use? Thanks. LJ

Profiles - Strange Behavior

2006-08-30 Thread Douglas Ferguson
I just discovered something really odd with profiles, not sure if it is expected. I have 4 profiles. Testqa.remote Testqa.local Localhost.remote Localhost.local I have Localhost.remote set to active via the My effective-pom contains the settings from the associated profiles whe

custom information in the released POM

2006-08-30 Thread Peter Neubauer
Hi, I would like to add some additional information as attributes/elements to e.g. the dependency tag in the POM that is generated as the result of a release, so the resulting tag lokos something like org.osgi osgi_R4_core 1.0 3 true or as attributes

RE: pom files not validating

2006-08-30 Thread Douglas Ferguson
I deployed them with mvn deploy:deploy-file. I had previously used mvn install:install-file and then copied them from there to the internal repository, but there where no poms. So I then ran mvn deploy:deploy-file. I let maven generate the poms. -Original Message- From: Yann Le Du [mai

SV: [POLL] Why switch to Maven?

2006-08-30 Thread Simon Kepp Nielsen
I think this answer is one of the common problems with Maven. I don't mean to pound on Emmanuel, who's doing a great job, but just point out a very common problem in many open source projects. The fact that a feature is available in a snapshot version or in the trunk doesn't help the user that

Re: Re: mvn2: war packaging

2006-08-30 Thread Tomasz Pik
On 8/30/06, Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote: > From: "Henry S. Isidro" <[EMAIL PROTECTED]> > To: "Maven Users List" > Subject: Re: mvn2: war packaging > Date: Wed, 30 Aug 2006 07:43:56 +0800 > > If you're trying to include a jar in the lib folder > of a war package, just > declare

Re: pom files not validating

2006-08-30 Thread Yann Le Du
How did you deploy your 3rd party library ? With mvn install:install-file ? Then, did you use the generatePom option or did you write the POM yourself ? - Yann 2006/8/30, Douglas Ferguson <[EMAIL PROTECTED]>: I have some 3rd party library dependencies that aren't in central so I deployed them

pom files not validating

2006-08-30 Thread Douglas Ferguson
I have some 3rd party library dependencies that aren’t in central so I deployed them to our internal repository. Whenever I build a project that depends on one of these libraries I get the following message. What can I do to get stop this? [WARNING] POM for 'uk.co.demon.windsong:crypt:po

Extending a plugin and parameter inheritance

2006-08-30 Thread Alexis Midon
Hi all, I'm developping a custom plugin, its main features already are already implemented by the antrun plugin, my only wish is to add an aggregator like behaviour. To do so my pojo extends the AntRunMojo, my mojo does nothing except adding the @aggregator annotation. Unfortunately when I packa

Re: [maven 1.x] Need help for passing java arguments

2006-08-30 Thread Ming Cheung
Is this a bug for the maven.junit.jvmargs? Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED] Ming Cheung/Austin/[EMAIL PROTECTED] Ming Cheung/Austin/[EMAIL PROTECTED] 08/29/2006 04

Re: Problem with internal repository (checksum?)

2006-08-30 Thread Arnaud Bailly
"HUGOT Franck" <[EMAIL PROTECTED]> writes: > I have an organisation repository on a tomcat server. This repository > has been populated by all the maven plugins and my projects (this > repository is the local repository of the maven tool installed on this > machine so it has been automatically pop

Nova vers�o (1.5-snapshot-cpqd-7) do plugin 'Maven Artifact Plugin' (maven:maven-artifact-plugin) dispon�vel para download

2006-08-30 Thread dion
Olá a todos, Foi liberada uma nova versão do plugin 'Maven Artifact Plugin': * descrição da release: * id: maven:maven-artifact-plugin * versão: 1.5-snapshot-cpqd-7 * label ClearCase: MAVEN-ARTIFACT-PLUGIN-1.5-SNAPSHOT-CPQD-7 * documentação oficial: http://maven.apache.

RE: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Douglas Ferguson
Thanks. That makes a lot of sense... -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:12 AM To: Maven Users List Subject: Re: Can't release due to SNAPSHOT dependencies We've talked about this before on the list, and this is the generally

Re: Re: mvn2: war packaging

2006-08-30 Thread franz see
Attila Mezei-Horvati wrote: > >> From: "Henry S. Isidro" <[EMAIL PROTECTED]> >> To: "Maven Users List" >> Subject: Re: mvn2: war packaging >> Date: Wed, 30 Aug 2006 07:43:56 +0800 >> >> If you're trying to include a jar in the lib folder >> of a war package, just >> declare the jar file as a

Problem with internal repository (checksum?)

2006-08-30 Thread HUGOT Franck
I have trouble with my organization repository (for maven2). Here is my configuration : I have an organisation repository on a tomcat server. This repository has been populated by all the maven plugins and my projects (this repository is the local repository of the maven tool installed o

Re: maven-resources-plugin StringIndexOutOfBoundsException

2006-08-30 Thread franz see
chua wrote: > > Hi! > > I am migrating a project from m1 to m2. > > I have two modeules, one to make a jar from jaxb generated and compiled > source and another module that must create a war and which have a > dependency with the previous jar cretaed in my jaxb module. > > Well, my jaxb modu

eclipse:eclipse & wtp

2006-08-30 Thread Douglas Ferguson
BTW: I noticed that it actually supports 1.5. But when I did so I got this error in my project. Not sure what it means… Severity and Description Path Resource Location Creation TimeId Java compiler level does not match the version of the installed Java project facet.

Re: Re: [POLL] Why switch to Maven?

2006-08-30 Thread Attila Mezei-Horvati
> Date: Tue, 29 Aug 2006 17:20:07 -0500 > From: "Eric Redmond" <[EMAIL PROTECTED]> > To: "Maven Users List" > Subject: Re: [POLL] Why switch to Maven? > > On 8/29/06, Attila Mezei-Horvati > <[EMAIL PROTECTED]> wrote: > > > > At my company we used ant to do the build files. > > We > > decided to s

Re: archetype descriptor schema?

2006-08-30 Thread franz see
Aaron Tarter wrote: > > Thanks franz for digging out the info. That will suit my needs for now. > Do > you know if there is any plan to formalize a schema? > > On 8/30/06, franz see <[EMAIL PROTECTED]> wrote: >> >> >> > Does anyone know where I can find the maven2 archetype descriptor >> sch

Re: mvn2: war targetPath

2006-08-30 Thread Attila Mezei-Horvati
TargetPath is not taken into account. Resources are copied in the webroot no matter what. Did anybody have the same issue? (see also mail below). thanks, Attila --- Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote: > I am trying to include a jar into the war file. I > found on the site a parameter

RE: NullPointerException in maven-eclipse-plugin while executing "mak e-artifacts" goal

2006-08-30 Thread Sharma, Jaikumar
Hi Stephance, I have created JIRA Issue for this. http://jira.codehaus.org/browse/MECLIPSE-153 Regards -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 8:00 PM To: Maven Users List Subject: Re: NullPointerException in maven-eclipse-p

Re: Maven Junit Test with Gigaspaces

2006-08-30 Thread Wayne Fay
We'll need to see your pom for sure, but I would assume you have not added the proper Gigaspaces dependency/ies to your pom. Eclipse has a tendency to find jars in lib folders and such which are not necessarily available when executing a non-Eclipse Maven build. Wayne On 8/30/06, mmp <[EMAIL PRO

RE: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Daryl.Dwyer
The only way around it that we found was to modify the POM for the snapshot plugin under question and release it into our team repository. There is a good reason for not releasing code that has a snapshot dependency on a plugin, though - the behavior of the plugin could change resulting in the inab

Site menu inheritance

2006-08-30 Thread SlinnHawkins, Jon (ELS)
Hi Could someone please give me a working example of inherited menus in their site.xml for a parent and child project structure I would like to specify a menu in a parent project and have all child sites inherit the said menu Many Thanks Jon

Re: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Wayne Fay
We've talked about this before on the list, and this is the generally suggested approach... Download the code for the plugin(s) from SVN/CVS. Increment the version number to a fixed/released number, build, install locally and deploy to your corporate repo (if you have one) or provide it to your c

RE: [M2] My tests are launched 3 times !

2006-08-30 Thread bdoumas
Thanks for the answer that was what i excpected :/ So there is no way to overide the mojo declaration in the .java * @execute phase="test" lifecycle="surefire" ... except to modify the plugin itself ... Selon "Beyer,Nathan" <[EMAIL PROTECTED]>: > Yes, it will run 3 times, but there's not m

Re: archetype descriptor schema?

2006-08-30 Thread Aaron Tarter
Thanks franz for digging out the info. That will suit my needs for now. Do you know if there is any plan to formalize a schema? On 8/30/06, franz see <[EMAIL PROTECTED]> wrote: > Does anyone know where I can find the maven2 archetype descriptor schema? > > -- > Regards, > Aaron J Tarter Goo

RE: [M2] My tests are launched 3 times !

2006-08-30 Thread Beyer,Nathan
Yes, it will run 3 times, but there's not much that can be done about it. Consider if you adjusted your command to "mvn clean install site". It's not required, but for clarity, here's what's happening. The 'clean' launches the clean lifecycle and cleans everything up. The 'install' causes the buil

Re: Re: mvn2: war packaging

2006-08-30 Thread Attila Mezei-Horvati
> From: "Henry S. Isidro" <[EMAIL PROTECTED]> > To: "Maven Users List" > Subject: Re: mvn2: war packaging > Date: Wed, 30 Aug 2006 07:43:56 +0800 > > If you're trying to include a jar in the lib folder > of a war package, just > declare the jar file as a dependency in the war's > pom file. This

anyone has sample on how to expose EJBs as webservices wtih maven2 / ant/ maven1?

2006-08-30 Thread Marco Mistroni
hi all, i am struggling in expose my ejbs as webservices . particularlyw ith maven2 since wseedoclet fails to run (due to the fact that i am calling ejbdoclet task just before) i'd need to generate wsdl, jaxrpc-mapping and webservices.xml managed so far only to build wsdl file (using

RE: How to deploy artifacts and its dependencies into a local proxy/repo?

2006-08-30 Thread Dave Hoffer
Yes, you are right. I don't think the deploying has much to do with Proximity because Proximity doesn't yet support uploading. We are using IIS ftp server to handle deploying to Proximity's repos. My question was a general one...of how to do a private build/release of public artifacts that yo

Re: maven-war-plugin :

2006-08-30 Thread Attila Mezei-Horvati
Yes, I just did. It works fine for me. org.apache.maven.plugins maven-war-plugin true It creates a jar name with the final name I specified .. myproject It adds it to the WEB-INF/lib folder. You have to do a "mvn clean package". The simple goal war will not recompile

Re: Re: Re: Dependency scopes

2006-08-30 Thread ceki
Thanks! "Martijn Dashorst" <[EMAIL PROTECTED]> 30.08.2006 16:17 Please respond to "Maven Users List" To "Maven Users List" cc Subject Re: Re: Re: Dependency scopes Reviewed by Category Yes, but "runtime classpath" != "runtime scope" runtime classpath ==

Re: NullPointerException in maven-eclipse-plugin while executing "mak e-artifacts" goal

2006-08-30 Thread Stéphane Bouchet
Sharma, Jaikumar a écrit : Thanks Stephane, I installed eclipse in a fresh way (only SDK -- no other plugins in IDE), and run "make-artifacts" and it installed all the required artifacts in local repository. I am still not sure why JBoss IDE artifact caused NPE. Thanks again for your help!

[M2] My tests are launched 3 times !

2006-08-30 Thread bdoumas
Hi all, I run a 'mvn clean site install' and my tests are launched 3 times : On for the surefire report plugin, one for the cobertura plugin and one for the install plugin. How can i do to have them launched only once ? Thanks ! Ben ---

Re: Re: Re: Dependency scopes

2006-08-30 Thread Martijn Dashorst
Yes, but "runtime classpath" != "runtime scope" runtime classpath == union(compile, runtime scope) Martijn On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: So, this means that war and ear plug-ins reference the runtime classpath instead of say compile or test. Correct? "Martijn Dashor

Re: Re: Dependency scopes

2006-08-30 Thread ceki
So, this means that war and ear plug-ins reference the runtime classpath instead of say compile or test. Correct? "Martijn Dashorst" <[EMAIL PROTECTED]> wrote on 30.08.2006 15:37:56: > No, but maven is also used to create war, ear and other distribution > packages. These packages need those act

AW: [M2] Problem deploying to filesystem on remote server [SOLVED ]

2006-08-30 Thread Amshoff Christoph, Köln
Eventually, I got it... The solution was to use backslashes (we are on Windows!) instead of slashes. So I now have something like central FJA Internal Repository file:xxx\\yyy\\maven2-server\\target\\repo-local I thought the URL should rather be in an OS independe

CSharp Plugin - Failed to resolve artifact nunit-console

2006-08-30 Thread Patrick Kimber
I am trying to build the CSharp plugin. I have checked the source code out of Subversion and set my path to include csc.exe. When I run the mvn install command the build is successful until I get to the section: [INFO] Building Maven CSharp Exe Sample Then I get the following error: [ERROR] B

Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Douglas Ferguson
I am using some snapshot plugins so it won’t let me release. I can understand not wanting to release because of a dependency on code or library snapshots, but for I don’t have any issues with releasing something that is dependent on a snapshot of a tool, like cargo. Is there a way around

Re: Re: Dependency scopes

2006-08-30 Thread Martijn Dashorst
No, but maven is also used to create war, ear and other distribution packages. These packages need those actual runtime dependencies inside them. So for testing I need junit, but not at runtime -> test scope For testing I may not have a need for oracle-jdbc (using hsqldb for unittests), but at ru

Re: Dependency scopes

2006-08-30 Thread ceki
> On 8/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > The difference between the runtime and test scopes is also not very > > clear to me. "Nick Veys" <[EMAIL PROTECTED]> wrote on 17.08.2006 06:16:40: > This was already answered, but the test dependencies aren't needed for > "normal"

RE: How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ?

2006-08-30 Thread Jörg Schaible
Sharma, Jaikumar wrote on Wednesday, August 30, 2006 1:46 PM: > Thanks Nick, But don't you think that, placing tonns of dependencies / > plugins on every developer machine is not a sound idea ? > Being the fact > that theses depedencies / plugins are alreay available on intranet > repository, why

Re: openoffice-maven-plugin for files in src/site/odf

2006-08-30 Thread Brett Porter
There is one included in the source distribution of Maestro (from http://www.mergere.com/, requires registration). It requires a open office installed and actually fires up a window for it using the OOo java bindings. It's about the ugliest thing I've ever seen (the OOo API is just not very frien

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Eric Redmond
On 8/30/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote: I switched to Maven 2 because I was tired of Ant. When one looks at a good Java project, one can find its way easyly because there are well known architecturing and coding standards. There are no such things with Ant. I remember trying

RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Bram de Kruijff
> Though it seems unusual to refer it as local, it did not > work. I am not sure If took right steps, may be someone else > give some pointers on this ? Define 'did not work'. What seems to go wrong? I think Maven does not know (or care) wether it's a local or mounted disk. So if it doesn't work

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Wim Deblauwe
> I would like this approach very much, but... > have you tried to publish javadocs/jxr/surefire/pmd... etc > for a multimodule project in an aggregated fashion? It's implemented in snapshot version of javadocs/jxr plugins I'm currently still on Maven 1, but I see this also as a Maven 2 pro

Maven Junit Test with Gigaspaces

2006-08-30 Thread mmp
Hi, I'm currently working with Gigaspaces and created some junit-testcases to test the functionality of my data access object. Unfortunately when i'm running those tests with maven the GigaSpaces cannot be found. When I run the tests in eclipse instead, the GigaSpaces can be found. Any idea

Re: How to deploy artifacts and its dependencies into a local proxy/repo?

2006-08-30 Thread Tamás Cservenák
Hi Dave, it seems to me that you have no problem with _DEPLOYING_ to Proximity in general, right? Correct me if i'm wrong. (sigh) I have no experience with IDEA and building it's plugin. I assume this question regards building IDEA plugin in general? ~t~ On 8/30/06, Dave Hoffer <[EMAIL P

Re: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Nick Stolwijk
I don't think that is a problem. Hard disks don't cost that much anymore (My local repository is now around 500 MB). The jars in the repository are all versioned. (as in, Maven2 automagically takes the right one, i.e. a specific version if you define that in your POM or a latest version availab

Re: Re: maven native plugin

2006-08-30 Thread dan tran
It would be great if you can enhance one of IT tests under native-maven-plugin/src/it to include message and resource usages as well. -Dan On 8/30/06, dan tran <[EMAIL PROTECTED]> wrote: On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >It is not hard to allow user to override t

  1   2   >