Re: How do I run scp optional task from inside maven 2 ?

2007-02-15 Thread Maruf Aytekin
Thanks Wayne, It worked. I have been trying with jsch instead of ant-jsch. Maruf Wayne Fay wrote: Add this to the bottom of your plugin node: /executions dependencies dependency groupIdant/groupId artifactIdant-optional/artifactId

tomcat-maven-plugin remote deploy

2007-02-15 Thread jelle.volckaert
Hi, I'm using the sandbox Tomcat Maven Plugin 1.0-SNAPSHOT. I have some questions concerning the deployment of a war file. I have a directory where, from time to time, new Builds are stored. The dir looks like: DIR | Build_001_Dir |

mvn:release using svnkit?

2007-02-15 Thread Mark Derricutt
Hi there, In my continuing experimentation with maven I was just checking out the release plugin and how it worked but got hit with 'svn' is not recognised as an internal or external command on my windows laptop. I have no subversion installed as every application I'm using (hudson, idea etc.)

Mavan2 simple program not working.

2007-02-15 Thread Rajmahendra
hi all i am using JDK 1.5 and Maven 2.0.4 I have written a simple program but its not working pom.xml project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

Re: Mavan2 simple program not working.

2007-02-15 Thread Patrick Kimber
Hi Raj I don't think you need the maven.xml file. Try running mvn package This should compile your program and build a jar file which will be placed into the target folder. Let me know if it works. Patrick On 15/02/07, Rajmahendra [EMAIL PROTECTED] wrote: hi all i am using JDK 1.5 and

Re: Mavan2 simple program not working.

2007-02-15 Thread Stephane Nicoll
There's no maven.xml in maven2, this is maven1 specific. You should take some time to read the mini guides on the maven web site first. Are you behind a firewall? It sounds like maven can't access the repository. Stéphane On 2/15/07, Rajmahendra [EMAIL PROTECTED] wrote: hi all i am using JDK

Excluding attribute for eclipse maven 2 plugin

2007-02-15 Thread Wilko.kempa
Hi we are using the maven 2 eclipse plugin with eclipse:eclipse to create our eclipse project files. Unfortunately there seems to be no way to create a classpath entry with an excluding attribute. This would be very helpful to exclude .svn files form source path. Has anybody an idea on how to

Re: How to deploy sources and javadocs?

2007-02-15 Thread Stephen Duncan
Check out the following post: http://www.nabble.com/How-to-upload-3rd-party-source-jars-to-external-repository-tf2594844.html#a7240886 -Stephen On 2/14/07, Dave Hoffer [EMAIL PROTECTED] wrote: What I meant was is there a way to use deploy:deploy-file [with all the parameters] to handle source

Re: [m2] Mavan2 simple program not working.

2007-02-15 Thread franz see
Good day to you, Raj, Aside from the maven.xml that's already been mentionedtry running with -cpu to check for plugin updates (i.e. mvn clean install -cpu ). Cheers, Franz Rajmahendra wrote: hi all i am using JDK 1.5 and Maven 2.0.4 I have written a simple program but its not

Re: [m2] Excluding attribute for eclipse maven 2 plugin

2007-02-15 Thread franz see
Good day to you, Wilko, I don't think that's supported. You may want to file a jira issue for that in [1]. Cheers, Franz [1] http://jira.codehaus.org/browse/MECLIPSE Wilko.kempa wrote: Hi we are using the maven 2 eclipse plugin with eclipse:eclipse to create our eclipse project files.

RE: How to deploy sources and javadocs?

2007-02-15 Thread Dave Hoffer
Thanks much! That works great! It amazes me that things like this are un-documented on the plug-in web site. This seems like basic plug-in behavior, why not tell people that it exists? -dh -Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] Sent: Thursday, February

maven-ear-plugin 2.3 version unwanted behavior with ejb-client dependencies

2007-02-15 Thread Markku Saarela
Hi, With new maven-ear-plugin 2.3 version i get unwanted java modules is application.xml. We have module structure where ejb module has another ejb module as ejb-client dependent. Now with this 2.3 version this dependents ejb-client dependent shows up is application.xml. If i exclude this

Download Sources

