Re: Maven Cargo to build and deploy Junit Integration Tests

2007-03-28 Thread Kalle Korhonen
http://svn.codehaus.org/trails/trunk/trails/examples/simple/pom.xml Kalle On 3/27/07, raju [EMAIL PROTECTED] wrote: Hi, I need to build and deploy Junit Integration tests to weblogic and run the integration tests.I think cargo plug-in helps one achieve that. A sample pom file to achieve

RE: Using the assembly plugin to package up WARs and ZIPs

2007-03-28 Thread LAMY Olivier
Hi, Add a vote http://jira.codehaus.org/browse/MNG-1683 :-) IMHO, it's a better solution than using the assembly workaround. I can't see any fix version to this. No chance to have this feature one day ? -- Olivier -Message d'origine- De : mraible [mailto:[EMAIL PROTECTED] Envoyé :

Re: Access denied WebDAV repository

2007-03-28 Thread Markus Reil
Hi, artifact browsing works fine. A newly created user cannot do direct webdav browsing although he has the Repository Observer role. In a web browser I have to enter my credentials and I get Access denied every time. With Maven I get the following message: INFO: Already tried to authenticate

Re: What does this [Warning] mean?

2007-03-28 Thread Petar Tahchiev
2007/3/28, Sean Qiu [EMAIL PROTECTED]: [WARNING] Component returned which is not the same manager. Ignored. component= [EMAIL PROTECTED] -- Sean Qiu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

need help to create an integration-test archetype

2007-03-28 Thread nicolas de loof
Hello, I'd like to create an integration-test archetype for my webapps projects. It will use cargo and selenium as explained on matt raible blog and some other blogs/maven wikis. I get an issue as my POM template must include the cargo deployable element to refer to the WAR artifact :

multiple jars from the same source how [NC]

2007-03-28 Thread richard . leotard
Hi I try to make 2 jars from the same sources I do not succeed to add xml file and class file in the same jars. I suceed to put the xml,properties files etc... but not the specific classes How can I do ? Thank you very much for your help my pom.xml is build resources

Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Elid OR
Hi all, My projects use maven 1 and maven 2. I would like to use a proxy tool that allows to configure an unique remote proxy url for both maven 1 2 project. Does anyone knows if proximity or archiva is able to do that ? Cheers, Elid OR

Re: Cvs compression unsupported when using mvn release:prepare on linux.

2007-03-28 Thread Elid OR
You can upgrade the version of your cvs client. My client is on version 1.12.9 and it works. On Monday 12 February 2007 22:49, Ryan, Scott D wrote: We are trying to do a release:prepare using maven 2 and cvs. We are getting the following error message: [INFO] Executing: cvs -z3 -f -d

Re: release:prepare fails agains CVS with unknown compression method

2007-03-28 Thread Elid OR
You can upgrade the version of your cvs client. My client is on version 1.12.9 and it works. On Wednesday 28 March 2007 00:34, Evguenia Krylova wrote: I am having problems accessing CVS from the Maven release plugin. Here's the SCM section of my pom.xml: scm

Eclipse RCP/PDE building and Maven

2007-03-28 Thread Barrie Treloar
I was trawling through the archives to see if there was a better way of building Eclipse RCP plugins via Maven and noticed the following: http://www.nabble.com/forum/ViewPost.jtp?post=3560407framed=yskin=177 (almost a year ago) and

Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread nicolas de loof
I'm using Archiva for the same use case but this requires to apply MRM-153 patch I've suggested. MRM-153 was allready included in oldest archiva builds, but recent changes required me to reopen this issue. No comment yet from archiva developers. 2007/3/28, Elid OR [EMAIL PROTECTED]: Hi all,

Re: need help to create an integration-test archetype

2007-03-28 Thread Raphaël Piéroni
Hi Nicolas 2007/3/28, nicolas de loof [EMAIL PROTECTED]: Hello, I'd like to create an integration-test archetype for my webapps projects. It will use cargo and selenium as explained on matt raible blog and some other blogs/maven wikis. I get an issue as my POM template must include the cargo

AW: AW: Dependency version ignored

