How to specify depend in the ant plugin?

2007-09-20 Thread Subashini S
Hi, I am using maven2.0.7 . I want to do something like "mvn start" which would do all the packaging stuff and start the server. Somethink like this target would execute a script and it depends on "mvn package". I thought of using antrun plugin and in the task I asked it to execute the fil

Re: Required goal not found: eclipse:m2eclipse

2007-09-20 Thread MK Tan
probably just run mvn eclipse:eclipse ;$-) enjoy On 9/21/07, thebugslayer <[EMAIL PROTECTED]> wrote: > > Does any knows what's the requirement to run: > $ mvn eclipse:m2eclipse > > ??? > > -- > /bugslayer > > - > To unsubscribe,

Required goal not found: eclipse:m2eclipse

2007-09-20 Thread thebugslayer
Does any knows what's the requirement to run: $ mvn eclipse:m2eclipse ??? -- /bugslayer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Configuring the PMD Plug-in with multiple executions

2007-09-20 Thread Zimmer, Matthew
Hello all, I've tried googling on this topic with no luck. I need to run PMD on our source code base with one set of rules and on the test code base with a different set. I created multiple executions with customized configurations and I'm not seeing the results I'm expecting. What

can I use deploy maven ant task to just deploy a jar and not it's pom?

2007-09-20 Thread Srinivasan Chikkala
I want to use maven ant tasks (2.0.7) to deploy a third party jar file to some repository. The command line "mvn deploy:deploy-file" has a facility to deploy the jar file alone without generating the pom in the repository. Is there a way to do that using deploy maven ant task?

Re: org.jboss.ejb3.embedded

2007-09-20 Thread �rico
It's not there and I can't find the lib to download an install it local Alexander Sack <[EMAIL PROTECTED]> wrote: Official repo for JBoss is http://repository.jboss.com/maven2/ If you can't find it use mvn deploy:deploy-file to install it in your local repo. -aps On 9/20/07, Érico Teixeira

David Tullett is out of the office.

2007-09-20 Thread David Tullett
I will be out of the office starting 21/09/2007 and will not return until 24/09/2007. Please refer any MIS related issues to the GMRisk Support Email account. Any urgent issues should be addressed to Nathan Coast. I will respond to any individual matters upon my return. --- This e-mail may con

Re: org.jboss.ejb3.embedded

2007-09-20 Thread Alexander Sack
Official repo for JBoss is http://repository.jboss.com/maven2/ If you can't find it use mvn deploy:deploy-file to install it in your local repo. -aps On 9/20/07, Érico Teixeira <[EMAIL PROTECTED]> wrote: > > Is there a repository that contains this dependency ? > > > ---

org.jboss.ejb3.embedded

2007-09-20 Thread �rico
Is there a repository that contains this dependency ? - Pinpoint customers who are looking for what you sell.

Re: How to add new jar version?

2007-09-20 Thread ben short
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html On 9/20/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > Read the documentation on the Maven website, or Google for "mvn > install". There's more parameters than you've included. > > Wayne > > On 9/20/07, nicro <[EMAIL PROTECTED]> wrote

Re: How to add new jar version?

2007-09-20 Thread Wayne Fay
Read the documentation on the Maven website, or Google for "mvn install". There's more parameters than you've included. Wayne On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > > Hmm. I must be missing the obvious. If I do mvn install:install-file > BR-1.1.jar I get this error: > E:\Everest\BR\jars

Re: How to add new jar version?