2007-02-15 Thread gc134728
Hey dear maven users, I got a question. I have one person in our team that updates the pom.xml and creates the .classpath files namely MYSELF. But i attach sources to our own project artifacts but i want the other members of our team to get the attached sources when they download dependencies

Issue with sub-dependency being wrong

2007-02-15 Thread Robert Cole
Hi all, I've got a problem that's brought our Maven adoption to a standstill. We've included a dependency in our POM that, as usual, is causing a load of other JARs and so on to be brought in. So far so good. Unfortunately, one of the files is dependent on something which doesn't appear to

AW: [m2] Excluding attribute for eclipse maven 2 plugin

2007-02-15 Thread Wilko.kempa
Done - please see http://jira.codehaus.org/browse/MECLIPSE-232 Wilko -Ursprüngliche Nachricht- Von: franz see [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. Februar 2007 13:00 An: users@maven.apache.org Betreff: Re: [m2] Excluding attribute for eclipse maven 2 plugin Good day to

Re: Download Sources

2007-02-15 Thread nicolas de loof
eclipse:eclipse can handle dependencies with other eclipse projects if it is ran from the top-level project. It will create .classpath .project files for all modules and respect inter-projects dependencies (see

Re: how to run a program build with maven

2007-02-15 Thread Jerome Lacoste
On 2/13/07, Patrick Kimber [EMAIL PROTECTED] wrote: Hi Ute You can use the Maven 2 Exec plugin... http://mojo.codehaus.org/exec-maven-plugin/ Although there is a bug which will prevent you passing parameters to the application. Patrick can you say more about the mexec bug ? Maybe an

Problems with multiple executions of the same plugin at the same life cycle phase in a multi-module profile

2007-02-15 Thread maik . ebert
I used the new Maven 2.0.5 release to verify that the following bug still exists: I have multiple executions of the same plugin at the same life cycle phase in a multi-module parent POM. I need to extract these plugin executions to a profile in this parent POM. Now the executions are not

Re: mvn:release using svnkit?

2007-02-15 Thread Dan Tran
historically, maven scm started to develop pure java provider based on svnkit. However svnkit also now has a new license scheme that no longer compatible with apache, and therefor the effort stopped. http://svnkit.com/licensing/index.html There is also effort to branch off svnkit but i dont

Re: Download Sources

2007-02-15 Thread gc134728
I know but it's not all project that are set to interproject dependencies which causes a problem. It's also the mapping of generated foldes as source folder in eclipse. I'm trying to limit the knowledge people need about maven internals just operational knowledge is required. We split up the

Re: Download Sources

2007-02-15 Thread Tom Huybrechts
http://maven.apache.org/plugins/maven-dependency-plugin/sources-mojo.html On 2/15/07, gc134728 [EMAIL PROTECTED] wrote: I know but it's not all project that are set to interproject dependencies which causes a problem. It's also the mapping of generated foldes as source folder in eclipse. I'm

Re: Download Sources

2007-02-15 Thread nicolas de loof
I also try to limit maven knoledge requirement in my development team. We only use [svn checkout] + [mvn eclipse:eclipse] + [import existing projects into wrokspace]. This is the only thing required by developpers to get the project configured in eclipse. They code/test in eclipse and package all

maven2 websphere plugin

2007-02-15 Thread florian.cavagnini
Hello Is there a maven2 webpshere plugin ? thanks - ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are

mvn jetty:run problem with classloader

2007-02-15 Thread Pete
I'm using 'mvn jetty:run', and trying to get it to work with rapid application development where the application has the following structure :- myproject-core (jar) myproject-weblib (jar) myproject-web (war) - mvn jetty:run from here Jetty starts ok, and the application works fine at

RE: maven-ear-plugin 2.3 version unwanted behavior with ejb-client dependencies

2007-02-15 Thread Janecek Jan
Hi, Let ejb plugin generate client ejb jar. Then use dependency on this client jar (with type jar and classifier client) instead of the dependency on the server ejb jar (which has type ejb). This works fine. Regards, Jan -Original Message- From: Markku Saarela [mailto:[EMAIL PROTECTED]

Re: how to run a program build with maven

2007-02-15 Thread Patrick Kimber
Hi Jerome The JIRA issue ID is: http://jira.codehaus.org/browse/MEXEC-5 Patrick On 15/02/07, Jerome Lacoste [EMAIL PROTECTED] wrote: On 2/13/07, Patrick Kimber [EMAIL PROTECTED] wrote: Hi Ute You can use the Maven 2 Exec plugin... http://mojo.codehaus.org/exec-maven-plugin/ Although

Re: maven-ear-plugin 2.3 version unwanted behavior with ejb-client dependencies

2007-02-15 Thread Stephane Nicoll
Fixed in 2.3.1, about to be released. Stéphane On 2/15/07, Markku Saarela [EMAIL PROTECTED] wrote: Hi, With new maven-ear-plugin 2.3 version i get unwanted java modules is application.xml. We have module structure where ejb module has another ejb module as ejb-client dependent. Now with this

RE: [m2] Integration-test target runs integration tests twice...

2007-02-15 Thread EJ Ciramella
To me these look the same, can you point out where I went wrong? -Original Message- From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 2:47 PM To: 'Maven Users List' Subject: RE: [m2] Integration-test target runs integration tests twice... Sorry, I

Re: Issue with sub-dependency being wrong

2007-02-15 Thread Robert Cole
Just a bit of an update, I've tidied up my repository and tried again. I can now see that its managing to download the POM but its then trying to download a JAR file that doesn't exist in the repository (i've checked on a couple of repositories and there's a pom.xml but no .jar file)

Re: Issue with sub-dependency being wrong

2007-02-15 Thread Robert Cole
Final update! I've tracked the problem down to Maven ignoring the packaging tag in the pom xml. For example in maven-plugins-8.pom we have : packagingpom/packaging Yet my Maven instance (it was 2.0.4 but I've just tried it with 2.0.5) is still trying to download a file called

Re: Download Sources

2007-02-15 Thread gc134728
Hmm i didn't know that it could also map generated-sources as source folders. This could come in handy. But that still won't handle all my problems. I also have to refer to a couple of projects (on different scm systems) that aren't maven projects. Maven would depend on a deployed binary version

Re: Download Sources

2007-02-15 Thread Tomislav Stojcevich
You shouldn't need to configure anything in the pom, just do mvn dependency:sources - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Download Sources

2007-02-15 Thread Donnchadh Ó Donnabháin
Running mvn dependency:sources results in the following error for me [ERROR] BUILD FAILURE [INFO] [INFO] Required goal not found: dependency:sources Donnchadh On 2/15/07, Tomislav Stojcevich [EMAIL PROTECTED] wrote:

RE: [m2] Integration-test target runs integration tests twice...

2007-02-15 Thread Bashar Abdul Jawad
They are not the same, try making this change to your profile section: profiles profile iditest-blah/id activation property namerewardEngine.iTest/name /property /activation build plugins plugin groupIdorg.apache.maven.plugins/groupId

RE: Maven 2.0.5 Released

2007-02-15 Thread Peter . Pilgrim
___ __ __ _ __ / ___/__ ___ ___ _/ /___ __/ /__ _/ /_(_)__ ___ ___ / / / /__/ _ \/ _ \/ _ `/ __/ _ `/ __/ // / / _ `/ __/ / _ \/ _ \(_-/_/ \___/\___/_//_/\_, /_/ \_,_/\__/\_,_/_/\_,_/\__/_/\___/_//_/___(_)

Re: Download Sources

2007-02-15 Thread gc134728
Well it can't because then he resolves to the depencency-maven-plugin from the codehaus. which causes a problem because it doesn't contain the sources goal. Can't seem to fix this? any ideas ? You shouldn't need to configure anything in the pom, just do mvn dependency:sources

Re: Download Sources

2007-02-15 Thread Tomislav Stojcevich
Try -cpu or a -U option with that, maybe that'll trigger the download of the maven version. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Trouble adding common resouce files to all jars

2007-02-15 Thread Adam Lally
Hello, I am trying to add some common resource files to all of my jars in a multimodule project, without having to copy the files to all the src/main/resources directories in every single module. (In particular this is for LICENSE and NOTICE files that are required in the jars for our Apache

Re: Trouble adding common resouce files to all jars

2007-02-15 Thread Daniel Kulp
Adam, On Thursday 15 February 2007 11:36, Adam Lally wrote: I am trying to add some common resource files to all of my jars in a multimodule project, without having to copy the files to all the src/main/resources directories in every single module. (In particular this is for LICENSE and

Re: Trouble adding common resouce files to all jars

2007-02-15 Thread Adam Lally
On 2/15/07, Daniel Kulp [EMAIL PROTECTED] wrote: Basically, you can add: plugin artifactIdmaven-remote-resources-plugin/artifactId version1.0-alpha-2-SNAPSHOT/version executions execution goals goalprocess/goal /goals

maven 2.0.5, site-deploy and ssh (jsch) proxy problem?

2007-02-15 Thread Marcel May
Hi! While trying to update mvn from 2.0.4 to 2.0.5 I discovered that site-deploy fails with a proxy error message although scp is used (see below). The site-deploy stuff worked perfectly for my project with the old mvn 2.0.4. settings.xml: ... proxy idmy-proxy/id

Process Resources as Eclipse Launch Configuration

2007-02-15 Thread Thomas Van de Velde
Hi, I am using an Eclipse launch configuration to process resources with a clean in Eclipse. The .project file has the build command shown below. When running eclipse:eclipse, this build command gets erased. Is there a way I can automatically have this build command added when I run

Re: Download Sources

2007-02-15 Thread gc134728
Thx that seems to fix the resolving issue. But it doesn't help with the downloading of the sources. The command succeeds but doesn't download one source package any ideas ??? I think it isn't fully functional this plugin. It seems to be in alpha status. Try -cpu or a -U option with that, maybe

Re: How to deploy sources and javadocs?

2007-02-15 Thread Steve Shucker
Better yet, I just realized I can add a few lines to my pom and always generate source jars alongside the binary ones: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId executions

Re: Trouble adding common resouce files to all jars

2007-02-15 Thread Daniel Kulp
On Thursday 15 February 2007 12:18, Adam Lally wrote: Thanks, that worked. However, is there a way to override the name of the project that is written to the NOTICES and DISCLAIMER files? Currently each jar file uses its own artifact name (e.g. Apache UIMA Java Framework Core) when really we

RE: [m2] Integration-test target runs integration tests twice...

2007-02-15 Thread EJ Ciramella
Those configuration options are for surefire, not maven. -Original Message- From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 11:39 AM To: 'Maven Users List' Subject: RE: [m2] Integration-test target runs integration tests twice... They are not the

Re: Compile with one JDK and tests with several

2007-02-15 Thread Wayne Fay
This is discussed now and then on this list with various approaches posted, so search the Archives. Also, this is discussed in the Wiki: http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Versions I have to imagine you could utilize various configurations in multiple

Re: maven-ear-plugin 2.3 version unwanted behavior with ejb-client dependencies

2007-02-15 Thread Markku Saarela
Hi, That is useful trick. Thanks, Markku Janecek Jan wrote: Hi, Let ejb plugin generate client ejb jar. Then use dependency on this client jar (with type jar and classifier client) instead of the dependency on the server ejb jar (which has type ejb). This works fine. Regards, Jan

Re: Download Sources

2007-02-15 Thread Tomislav Stojcevich
Try mvn dependency:sources -U, the -U will force the check, if it already checked once today, it won't check again unless you force it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [m2] Integration-test target runs integration tests twice...

2007-02-15 Thread Bashar Abdul Jawad
So? Surefire plugin is what runs the tests. Bashar -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 11:39 AM To: Maven Users List Subject: RE: [m2] Integration-test target runs integration tests twice... Those configuration options are

Re: Process Resources as Eclipse Launch Configuration

2007-02-15 Thread Thomas Van de Velde
Thanks but I think that doesn't allow me to put complicated stuff like what I've shown before. On 2/15/07, Tom Huybrechts [EMAIL PROTECTED] wrote: Maybe this helps: http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#additionalBuildcommands On 2/15/07, Thomas Van de Velde

Re: mvn:release using svnkit?

2007-02-15 Thread Jason van Zyl
On 15 Feb 07, at 5:10 AM 15 Feb 07, Mark Derricutt wrote: Hi there, In my continuing experimentation with maven I was just checking out the release plugin and how it worked but got hit with 'svn' is not recognised as an internal or external command on my windows laptop. I have no

Re: [m2] maven embedder

2007-02-15 Thread Jason van Zyl
On 15 Feb 07, at 1:32 AM 15 Feb 07, Jochen Wiedmann wrote: On 2/15/07, Jason van Zyl [EMAIL PROTECTED] wrote: live. That's where we're planning the official IDE integration for Maven. What about M2Eclipse? What about it? I work on that too and that's what we're planning on moving to

Re: mvn 2.0.5 release not covered by http://www.apachenews.org/

2007-02-15 Thread Jason van Zyl
On 15 Feb 07, at 2:28 AM 15 Feb 07, Subhash Chandran wrote: I track Apache Foundation project releases using this site: http://www.apachenews.org/ I am surprised not to find the mvn 2.0.5 release mentioned here. Never seen that site before. And don't know who runs it so that's why we've

Re: mvn 2.0.5 release not covered by http://www.apachenews.org/

2007-02-15 Thread Wayne Fay
Never seen that site myself either... Seems like Tetsuya Kitahata is responsible for it, who ever that is. ;-) So Subhash, I guess you should ask Tetsuya why the new Maven release was not mentioned on that site... Wayne On 2/15/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 15 Feb 07, at 2:28

Re: mvn 2.0.5 release not covered by http://www.apachenews.org/

2007-02-15 Thread Rahul Akolkar
On 2/15/07, Wayne Fay [EMAIL PROTECTED] wrote: Never seen that site myself either... Seems like Tetsuya Kitahata is responsible for it, who ever that is. ;-) So Subhash, I guess you should ask Tetsuya why the new Maven release was not mentioned on that site... snip/ Bah, no. Just copy

How to use Maven/Ant from SCM?

2007-02-15 Thread Hilco Wijbenga
We have Ant stored in CVS as part of our project so that after a checkout everything is available for a build (it also facilitates reproducible builds). I would like to setup Continuum to build our project but I don't see how I can get Continuum to use our Ant. As we will be moving to Maven in

Re: How to use Maven/Ant from SCM?

2007-02-15 Thread Emmanuel Venisse
In your case, I see only one solution. You need to use the Shell project. In your project, you create a little shell script that run your ant/maven for the build, and use it as the command line to run. Emmanuel Hilco Wijbenga a écrit : We have Ant stored in CVS as part of our project so that

How to get more than one module from CVS?

2007-02-15 Thread Hilco Wijbenga
Our project consists of two modules (say, A and B) in CVS. Both are necessary for the build and until we move to Subversion I don't have the option of changing this setup. I don't see how I can check out both modules in Continuum. Or would that be possible with a special SCM URL? Obviously, I

Re: How to use Maven/Ant from SCM?

2007-02-15 Thread Hilco Wijbenga
On 2/15/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: In your case, I see only one solution. You need to use the Shell project. In your project, you create a little shell script that run your ant/maven for the build, and use it as the command line to run. Too bad. :-( I discovered that

Re: Trouble adding common resouce files to all jars

2007-02-15 Thread Daniel Kulp
Adam, Thanks, that worked. However, is there a way to override the name of the project that is written to the NOTICES and DISCLAIMER files? Currently each jar file uses its own artifact name (e.g. Apache UIMA Java Framework Core) when really we want just the name of our project (Apache

help creating multiple artifacts using one pom.xml file (profile question)

2007-02-15 Thread VLADIMIR TERZIC
I have three artifacts (war files) that need deployed to two servers. I currently have a profile for each (to apply filters) and I am able to build them individually using the -P profile option. I have one antrun task in the build section that deploys one artifact based on the profile that is

help with multiple artifacts from one pom.xml

2007-02-15 Thread VLADIMIR TERZIC
I have three artifacts (war files) that need deployed to two servers. I currently have a profile for each (to apply filters) and I am able to build them individually using the -P profile option. I have one antrun task in the build section that deploys one artifact based on the profile that is

Custom Packaging

2007-02-15 Thread Brandon Goodin
Is it possible to implement your own packaging like the packagingjar/packaging? Brandon

Re: Custom Packaging

2007-02-15 Thread Mark Derricutt
I was thinking of asking the same thing actually. In our current Ant based build we're unjaring the Apache James .sar file, copying in our own .jar file along with our custom configuration files, and then rejaring the .sar as our own application. I could see this being a good use of a custom

Re: Trouble adding common resouce files to all jars

2007-02-15 Thread Jason van Zyl
On 15 Feb 07, at 5:05 PM 15 Feb 07, Daniel Kulp wrote: Adam, Thanks, that worked. However, is there a way to override the name of the project that is written to the NOTICES and DISCLAIMER files? Currently each jar file uses its own artifact name (e.g. Apache UIMA Java Framework Core) when

Re: Custom Packaging

2007-02-15 Thread Jason van Zyl
On 15 Feb 07, at 5:39 PM 15 Feb 07, Mark Derricutt wrote: I was thinking of asking the same thing actually. In our current Ant based build we're unjaring the Apache James .sar file, copying in our own .jar file along with our custom configuration files, and then rejaring the .sar as our

Re: Custom Packaging

2007-02-15 Thread Jason van Zyl
On 15 Feb 07, at 5:25 PM 15 Feb 07, Brandon Goodin wrote: Is it possible to implement your own packaging like the packagingjar/packaging? There is a lifecycle associated with making a JAR, which is the default, if you want to stick different things into the JAR then you could make a new

the dreaded newbie questions

2007-02-15 Thread bedivere
Hello everyone, I'm new to this list, and I had sort of a general question. I've been on a project before where Maven 1.x was used as strictly a build tool, so I know the basics of the project.xml file, running tasks and what not. Now, I'm on a project where we are building a brand new web app

Re: Trouble adding common resouce files to all jars

2007-02-15 Thread Daniel Kulp
On Thursday 15 February 2007 17:49, Jason van Zyl wrote: On 15 Feb 07, at 5:05 PM 15 Feb 07, Daniel Kulp wrote: Adam, Thanks, that worked. However, is there a way to override the name of the project that is written to the NOTICES and DISCLAIMER files? Currently each jar file uses its

eclipse plugin documentation incorrect

2007-02-15 Thread Trevor Torrez
The pom.xml configuration documentation is wrong ( http://maven.apache.org/plugins/maven-eclipse-plugin/examples/prevent-module-references.html ); should be useProjectReferences not eclipse.useProjectReferences -- where do doc bug reports go?

Re: the dreaded newbie questions

2007-02-15 Thread Wayne Fay
The free e-book Better Builds With Maven is available on www.mergere.com and covers many of these topics in detail. Wayne On 2/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everyone, I'm new to this list, and I had sort of a general question. I've been on a project before where

Java Power Tools book announcement

2007-02-15 Thread John Smart
Hi All, Java Power Tools is a new book that I'm currently working on for publication by O'Reilly. It is basically about software tools and techniques that can contribute to improving the SDLC (Software Development Lifecyle). This includes build tools such as Maven and Ant, CI tools, code

Re: Custom Packaging

2007-02-15 Thread Brandon Goodin
I want to replace the jar test phase goal binding from surefire to cobertura since cobertura fires off surefire on it's own there is no need to run surefire in the test phase. I've tried every permutation known to man to prevent the tests from running twice. That's all i want to change. How would

Re: Maven 2.0.5 Released

2007-02-15 Thread Daniel Kulp
I just want to say a major thanks for the entire Maven team. Maven 2.0.5 is pretty exciting in itself, but all the other behind the scenes stuff that was developed to support/produce this release is fantastic work and doesn't get the attention it deserves in this announcement. The work

Making properties accessible in pom.xml

2007-02-15 Thread thuss2
We're in the process of migrating from Maven 1 to Maven 2. Currently we have a database.properties file that contains all of our database connection information. Is there any easy to make those properties accessible from within pom.xml so that I can do: driver${jdbc.driver_class}/driver I tried

RE: How to build offline??

2007-02-15 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
Hello, Maven experts. Here is additional information about my troubles with building offline. To recap: a build which completed successfully has failed when re-run offline immediately afterward, using the same local repository. The failure was due to missing artifacts related to

Maven2: standard.jar

2007-02-15 Thread lemon dumpling
Hi Everyone, Where can I download standard.jar (taglib related)? I ned it as part of my dependency and I can't find the artifact in maven repository. Thanks. Cheers

Simple antrun question

2007-02-15 Thread Mike Darretta
I know this is a very simple question, but I'm lost on how to solve it. I want to add an antrun task to my pom.xml that I can execute outside of any lifecycle phase. In short, I want to run it much like a normal ant goal. What I currently have is: plugin

Re: Maven2: standard.jar

2007-02-15 Thread Dan Tran
http://repo1.maven.org/maven2/taglibs/standard/ On 2/15/07, lemon dumpling [EMAIL PROTECTED] wrote: Hi Everyone, Where can I download standard.jar (taglib related)? I ned it as part of my dependency and I can't find the artifact in maven repository. Thanks. Cheers

MVN Repository Hibernate

2007-02-15 Thread Ryan Cuprak
Hello, I am confused - what is mvnrepository.com vs the ibiblio.org? I need the latest and greatest of hibernate 3.2.2.ga. I see the settings for it on mvnrepository.com but retrieval fails when going against repo1.maven.org. This has been confounding me for about a day now. Thanks,

Re: MVN Repository Hibernate

2007-02-15 Thread Wayne Fay
mvrepository.com is like Google for Maven artifacts, simply a search engine. And the Maven Dev team has nothing to do with that site -- I don't even know who owns/runs it. As for Hibernate 3.2.2.ga, I can see the Jar, pom, sources, and javadoc all available in repo1.maven.org, so I'm not sure

Re: Simple antrun question

2007-02-15 Thread Wayne Fay
Any particular reason why you don't just put those in an external build.xml file and call them directly from Ant, rather than attempting to make it work by embedding inside your pom.xml etc? That's how I handle these kinds of situations, personally. Wayne On 2/15/07, Mike Darretta [EMAIL

Re: Making properties accessible in pom.xml

2007-02-15 Thread Wayne Fay
You can add properties directly into the pom.xml: http://maven.apache.org/pom.html#Properties I personally prefer to use profiles for this kind of thing, though. Wayne On 2/15/07, thuss2 [EMAIL PROTECTED] wrote: We're in the process of migrating from Maven 1 to Maven 2. Currently we have a

Re: Simple antrun question

2007-02-15 Thread Wendy Smoak
On 2/15/07, Mike Darretta [EMAIL PROTECTED] wrote: I know this is a very simple question, but I'm lost on how to solve it. I want to add an antrun task to my pom.xml that I can execute outside of any lifecycle phase. In short, I want to run it much like a normal ant goal. Half of me wants to

RE: maven2 websphere plugin

2007-02-15 Thread hermod.opstvedt
Hi Yes. There is one in the sandbox at codehaus. Grab it from svn: https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/mojo-was Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 3:06 PM To: users@maven.apache.org Subject:

RE: Mavan2 simple program not working.

2007-02-15 Thread hermod.opstvedt
Hi Your trying Maven1 stuff on Maven2 Hermod -Original Message- From: Rajmahendra [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 11:23 AM To: users@maven.apache.org Subject: Mavan2 simple program not working. hi all i am using JDK 1.5 and Maven 2.0.4 I have written a

release:prepare /subversion failing with target/artifact files

2007-02-15 Thread Mark Derricutt
'lo all, I'm just trying to get the release:prepare to work on my maven test project but can't seem to get past a final subversion failure that's tripping up over the ./target not being in subversion. the log is: C:\Documents and Settings\Mark

Re: release:prepare /subversion failing with target/artifact files

2007-02-15 Thread Dan Tran
your need to tell release plugin where to place your tag. take a look at the root pom of http://svn.apache.org/repos/asf/maven/scm/trunk/ for example. Makesure you have svn tag folder ready( ie http://svn.apache.org/repos/asf/maven/scm/tags ) -D On 2/15/07, Mark Derricutt [EMAIL PROTECTED]

Re: Maven2: standard.jar

2007-02-15 Thread nicolas de loof
http://repo1.maven.org/maven2/taglibs/standard/ Nico. 2007/2/16, Dan Tran [EMAIL PROTECTED]: http://repo1.maven.org/maven2/taglibs/standard/ On 2/15/07, lemon dumpling [EMAIL PROTECTED] wrote: Hi Everyone, Where can I download standard.jar (taglib related)? I ned it as part of my

Re: How to deploy sources and javadocs?

2007-02-15 Thread nicolas de loof
Please note this configuration still exist in maven superPom. Simply add -DperformRelease=true and you will generate sources and javadoc jar. Nico. 2007/2/15, Steve Shucker [EMAIL PROTECTED]: Better yet, I just realized I can add a few lines to my pom and always generate source jars