2007-03-28 Thread Ecker Severin
Hi Andy, thanks for the answer but this doesn't help in any way. Any other suggestions? Can't I just somehow override previous versions or tell maven to just use the dependencies that I DO declare for the project? After all, the dependency plugin figures out the correct version, why doesn't the

Two Dependency Plugins: Wrong chosen by Maven

2007-03-28 Thread Stefan Hübner
Hi, I've run into a weird issue, while trying to make use of the dependency-plugin's new resulve-feature. If I invoke Maven by mvn dependency:resolve, it complains about no goal resolve found in plugin. Digging into it with -X it becomes clear, that Maven is using a different dependency-plugin

Re: Database Migrations in Maven [Virus checked]

2007-03-28 Thread Mark Derricutt
For whats it worth, I've posted my migrator to: http://code.google.com/p/dbng/ If anyone wants to take a look - a quick intro wiki page is at: http://code.google.com/p/dbng/wiki/IntroductionToDatabaseNG mark On 3/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: maybe

jboss-sar-maven-plugin and jboss-packaging-maven-plugin: which one?

2007-03-28 Thread Graham Leggett
Hi all, I am try to build a Jboss sar archive, and have encountered two plugins to do this, the first at http://mojo.codehaus.org/jboss-packaging-maven-plugin/, the second at http://mojo.codehaus.org/jboss-sar-maven-plugin/. Which plugin is the preferred method of doing this? Are they both

jboss-packaging-maven-plugin: Incorrect issue tracking details listed

2007-03-28 Thread Graham Leggett
Hi all, According to the autogenerated docs for jboss-packaging-maven-plugin at http://mojo.codehaus.org/jboss-packaging-maven-plugin/issue-tracking.html, the URL of the issue tracking for this plugin is listed as follows: http://jira.codehaus.org/browse/MOJO The jboss-packaging-maven-plugin is

Re: jboss-sar-maven-plugin and jboss-packaging-maven-plugin: which one?

2007-03-28 Thread Emmanuel Venisse
Graham Leggett a écrit : Hi all, I am try to build a Jboss sar archive, and have encountered two plugins to do this, the first at http://mojo.codehaus.org/jboss-packaging-maven-plugin/, the second at http://mojo.codehaus.org/jboss-sar-maven-plugin/. jboss-sar-maven-plugin doesn't exist now

Re: jboss-packaging-maven-plugin: Incorrect issue tracking details listed

2007-03-28 Thread Emmanuel Venisse
Graham Leggett a écrit : Hi all, According to the autogenerated docs for jboss-packaging-maven-plugin at http://mojo.codehaus.org/jboss-packaging-maven-plugin/issue-tracking.html, the URL of the issue tracking for this plugin is listed as follows: http://jira.codehaus.org/browse/MOJO The

jboss-packaging-maven-plugin: Cannot find lifecycle mapping for packaging: 'jboss-sar'

2007-03-28 Thread Graham Leggett
Hi all, According to the docs at http://mojo.codehaus.org/jboss-packaging-maven-plugin/howto.html: JBoss packaging may also be integrated into the default maven packaging phase by setting the lt;packaginggt; element as follows Setting the packaging element to jboss-sar results in the following

Re: AW: AW: Dependency version ignored

2007-03-28 Thread Andrew Williams
use mvn -X which will show you why the dependency is being overridden. Andy On 28 Mar 2007, at 09:54, Ecker Severin wrote: Hi Andy, thanks for the answer but this doesn't help in any way. Any other suggestions? Can't I just somehow override previous versions or tell maven to just use the

Re: jboss-packaging-maven-plugin: Cannot find lifecycle mapping for packaging: 'jboss-sar'

2007-03-28 Thread Emmanuel Venisse
project [...] packagingjboss-sar/packaging [...] build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjboss-packaging-maven-plugin/artifactId version2.0-SNAPSHOT/version extensionstrue/extensions configuration excludes

Re: Two Dependency Plugins: Wrong chosen by Maven

2007-03-28 Thread Maria Odea Ching
Hi Stefan, Maybe your dependency plugin metadata file (in local repo) isn't updated? You could try installing the 2.0-alpha-4 version again with -DupdateReleaseInfo=true.. Hope this helps! :) Thanks, Deng Stefan Hübner wrote: Hi, I've run into a weird issue, while trying to make use of