2007-09-20 Thread nicro
Hmm. I must be missing the obvious. If I do mvn install:install-file BR-1.1.jar I get this error: E:\Everest\BR\jars>mvn install:install-file BR-1.1.jar [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'install'. [INFO] -

Re: How to add new jar version?

2007-09-20 Thread Wayne Fay
mvn install:install-file will install the new version into your repo. Yes, you should edit the pom.xml file to specify version 1.1. Wayne On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > > Hi, > > New to maven, and our repo was set up by someone else. There is a jar > (let's call it BR-1.0.jar) t

How to add new jar version?

2007-09-20 Thread nicro
Hi, New to maven, and our repo was set up by someone else. There is a jar (let's call it BR-1.0.jar) that I have modified after getting it via mvn. How do I add BR-1.1.jar to the correct location as a new version? And do I need to manually edit my pom.xml file to ask for the 1.1 version vs the

Re: jasperreports-maven-plugin question

2007-09-20 Thread Alexandre Gomes
Forget about it. That's my fault. It was not compiling the *.jrxml files becauce they were already compiled sometime else. thanks anyway On 9/20/07, Alexandre Gomes <[EMAIL PROTECTED]> wrote: > I found it only happens when sourceDirectory option is specified. The > jasperreports-maven-plugin doe

How to declare dependencies outside of WEB-INF in WARs?

2007-09-20 Thread Karen Tsao
Hi, We have following code in project.xml when we use maven1: Group applet 1 applets As you can see, we want to declare the jar outside of WEB-INF (applets directory). Now we move to mave2. However, in pom.xml, I don't know how to translate the

attached tests dependency error

2007-09-20 Thread zalym
I followed the attached tests guide to create a dependency to my core tests. The first part of the tutorial worked, and I could install a version of the test jar in the local repository as models-3.0-tests.jar. When I tried to add this as a dependency in another project, it came up with a depend

RE: Problem with plugin discovery

2007-09-20 Thread Denis Bessmertniy
I did again it this way mvn install:install-file -Dfile=D:\Projects\libs\maven-was-plugin-1.0-SNAPSHOT.jar -DgroupId=com.davidkarlsen.maven.plugins -DartifactId=maven-was-plugin -Dversion=1.0-SNAPSHOT -Dpackaging=jar And maven told me that all is ok. Also I drop the dependency and left only pl

Re: Arterfact which is not in repository

2007-09-20 Thread Tim Kettler
Is this related to your other thread? Then we should keep the discussion there. Denis Bessmertniy schrieb: Hi folks, I manually have downloaded artefact and installed it. All is ok, but when I run mvn install it tells me "The plugin 'specific-plugin-name' does not exist or no valid version co

Re: Arterfact which is not in repository

2007-09-20 Thread Alexander Sack
How did you install it? Maven checks local repository too so you should not get a build error (maybe a WARNING or two). Are you saying when you run mvn install on your project pom you see this? -aps On 9/20/07, Denis Bessmertniy <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I manually have downl

Re: Problem with plugin discovery

2007-09-20 Thread Tim Kettler
Hi, Denis Bessmertniy schrieb: Here is the part of my POM file . com.davidkarlsen.maven.plugins maven-was-plugin 1.0-SNAPSHOT This dependency is not needed, as just the build and not your project itself depends on the plugin. This is the first reason your bu

Arterfact which is not in repository

2007-09-20 Thread Denis Bessmertniy
Hi folks, I manually have downloaded artefact and installed it. All is ok, but when I run mvn install it tells me "The plugin 'specific-plugin-name' does not exist or no valid version could be found." As I understood the problem here because maven tries to download this arterfact from remote repo

Re: EJB Generation within Maven - Application Server is JOnAS

2007-09-20 Thread Wayne Fay
I'm not hugely familiar with JOnAS and GenIC, so keep that in mind. Perhaps someone who is already doing this will pipe up? First off, you should be able to write a jonas-genic-maven-plugin without a lot of trouble. They already have Ant tasks set up for it, so you can either call the existing Ant

Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil

2007-09-20 Thread mraible
Running "mvn -U" didn't fix the problem, but "rm -r ~/.m2/repository/*" did. ;-) Thanks, Matt Wayne Fay wrote: > > Thanks Matt, that does it. "mvn install" was successful. And then "mvn > eclipse:eclipse" was successful too. > > [INFO] Wrote Eclipse project for "myproject-core" to > C:\cvs_r

RE: Problem with plugin discovery

2007-09-20 Thread Denis Bessmertniy
I download it from http://www.davidkarlsen.com/maven-was-plugin/ Because I work with WebSphere 6.0 and I need appropriate plugin. -Original Message- From: Thorsten Heit [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 8:16 PM To: Maven Users List Subject: Re: Problem wit

Re: Problem with plugin discovery

2007-09-20 Thread Thorsten Heit
Hi, > > com.davidkarlsen.maven.plugins > maven-was-plugin > 1.0-SNAPSHOT > > > > > > > com.davidkarlsen.maven.plugins > maven-was-plugin > > C:\Program > Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin

EJB Generation within Maven - Application Server is JOnAS

2007-09-20 Thread houzecl
Hi all, I need some advice about handling EJB2 generation within Maven. Our Application Server is JOnAS For various reasons we are not going to use xdoclet. Therefeore we plan to use an home made plugin to generate: home, remote, and bean classes (from ejb-jar.xml and some specific templates

Re: problems downloading internal SNAPSHOTs

2007-09-20 Thread Thorsten Heit
Hi, > it is very difficult to reproduce this error, because downloading other > snapshots from same internal repository works, so repository settings > should > be fine (otherwise no downloads would work). Is it always the same snapshot that cannot be downloaded correctly? Or do others show the

Re: [m2] to be resolved : generate an artifact with a plugin and do dependency with it in a multimodule project.

2007-09-20 Thread Gerald Reinhart
Hi, I'have post a message in my blog to explain the pb. There are sample sources : http://www.jroller.com/greinhart/entry/generate_an_artifact_with_a Gerald Reinhart On 20/09/2007, Gerald Reinhart < @googlemail.com> wrote: > > Hi, > > I've got a general problem: the core maven can't generate al

Problem with plugin discovery

2007-09-20 Thread Denis Bessmertniy
Here is the part of my POM file . com.davidkarlsen.maven.plugins maven-was-plugin 1.0-SNAPSHOT com.davidkarlsen.maven.plugins maven-was-plugin C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v

Re: Strange Behaviors in Continuum 1.1-betas as windows service

2007-09-20 Thread Dan Tran
good news, I am able to get continuum under windows services using the local user account, not the domain account On 9/19/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > How did you set up your service? Did you attach a real user to the service? > > continuum service works fine on win xp and see

Re: jaxws-maven-plugin Multiple SEI (Service Endpoint Implementations)

2007-09-20 Thread Dan Tran
sorry I am NOT able to find it any where. On 9/20/07, Dan Tran <[EMAIL PROTECTED]> wrote: > btw, is this a new jaxws api version > > > > javax.jws > jaxws-api > 2.1.1 > provided > > I am able to find it any where > > -D > > On 9/20/07,

Re: jaxws-maven-plugin Multiple SEI (Service Endpoint Implementations)

2007-09-20 Thread Dan Tran
btw, is this a new jaxws api version javax.jws jaxws-api 2.1.1 provided wrote: > I beleive, in order to run a goal from command line, your goal > configuration must be > in the plugin's configuration's, not in the execution's con

Re: How to run maven goals from Eclipse?

2007-09-20 Thread Wayne Fay
src/test/java is the Maven-standard directory for tests. It is well documented in numerous places. Here's one: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Wayne On 9/20/07, siegfried <[EMAIL PROTECTED]> wrote: > Wow! That sure was difficult. It w

Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil

2007-09-20 Thread Wayne Fay
Thanks Matt, that does it. "mvn install" was successful. And then "mvn eclipse:eclipse" was successful too. [INFO] Wrote Eclipse project for "myproject-core" to C:\cvs_root\myproject\core. ... [INFO] Wrote Eclipse project for "myproject-webapp" to C:\cvs_root\myproject\web. ... [INFO] BUILD SUCCES

problems downloading internal SNAPSHOTs

2007-09-20 Thread aldana
hi, i am running CruiseControl for integrate testing my projects (command-line tool 'mvn verify' is executed for each project). but the results are very unreliable because Cruise Control sometimes gives me errors with downloading snapshot-dependencies. dependencies are sitting in an internal repo

Re: jaxws-maven-plugin Multiple SEI (Service Endpoint Implementations)

2007-09-20 Thread Dan Tran
I beleive, in order to run a goal from command line, your goal configuration must be in the plugin's configuration's, not in the execution's configuration -D On 9/20/07, Kyle.Bober <[EMAIL PROTECTED]> wrote: > > Hi Dan, > I noticed you are one of the developers of the jaxws-maven-plugin. I am >

Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil

2007-09-20 Thread mraible
You can use -Ph2 to use H2 instead of MySQL. You can also run with -Dmaven.test.skip=true to bypass all the connecting to the database and downloading of Tomcat to run Cargo/WebTest tests. Matt Wayne Fay wrote: > > I couldn't even get the first step to work correctly: > > [INFO] > ---

Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil

2007-09-20 Thread Wayne Fay
I couldn't even get the first step to work correctly: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error creating from archetype Embedded error: Error proc

RE: How to run maven goals from Eclipse?

2007-09-20 Thread siegfried
Wow! That sure was difficult. It works now from the maven eclipse plug in and the command line. Where in the documentation does it say that the tests must be in src/test/java? This is not obvious to a first time eclipse plug in user and unfortunately, the plug-in does not create this structure whe

Re: jaxws-maven-plugin Multiple SEI (Service Endpoint Implementations)

2007-09-20 Thread Kyle.Bober
Hi Dan, I noticed you are one of the developers of the jaxws-maven-plugin. I am running into an issue and I wanted to run it by you. We are using JBoss4.2 with the JBossWS2.0.1GA (JAX-WS). In my POM I setup the JAX-WS dependencies as follows: javax.xml.bind

RE: rar:rar plugin missing dependency?

2007-09-20 Thread Peter Taylor
Right. ok, Thank you dirk. That explains my problem - seems I have some more learning to do to get my head around maven. Cheers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: jasperreports-maven-plugin question

2007-09-20 Thread Alexandre Gomes
I found it only happens when sourceDirectory option is specified. The jasperreports-maven-plugin doesn't compile .jrxml files even if the path specified in sourceDirectory option is the same as the default value [1]. Any jasperreports-maven-plugin developer out there? [1] src/main/jasperreports

Re: rar:rar plugin missing dependency?

2007-09-20 Thread Dirk Olmes
Peter Taylor wrote: > I'm trying to build a resource adapter using maven with the rar:rar > plugin. I've succeeded BUT I have an issue: > > I have rar in my pom. But when I do a `mvn > package` maven doesn't include the compiled source in the target rar > file. Are you trying to package from the

Re: scp upload verbosity

2007-09-20 Thread Gisbert Amm
Have you tried mvn deploy -q already? -Gisbert Martin Pruefer wrote: Hi, is there any way to make the deploy plugin being less verbose when uploading via scp to a server? I'm building my project with 'mvn deploy' and for each artifact the upload progress is being logged in a very verbose way l

Re: How to find original documentation for Maven 1.0.2 ?

2007-09-20 Thread Lukas Theussl
Maven 1.1 and 1.0.2 are supposed to be largely compatible, the main differences are documented [1], apart from that, the documentation applies to 1.0.2 as well (note that plugins have their own sites). For detailed changes you might consult JIRA [2]. HTH, -Lukas [1] http://maven.apache.org/ma

jasperreports-maven-plugin question

2007-09-20 Thread Alexandre Gomes
What's the criteria used by jasperreports-maven-plugin to conclude that all reports are up to date and don't need to be recompiled [1]? How can I force it to compile all the reports? [1] [INFO] [jasperreports:compile-reports {execution: default}] [INFO] Nothing to compile - all Jasper reports are

scp upload verbosity

2007-09-20 Thread Martin Pruefer
Hi, is there any way to make the deploy plugin being less verbose when uploading via scp to a server? I'm building my project with 'mvn deploy' and for each artifact the upload progress is being logged in a very verbose way like this: ---snip--- [...] Uploading: scp://my.snapshotserver.com/group

Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil

2007-09-20 Thread mraible
Any idea what could be causing this? I get it when running "mvn eclipse:eclipse" on a modular project. I'm on OS X with JDK 5. [INFO] [ERROR] FATAL ERROR [INFO] --

How to find original documentation for Maven 1.0.2 ?

2007-09-20 Thread Damien Lecan
Hello, I would like to know where I can find the original Maven 1.0.2 documentation. http://maven.apache.org/maven-1.x is mainly for maven 1.1.x Is it possible to find archives about it somewhere ? Globaly, it is hard to know the real features of Maven 1.0.2 compared to 1.1.x (SNAPSHOT or not, r

Artifact with type tar.gz (or tgz or gz) unpacked during dependency resolution: Why?

2007-09-20 Thread Anders Blehr
List, I have a gzipped tarball type artifact (tar.gz) in my repository and a dependency to it (with tar.gz) in my POM. All I want is for the dependency to be resolved and the artifact to be copied to my local repository so that I can copy it out to where it really should go. However, the resolved

[m2] to be resolved : generate an artifact with a plugin and do dependency with it in a multimodule project.

2007-09-20 Thread Gerald Reinhart
Hi, I've got a general problem: the core maven can't generate all artifact, so there are some plugin to do that for a specific context (for instance, maven-antrun-plugin ). How can we do a dependency to the artifact generated by a plugin ? I tried to - configure the packaging of the pom with the

Re: mvn archetype:create

2007-09-20 Thread Dmitri Pissarenko
Hello Wayne! Thanks! Now it works! Dmitri -- http://www.xing.com/profile/Dmitri_Pissarenko http://dapissarenko.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Maven @ ApacheCon US: Early Bird Rate Ends September 22

2007-09-20 Thread Brett Porter
For those thinking of attending ApacheCon US in Atlanta, see the announcement from the ApacheCon team below about the early-bird registration rate. For more information and registration, see http:// www.us.apachecon.com/ Maven will be well represented with the following training and presen