Re: Eclipse RCP/PDE building and Maven

2007-03-28 Thread Tom Huybrechts
it's almost undocumented, and there are bugs, but this works for me: https://svn.codehaus.org/m2eclipse/tycho/trunk/ Tom On 3/28/07, Barrie Treloar [EMAIL PROTECTED] wrote: I was trawling through the archives to see if there was a better way of building Eclipse RCP plugins via Maven and

Repository 'central' will be blacklisted

2007-03-28 Thread Graham Leggett
Hi all, While trying to run mvn -e install, I am getting the following warning: [WARNING] repository metadata for: 'snapshot org.codehaus.mojo:jboss-packaging-maven-plugin:2.0-SNAPSHOT' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository

Re: jboss-packaging-maven-plugin: Cannot find lifecycle mapping for packaging: 'jboss-sar'

2007-03-28 Thread Graham Leggett
On Wed, March 28, 2007 12:23 pm, Emmanuel Venisse wrote: project [...] packagingjboss-sar/packaging [...] build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjboss-packaging-maven-plugin/artifactId

Re: jboss-packaging-maven-plugin: Cannot find lifecycle mapping for packaging: 'jboss-sar'

2007-03-28 Thread Emmanuel Venisse
Graham Leggett a écrit : On Wed, March 28, 2007 12:23 pm, Emmanuel Venisse wrote: project [...] packagingjboss-sar/packaging [...] build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjboss-packaging-maven-plugin/artifactId

Re: Repository 'central' will be blacklisted

2007-03-28 Thread Maria Odea Ching
Hi Graham, Usually the cause for this error is connection timeout. I see that you've already filed a jira for this, thanks :) -Deng Graham Leggett wrote: Hi all, While trying to run mvn -e install, I am getting the following warning: [WARNING] repository metadata for: 'snapshot

Re: Two Dependency Plugins: Wrong chosen by Maven

2007-03-28 Thread Stefan Hübner
2007/3/28, Maria Odea Ching [EMAIL PROTECTED]: Hi Stefan, Maybe your dependency plugin metadata file (in local repo) isn't updated? You could try installing the 2.0-alpha-4 version again with -DupdateReleaseInfo=true.. I couldn't get a clue of that updateReleaseInfo-option you mentioned,

Forcing maven to download sources

2007-03-28 Thread Wojtek Ciesielski
Hi there, How can I change pom.xml of my project to cause Maven to automatically download sources for a particular dependency my project's using? I need to setup a source-attachment for this library within eclipse (no, I am not using maven plugin and don't intend to do so) in such a way that

RE: Two Dependency Plugins: Wrong chosen by Maven

2007-03-28 Thread Brian E. Fox
The org/codehaus/mojo/metadata needs to be cleared in your local repository to permanently fix this. Apparently the search order in maven is backwards, if it finds a similar prefix in mojo, it will use that over apache. -Original Message- From: Stefan Hübner [mailto:[EMAIL PROTECTED]

Could not find descriptor files: jboss-service.xml

2007-03-28 Thread Graham Leggett
Hi all, While trying to build a jboss-sar archive, I am getting the following error: [INFO] [jboss-packaging:sar] [INFO] Exploding JBoss packaging... [INFO] Assembling JBoss packaging alchemy-alchemy-initializer in

Dbunit in maven gives compile error during test????

2007-03-28 Thread Rolf Strijdhorst
Hi during the test phase of my project I get this error in maven2 using testng java.lang.Error: Unresolved compilation problems: The import org.dbunit cannot be resolved DefaultDataTypeFactory cannot be resolved to a type DataType cannot be resolved to a type DataTypeException cannot

[ANN] Maven Dependency Plugin 2.0-alpha-4 Released

2007-03-28 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Dependency Plugin, version 2.0-alpha-4 http://maven.apache.org/plugins/maven-dependency-plugin/ The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote

Re: Could not find descriptor files: jboss-service.xml

2007-03-28 Thread Emmanuel Venisse
Can you move jboss-packaging discussion to the MOJO list? It is the right place for MOJO plugins discussion. Emmanuel Graham Leggett a écrit : Hi all, While trying to build a jboss-sar archive, I am getting the following error: [INFO] [jboss-packaging:sar] [INFO] Exploding JBoss

package.html not included in my archetype

2007-03-28 Thread nicolas de loof
Hello I'm preparing a custom archetype and I'd like src/main/java to contain a package.html file. I've created one, it is copied in target/classes, but not included in the archetype JAR. What's wrong ?

Re: Two Dependency Plugins: Wrong chosen by Maven

2007-03-28 Thread Stefan Hübner
2007/3/28, Brian E. Fox [EMAIL PROTECTED]: The org/codehaus/mojo/metadata needs to be cleared in your local repository to permanently fix this. Apparently the search order in maven is backwards, if it finds a similar prefix in mojo, it will use that over apache. You're right, thats necessary

Re: [solved] package.html not included in my archetype

2007-03-28 Thread nicolas de loof
Solved : according to list archive, the jar plugin excludes any package.html(not configurable). Using overview.html solves this for me. 2007/3/28, nicolas de loof [EMAIL PROTECTED]: Hello I'm preparing a custom archetype and I'd like src/main/java to contain a package.html file. I've created

Re: Maven Cargo to build and deploy Junit Integration Tests

2007-03-28 Thread raju
Hi Kalle, Thanks for the link.I have some doubts: Does cargo plug-ins actually run or has ability to run the integration tests or it just starts the servers,deploys the war containing the tests? Sorry if the question sounded out of context. I am asking the above question because i was

Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Elid OR
Have you successfuly used maven archiva on maven 1 project ? I got an errors : java.io.IOException: Forbidden I don't know where I can configure user acces in maven 1 project. On Wednesday 28 March 2007 10:37, nicolas de loof wrote: I'm using Archiva for the same use case but this requires to

RE: Forcing maven to download sources

2007-03-28 Thread Brian E. Fox
You can use the maven-dependency-plugin:sources goal. -Original Message- From: Wojtek Ciesielski [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 8:12 AM To: users@maven.apache.org Subject: Forcing maven to download sources Hi there, How can I change pom.xml of my project to

New JIRA Project for Ant Tasks

2007-03-28 Thread Jason van Zyl
Hi, I'm planning on releasing the Ant Tasks after the release of 2.0.6 so if you have any issues please look here: http://jira.codehaus.org/browse/MANTTASKS I've moved all the issues from MNG to MANTTASKS and if there's anything folks really want I will schedule a couple things for

Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Arnaud HERITIER
in archiva, you have to add the access to your repositories for the user guest Arnaud On 28/03/07, Elid OR [EMAIL PROTECTED] wrote: Have you successfuly used maven archiva on maven 1 project ? I got an errors : java.io.IOException: Forbidden I don't know where I can configure user acces in

Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Elid OR
I have added access in the user managment section of the archiva console and restart but still the same error in my maven 1 project. On Wednesday 28 March 2007 15:30, Arnaud HERITIER wrote: in archiva, you have to add the access to your repositories for the user guest Arnaud On 28/03/07,

usage of maven-dependency-plugin

2007-03-28 Thread Lewandowski, Eric
Hi, I want to analyze my project dependencies with maven-dependency-plugin. In my pom.xml, i put this entry to the project/build/plugins entry : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId version2.0-alpha-4/version /plugin The resolution

Re: Maven Cargo to build and deploy Junit Integration Tests

2007-03-28 Thread Napoleon Esmundo Ramirez
Hello Raju, The cargo-maven2-plugin has the ability to start and stop the container, and it can also deploy the war to the container. This enables you to achieve in-container testing using junit. The sample pom.xml Kalle provided us shows that the cargo plugin starts the container at the

Re: usage of maven-dependency-plugin

2007-03-28 Thread Napoleon Esmundo Ramirez
Hello Eric, I can't replicate your issue, maybe you can provide us with more information by telling us what version of maven you are using, and probably your pom.xmland some console output. :) According to http://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html, the analyze

can maven site skip the process of generating the javadoc

2007-03-28 Thread Sean Qiu
Hi, all i want get the test result but the process of generating javadoc is time-consuming. thanks guys -- Sean Qiu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dbunit in maven gives compile error during test????

2007-03-28 Thread Napoleon Esmundo Ramirez
Hello Rolf, i think it's still a classpath problem. Have you put the necessary dependencies in your pom? AFAIK, eclipse does things separately that's why you have the classes compiled already in your workspace. Try cleaning your workspace, then do a `mvn clean test' in the command line to see

RE: usage of maven-dependency-plugin

2007-03-28 Thread Lewandowski, Eric
Hi Napelon ! Thanks for your answer. Here's my configuration : maven 2.0.4 running under jre 1.5.0_10-b03 os : ubuntu 6-10 Here's some samples of console output ; 1- mvn with no traces mvn dependency:analyze [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix:

Re: usage of maven-dependency-plugin

2007-03-28 Thread Stefan Hübner
Alexander, could you please invoke mvn dependency:analyze with options -X -e? Is Maven really using the apache-version of the plugin or the codehaus-version? Another way to figure out, which plugin Maven is using is to invoke mvn help:describe -Dplugin=dependency Cheers, Stefan 2007/3/28,

NullPointerException when junit dependency missing

2007-03-28 Thread Bruno Filipe Basilio
Hi, I've catched a NullPointerException error message without any explicit information about the cause of the error. This error happened because the JUnit dependency in the POM descriptor was missing by mistake. Since the JUnit dependency is required by default shouldn't the error be

RE: usage of maven-dependency-plugin

2007-03-28 Thread Brian E. Fox
Clear org/codehaus/mojo from your local repo and this will fix the problem. If you have old metadata in there, it will try and find the mojo one. We really need to fix this in 2.0.x -Original Message- From: Lewandowski, Eric [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 9:49

Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread nicolas de loof
Works for me, with user guest granted to role repository observer. 2007/3/28, Elid OR [EMAIL PROTECTED]: Have you successfuly used maven archiva on maven 1 project ? I got an errors : java.io.IOException: Forbidden I don't know where I can configure user acces in maven 1 project. On

Re: Maven Cargo to build and deploy Junit Integration Tests

2007-03-28 Thread raju
Hi Napolean, Thanks for the detailed reply and the additional links.It is a lot clearer to me now. I was able to run integration-phase(without using cargo for it) with clover. But i have some related queries: Will i be still be able to use clover reports with cargo for in-container testing to

Re: can maven site skip the process of generating the javadoc

2007-03-28 Thread David J. M. Karlsen
Sean Qiu wrote: Hi, all i want get the test result but the process of generating javadoc is time-consuming. I stuff it into a profile triggered by the property performRelease -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com

Re: can maven site skip the process of generating the javadoc

2007-03-28 Thread Sean Qiu
Sorry. I am a fresh man. Can you show me the detail? thanks very much 2007/3/28, David J. M. Karlsen [EMAIL PROTECTED]: Sean Qiu wrote: Hi, all i want get the test result but the process of generating javadoc is time-consuming. I stuff it into a profile triggered by the property

Re: NullPointerException when junit dependency missing

2007-03-28 Thread Brad Szabo
This issue is in JIRA at http://jira.codehaus.org/browse/SUREFIRE-300 -Brad On Wed, 2007-03-28 at 15:19 +0100, Bruno Filipe Basilio wrote: Hi, I've catched a NullPointerException error message without any explicit information about the cause of the error. This error happened

Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Elid OR
Ok so I will work on it. Another question, what is the remote repository url you use for both projects ? You are using the same url for both maven 1 and maven 2 projects ? If so what type of managed repository have you set up on archiva because you have to define if you want to configure a

Artifact Antlib profile support for dependencies

2007-03-28 Thread M Wurm
Hello, I am using the Maven Artifact Antlib to use project dependencies specified in a pom.xml. Now I'm struggling with a project the needs different dependencies for jre14 and jre15, hence I specify additional jre14 dependencies in a profile that is triggered on property jre1.4.2: profile

RE: usage of maven-dependency-plugin

2007-03-28 Thread Lewandowski, Eric
Stefan, Thanks for for your help ! when executing mvn help:describe -Dplugin=dependency, I saw that Maven use the CodeHaus plugin : [INFO] [help:describe] [INFO] Plugin: 'org.codehaus.mojo:dependency-maven-plugin:1.0' --- Group Id: org.codehaus.mojo

AW: Dependency version ignored

2007-03-28 Thread Ecker Severin
Hi, I've tried to use exclusions on every dependency I had, no success. I've run my build with -X which told me that basically dozens of indirectly included dependencies (mostly axis and the like) use junit 3.8.1. I doubt that bloating my pom file with all possible dependencies on the build

RE: Dependency version ignored

2007-03-28 Thread Jörg Schaible
Try to add a depednencyManagement section to your POM where you define the proper version *and* declare the dep additionally in your list of dependencies. Ecker Severin wrote on Wednesday, March 28, 2007 5:09 PM: Hi, I've tried to use exclusions on every dependency I had, no success. I've

RE: usage of maven-dependency-plugin

2007-03-28 Thread Lewandowski, Eric
Thanks for your answer Brian ! I think your found the problem. I can clear org/codehaus/mojo from my local but this not solves the problem because the plugin is downloaded from the internal repository of my company which must have the same problem thant my local repository. I will see how to

Problem with deploy task with maven 2.0.5 (works fine on 2.0.4)

2007-03-28 Thread Denis Kranjčec
Hi I have downloaded maven 2.0.5, configured it same way as 2.0.4. When I try to deploy my application maven fails with: [INFO] [deploy:deploy] altDeploymentRepository = null [INFO] Retrieving previous build number from deploymentRepo [WARNING] repository metadata for: 'snapshot

AW: Dependency version ignored

2007-03-28 Thread Ecker Severin
Unfortunately no change at all. Junit4 still won't be used for compilation in the first run //this fails mvn clean test //all of these work mvn clean compile mvn compile test mvn clean compile mvn compiler:testCompile mvn clean compile mvn test cheers, severin -Ursprüngliche

Access to servers in settings.xml

2007-03-28 Thread Ben Tatham
I know that it is possible to refer to the properties in the settings.xml with ${setting.X}. Is it also possible to refer to the server username and passwords? I have tried ${settings.servers.ID.username} and ${settings.ID.username} and nothing works. Thanks, Ben

Howto link with unpublished jars

2007-03-28 Thread Eric Daigneault
Hi, I just started out with Maven, tho I am fairly famliar with ant and I have been looking at Maven for a while now I never had time to really get my hands dirty. Anyhow the problem I have is as follows. I have a project that uses a jar (for which I do not have source code, just jar, docs

RE: usage of maven-dependency-plugin

2007-03-28 Thread Brian E. Fox
Hi Eric, I think you've found it now. The metadata was cleaned up on mojo back when we did 2.0-alpha-1 (the first apache release since the move from mojo) but it could be cached around. -Original Message- From: Lewandowski, Eric [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007

Excluding system scoped dependencies for site generation?

2007-03-28 Thread Jim Bethancourt
Hi all, I've got some system scoped dependencies that I'm using in my project, which works fine for the default and clean lifecycles, but it falls apart when I do a mvn site. Is there any way to have the site generation ignore these jars and have maven move on with the site generation, or ignore

Re: Excluding system scoped dependencies for site generation?

2007-03-28 Thread Jim Bethancourt
Sorry for not looking harder -- found my answer at http://maven.apache.org/plugins/maven-project-info-reports-plugin/examples/selective-project-info-reports.html Thanks, Jim On 3/28/07, Jim Bethancourt [EMAIL PROTECTED] wrote: Hi all, I've got some system scoped dependencies that I'm using in

Re: Howto link with unpublished jars

2007-03-28 Thread Wayne Fay
You essentially have two options: 1. Install the jar in your repo using mvn install:install-file This is the suggested route to take. 2. Declare the dependency using scopesystem/scope and provide the path to the dependency in your project (ie /lib/my.jar). For various reasons, this is not

Re: Using the assembly plugin to package up WARs and ZIPs

2007-03-28 Thread mraible
I've managed to get my WARs and ZIPs into the same release ZIP using the following assembly descriptor. However, I'd like to combine the two zips into a single zip. Is this possible with the maven-assembly-plugin or do I need to resort to Ant for that? assembly idbin/id formats

Re: HowTo avoid version number from filenames

2007-03-28 Thread Marcos Silva Pereira
You could use final name build property: ... build finalName${artifactId}/finalName /build ... HTH -- Marcos Silva Pereira recife - pe [EMAIL PROTECTED] skype: marcos.silva.pereira http://blastemica.blogspot.com

Re: Pass params from command line to Junit test

2007-03-28 Thread lanchez
Thanks. I want to pass it on the command line and have setUp fetch it. Do you have an example of this? thanks L Tony Ambrozie wrote: You may want to have a look at maven-surefire-plugin: http://maven.apache.org/plugins/maven-surefire-plugin/index.html You can also pass the desired

Re: Using the assembly plugin to package up WARs and ZIPs

2007-03-28 Thread John Casey
Rather than creating static zips in each module directory, why not use a fileSet to refer to the module subdirs that contain the static content, and create the single static zip from the top level? Then, if you want that static content in a zip that's in addition to the war and jar files in your

Re: Using the assembly plugin to package up WARs and ZIPs

2007-03-28 Thread mraible
Are you saying I should have two assemblies; one that creates a zip from the static content and one that takes the output from that and bundles it with the WARs? That sounds reasonable. I'm still wondering how I can attach the zip to a WAR when it's installed with another WAR. Is that

Powered by M2 - is it possible to add to the list?

2007-03-28 Thread mraible
Is it possible to add Equinox (used in Maestro) and AppFuse to the Powered by M2 list? http://maven.apache.org/powered-by-m2.html Thanks! Matt -- View this message in context: http://www.nabble.com/Powered-by-M2---is-it-possible-to-add-to-the-list--tf3482768s177.html#a9721921 Sent from the

Newbie: site:deploy fails (Reason: Auth fail)

2007-03-28 Thread Ingo Burth
Hy all, recently I installed maven and continuum on our build-server to-be. SFSG, but I'm able to build the site but site:deploy fails. What strikes me most as I can't see any trace of maven connecting (well besides the Embedded error part). I tried -e-X which didn't add much to my

Re: Using the assembly plugin to package up WARs and ZIPs

2007-03-28 Thread John Casey
On 3/28/07, mraible [EMAIL PROTECTED] wrote: Are you saying I should have two assemblies; one that creates a zip from the static content and one that takes the output from that and bundles it with the WARs? That sounds reasonable. I'm still wondering how I can attach the zip to a WAR when

Re: [m2][maven-dependency-plugin] unpack-dependencies issue

2007-03-28 Thread Adrian Herscu
Hi Brian, Thanks for your suggestion! I have changed the includeGroupIds clause to be more specific and now it builds correctly from the parent and this solved my problem. However, there is still something wrong, because with the previous configuration, the child was successfully built when

Re: Powered by M2 - is it possible to add to the list?

2007-03-28 Thread John Casey
Is it the same thing to reference the Equinox page on dev.java.net, or is there a Mergere URL we can add? Does anyone know? BTW, I've added http://appfuse.org to the list. -john On 3/28/07, mraible [EMAIL PROTECTED] wrote: Is it possible to add Equinox (used in Maestro) and AppFuse to the

Re: can maven site skip the process of generating the javadoc

2007-03-28 Thread Nick Stolwijk
If you only want the surefire reports generated, you might try: mvn surefire-report:report. See [1] for all the default plugins and reports and [2] for the surefire-report. Hth, Nick Stolwijk [1] http://maven.apache.org/plugins/index.html [2]

Copy zip file (not artifact) to a specified directory

2007-03-28 Thread mbernardinis
Hi, I have configured the package goal/target to construct a zip file to be built from the modules compiled jar file and a few other files contained within the maven project. Once this has successfully been packaged by calling mvn package I have to manually copy over the constructed zip file to

Re: Powered by M2 - is it possible to add to the list?

2007-03-28 Thread mraible
Using http://equinox.dev.java.net is probably best for now. If you'd like, you can use AppFuse Light for the name. We're changing the name because of the conflict with the Eclipse project. Matt John Casey wrote: Is it the same thing to reference the Equinox page on dev.java.net, or is

[DEBUG] Skipping disabled repository

2007-03-28 Thread Farrukh S. Najmi
Dear Colleagues, I am a maven newbie and am very impressed with it. I have been trying to set up an m2 repo as a shared repo for my open source project at: http://ebxmlrr.sourceforge.net/maven2/repository/ The reason I am doing so is to have it serve some jars that are currently not

RE: [DEBUG] Skipping disabled repository

2007-03-28 Thread Phill Moran
I can help you with part. I would like to say I am not a newbie but that would be lying. Here is how to install jars with a generated POM and checksums (MD5). This assumes you have MD5 available http://maven.apache.org/general.html#importing-jars mvn install:install-file -Dfile=path-to-file

Re: [DEBUG] Skipping disabled repository

2007-03-28 Thread Farrukh S. Najmi
Hi Phil, You helped me with the most important part (sorry for not reading the manual page). I used the following additional options: -DgeneratePom=true -DcreateChecksums=true and now the pom and md5 were generated and when I scp ed the new structure over from local to shared repo all became

RE: usage of maven-dependency-plugin

2007-03-28 Thread Lewandowski, Eric
Hi Brian, Yes, the problem is solved after cleaning all repositories. Thanks a lot for all your help ! Eric -Message d'origine- De : Brian E. Fox [mailto:[EMAIL PROTECTED] Envoyé : mercredi 28 mars 2007 12:53 À : Maven Users List Objet : RE: usage of maven-dependency-plugin Hi Eric,

Re: [DEBUG] Skipping disabled repository

2007-03-28 Thread Farrukh S. Najmi
Sorry I spoke too soon. I had forgotten to remove the modules installed in my local ~/.m2/repository and that is why things worked. Once I remove those, again I was unable to find the entries in the remote team repo. So I am still not sure why by remote repo is disabled and what I need to do to

RE: [DEBUG] Skipping disabled repository

2007-03-28 Thread Phill Moran
My next thought would be to look at your setting.xml and ensure you have the right config/access. Also can you post the actual message reported by maven when trying -Original Message- From: Farrukh S. Najmi [mailto:[EMAIL PROTECTED] Sent: March 28, 2007 10:36 PM To: Maven Users List

Surefire question

2007-03-28 Thread lanchez
How do I pass a param (string) from the mvn command line to my test and get the value of the passed string? like how do I do something like this: mvn -Dvideo=island -Dtest=VideoTest clean test and in the class VideoTest.java extract the value of video (which is island)? If there are any

Re: Howto link with unpublished jars

2007-03-28 Thread Subhash Chandran
To expand the first point of Wayne, go here: http://maven.apache.org/general.html#importing-jars Probably the second point needs to be updated in this FAQ entry. Subhash. On 3/29/07, Wayne Fay [EMAIL PROTECTED] wrote: You essentially have two options: 1. Install the jar in your repo using

Re: Howto link with unpublished jars

2007-03-28 Thread Wayne Fay
Arguably, the second point is already handled on the same page (though its perhaps not obvious): http://maven.apache.org/general.html#tools-jar-dependency This is also discussed in detail on the Introduction to the Dependency Mechanism page:

Re: Default location of config files - Maven Standard Directroy Layo ut?

2007-03-28 Thread Martin Hoeller
Hi! Sorry for the late reply. On 26-03-2007 11:15 Doyle D.G. (Duncan) worte: Furthermore, where should one put configuration files which are needed for testing? There is no 'src/test/config' listed in the Maven Standard Directory Layout. Put it in src/test/resources. hth, - martin --

passing continuum directories to maven build as parameters

2007-03-28 Thread Martin M
Hi, I would like to know, whether it's possible to pass some information of conmtinuum to my build as command-line parameters. So, are there variables, e.g. continuum.build.directory, etc. available? Regards, Martin -- View this message in context: