Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread jiangshachina
Hello, May the downloading wasn't completed successfully? Or please show your POM. Happy Spring Festival :-) a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, It still report a error when I excute compile or antrun:run. ERROR: Internal error in the plugin manager executing goal '

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread sam
Hi, I have searched the error via google,there is a discussion about the same error,you can have a look.http://jira.codehaus.org/browse/MANTRUN-37 My pom about build is here: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread jiangshachina
Hi, I'm using Maven 2.0.4 + maven-antrun-plugin 1.1, all is OK. Do you use Maven 2.0.4? If can't resolve the trouble, you can download the plugin to local repo by manual, and then run mvn compile. Happy Spring Festival :-) a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, I have searched

Maven, SCM and release builds

2007-02-13 Thread Christian Sauer
Hi all, Is it possible to forbid the SCM plugin to generate the complete SCM connection in a project's POM once a release build was performed? Most of the SCM settings are specified as variables in the parent POM in order to allow various developers performing release builds using

free test coverage plugin in maven

2007-02-13 Thread joy.ge
Dear all, Could you advice which test coverage plugin for maven is your favorite. Thanks! IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it immediately unread. The internet cannot guarantee that this

how to run a program build with maven

2007-02-13 Thread Ute Platzer
Hi, I have a java program which I used to build with ant. Now I switched to maven because of the easier handling of jar file dpenedencies. Unfortunately now these jar files are no longer there, they're somewhere in the repository but not inside my project directory and it's not trivial to find

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread sam
HI, Yes , I use maven 2.0.4 too,and the plugin is downloaded successfully,hehe,well,I 'd like resolve the trouble after the Spring Festival,and I begin my holiday tomorrow,see you! Happy Spring Festival! 2007/2/13, jiangshachina [EMAIL PROTECTED]: Hi, I'm using Maven 2.0.4 +

Re: how to run a program build with maven

2007-02-13 Thread Patrick Kimber
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. Alternatively the dependency plugin will copy your jar files to a folder. Try running: mvn

Re: [m2] how to run a program build with maven

2007-02-13 Thread jiangshachina
Hello, Or how do I make maven copy the jar files from the repository to somewhere I can use them? I used the approach. dependency-maven-plugin(http://mojo.codehaus.org/dependency-maven-plugin/) may help you. The plugin can copy all dependencies from the repository to a specific location.

Re: [m2] Getting SNAPSHOT information into a webapp

2007-02-13 Thread hdockter
Hi Mark, I'm having the same requirement. I'm wondering if you have found a solution on how to access the snapshot timestamp value. Thanks, - Hans Mark Chaimungkalanont wrote: Guys, We're using Maven2 and wanted to know the best way to get version information (including the

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread jiangshachina
Hi, I think you can make a simply project to test the plugin. And run mvn compile. The following scripts can be used, project modelVersion4.0.0/modelVersion groupIdtest/groupId artifactIdtest/artifactId packagingpom/packaging version1.0-SNAPSHOT/version

Re: free test coverage plugin in maven

2007-02-13 Thread Raphaël Piéroni
Cobertura. Raphaël 2007/2/13, [EMAIL PROTECTED] [EMAIL PROTECTED]: Dear all, Could you advice which test coverage plugin for maven is your favorite. Thanks! IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it

[m2eclipse] m2 plugin for eclipse

2007-02-13 Thread andreas.ebbert-karroum
Hi, after I installed the m2 plugin for eclipse from http://m2eclipse.codehaus.org/ http://m2eclipse.codehaus.org/ , eclipse is prompting me to enter username/password when starting the workbench. Asking several times: *Enter Network UserID and Password*

Re: Can anyone explain this code

2007-02-13 Thread Wayne Fay
Make sure you take a look at the relevant Plexus code before assuming there's a problem with this bit of Maven code: http://svn.plexus.codehaus.org/browse/~raw,r=1756/plexus/trunk/plexus-utils/src/main/java/org/codehaus/plexus/util/introspection/ReflectionValueExtractor.java

Re: Need to bounce OC4J during re-deployment

2007-02-13 Thread Jeff Mutonho
On 2/12/07, Erik Drolshammer [EMAIL PROTECTED] wrote: Chris Russell wrote: In order to redeploy my application I need to: 1. Undeploy app 2. Bounce OC4J instance 3. Deploy app Is there a way to accomplish this with Continuum? So far, my only thought is to write a Cron job to undeploy

Re: Maven, SCM and release builds

2007-02-13 Thread Tomasz Pik
On 2/13/07, Christian Sauer [EMAIL PROTECTED] wrote: Hi all, Is it possible to forbid the SCM plugin to generate the complete SCM connection in a project's POM once a release build was performed? Most of the SCM settings are specified as variables in the parent POM in order to allow various

Maven Wagon Provider File

2007-02-13 Thread Fred Foucart
Hello everybody, I try to install an internal repository. Before to go further, I'd like to test the repository I've created (on my local file system) I know that there is the Maven Wagon Provider File API but I have difficulties to use it. Is it possible to have tips to use this API ? Thanks

Re: [m2] how to run a program build with maven

2007-02-13 Thread franz see
Good day, And as for finding the artifacts that you need, you may want to use Archiva. Cheers, Franz pkimber 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

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread franz see
Good day, Try something like mvn -cpu install ( -cpu will check for plugin updates ). Cheers, Franz jiangshachina wrote: Hi, I think you can make a simply project to test the plugin. And run mvn compile. The following scripts can be used, project modelVersion4.0.0/modelVersion

Re: [m2] Dependency management by license (type)

2007-02-13 Thread franz see
Good day, There's none that I know of. Cheers, Franz Trevor Torrez wrote: Is there a way, or are there some features in planning, to manage dependencies based on the license? What I would like is a report of licenses used by all dependencies (transitives included) and perhaps a means

Re: [m2] profiles / text substitution

2007-02-13 Thread franz see
Good day to you, los, Do something like this project ... build resources resource directorysrc/main/config/directory includes includehibernate.cfg.xml/include /includes filteringtrue/filtering /resource /resources /build

Re: Maven, SCM and release builds

2007-02-13 Thread Christian Sauer
Hi, thank you very much for the hint. cheers, chris -Original Message- From: Tomasz Pik [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Date: Tue, 13 Feb 2007 11:00:48 +0100 Subject: Re: Maven, SCM and release builds On 2/13/07, Christian Sauer [EMAIL PROTECTED] wrote:

Re: [m2] Can I get MavenProject instance of plugin itself within a Mojo?

2007-02-13 Thread franz see
Good day to you, Jiaqi, See the http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook; section in [1]. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Jiaqi Guo wrote: I need some of the maven2 plugin's dependencies during execute() method

Re: [m2] Error getting POM - Failed to resolve artifact

2007-02-13 Thread franz see
Good day, Try adding [1] ( or your proxy to it ) to your pluginRepository ( not just in your repostiroy ) in your settings.xml or in the poms using the snapshot plugins. From your stack trace, it seems to me that [2] is the only pluginRepository known to your builds. Cheers, Franz [1]

Re: Maven, SCM and release builds

2007-02-13 Thread Mark Struberg
Hi! There is a workaround: Specify a parent pom which holds the SCM information. This way, the SCM info replacement will actually not be part of your pom. scm connection scm:cvs:pserver:${cvs.username}:[EMAIL PROTECTED]:/home/cvsroot:${project.groupId}/ /connection

Re: [m2] Can anyone explain this code

2007-02-13 Thread franz see
Good day to you, Jiaqi, Why do you say that it will be evaluted to null? Cheers, Franz Jiaqi Guo wrote: Hi there, I'm trying to find out the build-in variables for a maven2 plugin and found the following code in

RE: Maven, SCM and release builds

2007-02-13 Thread Jörg Schaible
Hi Mark, Mark Struberg wrote on Tuesday, February 13, 2007 12:38 PM: Hi! There is a workaround: Specify a parent pom which holds the SCM information. This way, the SCM info replacement will actually not be part of your pom. scm connection scm:cvs:pserver:${cvs.username}:[EMAIL

extended build version numbers

2007-02-13 Thread Wojtek Ciesielski
Hi all, I've noticed that artifacts deployed by continuum server do have extended version number... In the POM file the version specified is 1.0-SNAPSHOT but in the repository I'm getting artifacts like my-module-1.0-20070213.093006-5.jar. It causes that a module from repository handled by

RE: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-13 Thread Johann Reyes
Hello Miso Still after adding the export flag set to false, still tries to connect? Regards Johann Reyes -Original Message- From: Michal Hlavac [mailto:[EMAIL PROTECTED] Sent: Sunday, February 11, 2007 10:04 AM To: Maven Users List Subject: Re: hibernate3-maven-plugin hbm2ddl always

Query in continuum

2007-02-13 Thread vishwanath ramaprasad
hi, i have a query regarding Continuum where the maven project is added and the application is built. Can we add individual projects into continuum and how to add those Can anyone please suggest steps to do the same.

RE: Maven 2.1 timeline?

2007-02-13 Thread Brian-R . Jackson
Thanks Dennis, Is there a snapshot build available somewhere? Regards, Brian -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Monday, February 12, 2007 6:09 PM To: Maven Users List Subject: Re: Maven 2.1 timeline? Brian, It is correct that there were

Maven 1.1 for aspectj project

2007-02-13 Thread Build Admin
Hi How to build aspectj project with maven 1.1? Can anyone suggest useful link and dependency files required?

RE: Maven, SCM and release builds

2007-02-13 Thread Mark Struberg
Hi Jörg! The key difference is that the SCM section is in the PARENT POM and not in the modules POM. And the parent pom will not be checked in automatically by the release plugin if you only make a release:prepare and release:perform on that single module. LieGrü, strub --- Jörg Schaible

RE: Maven 1.1 for aspectj project

2007-02-13 Thread Jeff Jensen
Did you look at the AspectJ plugin? -Original Message- From: Build Admin [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 8:26 AM To: Maven users list Subject: Maven 1.1 for aspectj project Hi How to build aspectj project with maven 1.1? Can anyone suggest useful link and

Re: Maven 1.1 for aspectj project

2007-02-13 Thread Marco Mistroni
hi, IF you have patience, i'll post a pom.xml as soon as i get home my app using aspectj for maven1.1...now i have converted it to maven2 it's a webap though hth marco On 2/13/07, Build Admin [EMAIL PROTECTED] wrote: Hi How to build aspectj project with maven 1.1? Can anyone

I need help with cargo-maven2-plugin.

2007-02-13 Thread Maruf Aytekin
Hi All, I need help with cargo-maven2-plugin. I have jboss-4.0.5.GA installed on my testcip server. I am trying to deploy a war webapp to jboss with cargo-maven-plugin. Related part of the pom.xml is below: build plugin groupIdorg.codehaus.cargo/groupId

Re: [m2] Getting SNAPSHOT information into a webapp

2007-02-13 Thread Steve Shucker
Here's the source for my homebrew plugin to add a version file to my artifacts. It's just writing a date and hostname, but you can easily change it to include other information such as version. package com.vms.maven; import java.io.File; import java.io.FileOutputStream; import

Maven2 replacement for maven.repo.remote?

2007-02-13 Thread Helck, Christopher
Hi, I need to support the deployment of artifiacts to three separate repositories: development, staged, and certified. In maven1 I did this by overriding the variables maven.repo.remote and maven.repo.list in a script. How should I do this in maven2? Here's what I really want: When a

[OT][ANN] REMINDER: JAVAWUG 24 Web Framework Smackdown :: Skills Matter :: 19/Feb/2007

2007-02-13 Thread Peter . Pilgrim
Hi All The Java Web User Group (JAVAWUG, LONDON) is holding a web framework smackdown BOF 24 at Skills Matter's offices in London on 19 Feb 2007. At the moment we have representatives for RIFE, Spring MVC, and standard API. Hey! If someone wants to rock the house with Struts 2 or Wicket demos

Re: [m2] maven embedder

2007-02-13 Thread Dmitry Beransky
Hi Franz, I'm looking at the 2.0.4 sources (that's what I'm using) and I see MavenEmbedder.readModel() declaring throws XmlPullParserException D. On 2/12/07, franz see [EMAIL PROTECTED] wrote: Good day, Odd. I just tried it and it works fine with me. Also, I have just checked the source

RE: [m2] how to run a program build with maven

2007-02-13 Thread Brian E. Fox
Use the newer version at apache: http://maven.apache.org/plugins/maven-dependency-plugin -Original Message- From: jiangshachina [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 3:55 AM To: users@maven.apache.org Subject: Re: [m2] how to run a program build with maven Hello,

RE: Can I get MavenProject instance of plugin itself within a Mojo?

2007-02-13 Thread Janecek Jan
Hi, Add this to your mojo: /** * @parameter expression=${project} * @readonly */ private MavenProject project; See guides about plugin development in http://maven.apache.org/guides/index.html Regards, Jan -Original Message- From: Jiaqi Guo [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: how to run a program build with maven

2007-02-13 Thread Kaare Nilsen
On 13/02/07, Ute Platzer [EMAIL PROTECTED] wrote: Hi, I have a java program which I used to build with ant. Now I switched to maven because of the easier handling of jar file dpenedencies. Unfortunately now these jar files are no longer there, they're somewhere in the repository but not inside

Re: Maven 1.1 for aspectj project

2007-02-13 Thread Kaare Nilsen
On 13/02/07, Marco Mistroni [EMAIL PROTECTED] wrote: hi, IF you have patience, i'll post a pom.xml as soon as i get home my app using aspectj for maven1.1...now i have converted it to maven2 for maven2 you could use this plugin : http://mojo.codehaus.org/aspectj-maven-plugin it's a

Re: Maven2 replacement for maven.repo.remote?

2007-02-13 Thread Arnaud Bailly
Helck, Christopher [EMAIL PROTECTED] writes: Hi, I need to support the deployment of artifiacts to three separate repositories: development, staged, and certified. In maven1 I did this by overriding the variables maven.repo.remote and maven.repo.list in a script. How should I do this in

Maven vs source control

2007-02-13 Thread lightbulb432
What's the difference between Maven and version control repositories when you're using both? Maven has its repository, but so does my version control. As I'm fairly new to this, could somebody explain the division of responsibility between Maven and version control specifically? e.g. Once you've

Re: Maven vs source control

2007-02-13 Thread Graham Leggett
On Tue, February 13, 2007 6:40 pm, lightbulb432 wrote: What's the difference between Maven and version control repositories when you're using both? Maven has its repository, but so does my version control. repository is the word used in both cases to describe the data store of record for each

Re: [m2] Maven vs source control

2007-02-13 Thread lightbulb432
Thanks for your answer. Could you expand on why there's little point in versioning things in Maven. I guess maybe I can understand why for the library repository (is it because it in itself is almost versioned?), but what about everything else in Maven? e.g. your project tree that you're

Re: [m2] Maven vs source control

2007-02-13 Thread Wayne Fay
They are completely different albeit related subjects... You have a code repository to manage versions of source files. You could perhaps attempt to use Maven without a code repository but virtually all modern development efforts will utilize some kind of code repo. You have a Maven repository

[m2] artifacts are not resolved when mirror is not available

2007-02-13 Thread Adrian Herscu
Hi all, I am trying to setup an internal Maven mirror for our company using Proximity. Proximity seems to work for the predefined repositories. I still having trouble with defining additional repositories (Proximity fails to start when those additional repositories are added...). Went

Re: [m2] Access dependency properties inside pom.

2007-02-13 Thread Marcos Silva Pereira
Good day to you, franz I really don't know how is the best way to do it, but I need to try something to solve my problem. How I must do it? What is the right way? Thanks... On 2/13/07, franz see [EMAIL PROTECTED] wrote: Good day to you, Marcos, I do not know if this is the best way to to

Re: [m2] Maven vs source control

2007-02-13 Thread lightbulb432
Oh, now I see the difference, being between the mgmt of source files and of compiled modules. So if you are making minor revisions of your source repository all the time, does that mean your module repository is going to get enormous (because everytime you make a tiny change in your source, that

How do you tell Maven 2 to use local jars instead of trying to download them?

2007-02-13 Thread Rod Mclaughlin
We are just starting to use Maven2. One or two things puzzle us, and we would be grateful for any answers. We've searched the web, looked in the mailing lists, etc. without finding an answer. We are trying to install INDIVO (indivohealth.org) by running 'MVN INSTALL' from the top level where

Re: [m2] Maven vs source control

2007-02-13 Thread Wayne Fay
Generally people use the SNAPSHOT feature of Maven during development (with typically only 1 version per artifact, which is frequently updated but always uses the version SNAPSHOT), and then periodically deploy versions of modules to the Maven repo when the development team has decided to cut a

Re: [m2] artifacts are not resolved when mirror is not available

2007-02-13 Thread Wayne Fay
You need a profile for home and profile for work: mvn ... -phome mvn ... -pwork (or set work profile to active by default) As for your Proximity problems, you should probably email the Proximity Users list and get help for those issues there. Wayne On 2/13/07, Adrian Herscu [EMAIL PROTECTED]

Re: Maven 2.1 timeline?

2007-02-13 Thread Dennis Lundberg
Yes there is. You can find instructions for how to use SNAPSHOTs of plugins here: http://maven.apache.org/guides/development/guide-testing-development-plugins.html The most recent version is 2.0-SNAPSHOT. -- Dennis Lundberg [EMAIL PROTECTED] wrote: Thanks Dennis, Is there a snapshot build

Re: How do you tell Maven 2 to use local jars instead of trying to download them?

2007-02-13 Thread John Casey
If indivo-client-java is in the modules list of the top level POM (it's in the list of projects to be built when the build fires up), then it should find those libraries when the build runs at or past the 'package' phase. If it's not in the modules list, then you'll need to go into the

Re: How do you tell Maven 2 to use local jars instead of trying to download them?

2007-02-13 Thread Rod Mclaughlin
Got it! Thanks John Casey wrote: If indivo-client-java is in the modules list of the top level POM (it's in the list of projects to be built when the build fires up), then it should find those libraries when the build runs at or past the 'package' phase. If it's not in the modules list, then

Deploy to repository | Windows network file url

2007-02-13 Thread Brian-R . Jackson
So I'm trying to setup a repository on a Windows shared drive. I configured my POM as: distributionManagement repository idtasna/id urlfile://host/path/to/my/Shared%20Drive/Maven/repository/url /repository /distributionManagement I run mvn deploy and get

Re: Maven 1.1 for aspectj project

2007-02-13 Thread Marco Mistroni
Hello, as promised here's the maven.xml (in mvn 1.1 there's no pom, but you have a project.xml and a maven.xml) ?xml version=1.0? project xmlns:m=jelly:maven xmlns:ant=jelly:ant preGoal name=jsf-dist attainGoal name=clean/ ant:copy

Re: What is the default value for resource?

2007-02-13 Thread Michael Waluk
Can anyone tell me why I can't seem to get excludes to work for a webResource? I have the following in my pom: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0.1/version configuration warName${project.build.finalName}/warName

Re: [m2] Maven vs source control

2007-02-13 Thread Graham Leggett
lightbulb432 wrote: Could you expand on why there's little point in versioning things in Maven. I guess maybe I can understand why for the library repository (is it because it in itself is almost versioned?), but what about everything else in Maven? e.g. your project tree that you're developing

Re: [m2] Maven vs source control

2007-02-13 Thread Graham Leggett
lightbulb432 wrote: So if you are making minor revisions of your source repository all the time, does that mean your module repository is going to get enormous (because everytime you make a tiny change in your source, that classifies as a new module altogether, and the entire project gets put

Re: Deploy to repository | Windows network file url

2007-02-13 Thread Gaute Lote
I've had the same problem. If you check your local disc you'll probably have a catalog named host/path/to/my/Shared%20Drive/Maven/repository/com/ubs/eq/tas/na/tasna/1.0-SNAPSHOT/ You need to add more slashes so that maven understand that the tagert directory is on another machine. If I remeber

RE: Deploy to repository | Windows network file url

2007-02-13 Thread Brian-R . Jackson
Thanks Gaute, I tried the following combinations with no luck: file:///\\host/path file:/host/path As well as mapping \\host\path\to\my\Shared%20Drive to drive letter B: and using the following URL file:///B:/Maven/... None of which worked. Any other ideas? -Original Message-

Re: [m2] merging jars

2007-02-13 Thread adingfelder
for me, as an eclipse user, I do not use command line maven, so I (and other eclipse users) need to have the plugin work from the pom. Because of that, I was hoping for a pom based example in the usage page. Cheers, Andy Torsten Curdt wrote: On 30.01.2007, at 01:03, adingfelder wrote:

Question on Ant Plugins

2007-02-13 Thread Kevan Dunsmore
I wrote an ant plugin for Maven. As per documentation I have two files: deebee.build.xml deebee.mojos.xml I have two questions. 1. I would like to have all of my mojos in different files, importing them into the main deebee.build.xml file, something like this: project import

Re: [m2] Access dependency properties inside pom.

2007-02-13 Thread franz see
Good day to you, Marcos, From [1], it says there that you can do something like public void MyMojo extends ... /** parameter expression=${project} */ private org.apache.maven.project.MavenProject mavenProject; ... public void execute() { ...

Integration-test target runs integration tests twice...

2007-02-13 Thread EJ Ciramella
I'm having a problem binding our integration tests to the integration-test lifecycle goal. Can anyone explain why this would happen twice? Here's my pom: ?xml version=1.0 encoding=ISO-8859-1? project xmlns=http://maven.apache.org/POM/4.0.0;

Maven 2 can't find plugins

2007-02-13 Thread Rod Mclaughlin
I have an even more basic issue. Whenever I have a plugin in a POM.xml file, and try to use it, eg. *$ mvn xfire:wsdlgen * Maven 2 says* 'Scanning for projects... Searching repository for plugin with prefix: 'xfire'. org.apache.maven.plugins: checking for updates org.codehaus.mojo: checking

Re: Maven 2 can't find plugins

2007-02-13 Thread Wayne Fay
Without knowing anything more about your project or seeing your pom.xml files, I assume you've declared repositories but not pluginRepositories to match. Wayne On 2/13/07, Rod Mclaughlin [EMAIL PROTECTED] wrote: I have an even more basic issue. Whenever I have a plugin in a POM.xml file, and

Re: Maven 2 can't find plugins

2007-02-13 Thread Craig S. Cottingham
On Feb 13, 2007, at 17:54, Rod Mclaughlin wrote: I have an even more basic issue. Whenever I have a plugin in a POM.xml file, and try to use it, eg. *$ mvn xfire:wsdlgen * Maven 2 says* 'Scanning for projects... Searching repository for plugin with prefix: 'xfire'. org.apache.maven.plugins:

Re: [m2] merging jars

2007-02-13 Thread Torsten Curdt
On 13.02.2007, at 22:56, adingfelder wrote: for me, as an eclipse user, I do not use command line maven, so I (and other eclipse users) need to have the plugin work from the pom. No command line ...interesting. Did not think such programmers really exist ;) Well, maybe we could

Re: Maven 2 can't find plugins

2007-02-13 Thread Rod Mclaughlin
Wayne Fay wrote: *Without knowing anything more about your project or seeing your pom.xml files, I assume you've declared repositories but not pluginRepositories to match. * Wayne Thanks. Even if I do pluginRepositories pluginRepository idcentral/id nameMaven Plugin

RE: Maven 2 can't find plugins

2007-02-13 Thread Kevan Dunsmore
I've had a similar problem. It appears that Maven is able to download the pom for a plugin but not the plugin itself if you don't have pluginRepositories defined but do have repositories. If you clear everything from your local repo then attempt to download the plugin as a side-effect of your

RE: Deploy to repository | Windows network file url

2007-02-13 Thread Kevan Dunsmore
Brian, This works for me: file:host/share/path Kevan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 1:10 PM To: users@maven.apache.org Subject: RE: Deploy to repository | Windows network file url Thanks Gaute, I tried the

Re: [m2] maven embedder

2007-02-13 Thread Jason van Zyl
On 13 Feb 07, at 10:32 AM 13 Feb 07, Dmitry Beransky wrote: Hi Franz, I'm looking at the 2.0.4 sources (that's what I'm using) and I see MavenEmbedder.readModel() declaring throws XmlPullParserException The folks I'm directly supporting for the embedder are the IDE folks. They are using

Re: [m2] maven embedder

2007-02-13 Thread franz see
Good day to you, Dmitry, You may want to take a look at your dependency tree ( do mvn project-info-reports:dependencies then go to target\site\dependencies.html ) and search for what version of plexus-utils your project is using. I checked the dependency tree of

RE: Deploy to repository | Windows network file url

2007-02-13 Thread franz see
Good day, You may want to try first with file:, then file:/, then file://, till you get to file:/ :) Not really sure what the problem is, but I've experienced that before as well. Cheers, Franz Kevan Dunsmore wrote: Brian, This works for me: file:host/share/path Kevan.

Re: Maven 2.0.5 release plans?

2007-02-13 Thread Jason van Zyl
On 6 Feb 07, at 11:23 AM 6 Feb 07, Thierry Lach wrote: Any idea when Maven 2.0.5 will be released? Tomorrow. Jason. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tools for automated deployment of repository artifacts?

2007-02-13 Thread Jason van Zyl
On 9 Feb 07, at 2:31 AM 9 Feb 07, Franz Garsombke wrote: Maven is working beautifully for us...we are building code, packaging, and deploying to our proximity repository server. Does the Maven team know of any tools that are built around getting artifacts from an HTTP URL and then SCPing

Re: [m2] Maven 2 can't find plugins

2007-02-13 Thread franz see
Good day to you, Rod, The xfire-maven-plugin is in codehaus mojo-sandbox. So you either checkout the source and build it, or use the snapshot version deployed pluginRepository idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url snapshots

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

2007-02-13 Thread franz see
Good day to you, EJ, What happens twice? ...May I ask for the build logs in your console? Cheers, Franz EJ Ciramella-2 wrote: I'm having a problem binding our integration tests to the integration-test lifecycle goal. Can anyone explain why this would happen twice? Here's my pom:

Re: [m2] Can anyone explain this code

2007-02-13 Thread Jiaqi Guo
Hi Franz, I tried to get PluginDescriptor within a mojo and got PluginParameterException, then I started looking at this code. Assume expression is string plugin, pathSeparator is -1, the expression.substring(1) becomes lugin. Did I miss anything here? And then looking at

Re: [m2] Can anyone explain this code

2007-02-13 Thread Jiaqi Guo
In fact, the ReflectionValueExtractor.evaluate(lugin, pluginDescriptor) does return null. The first token in while loop is lugin, which calls getLugin() of root object and returns null. I guess this is where the problem is. Maybe there should be another 'else if ( plugin.equals( expression )

Re: [m2] Query in continuum

2007-02-13 Thread dawn.angelito
Hi! You can follow these steps: In your Continuum application: 1) Click the Maven 2.0x Project link on the left menu (if you're going to add a Maven 2.0 project). 2) You may specify a POM Url (e.g.

Re: [m2] maven embedder

2007-02-13 Thread Dmitry Beransky
Jason, Thanks. That worked great, however I ran into another problem. I'm using embedder to write an IntelliJ IDEA plugin and IDEA insists on using it's own JDOM library. See this discussion for reference: http://intellij.net/forums/thread.jspa?messageID=3441989 I was able to work around

Re: [m2] Can anyone explain this code

2007-02-13 Thread Wayne Fay
Without getting too far into the code myself, you seem to make some very good arguments about possible problems in this code. ;-) I have no idea if this PluginParameterExpressionEvaluator class (and the referenced code in Plexus) have proper unit tests etc, but it seems like you could make a

Re: [m2] Can anyone explain this code

2007-02-13 Thread Jiaqi Guo
Thanks Wayne, Although I found workaround for the tool that I'm working on, the patch for PluginParameterExpression could be really simple: sh-3.1$ svn diff Index: maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

Re: [m2] Can anyone explain this code

2007-02-13 Thread Wayne Fay
Thanks for your contribution, Jiaqi! Wayne On 2/13/07, Jiaqi Guo [EMAIL PROTECTED] wrote: Thanks Wayne, Although I found workaround for the tool that I'm working on, the patch for PluginParameterExpression could be really simple: sh-3.1$ svn diff Index:

JUnit 4.1 Surefire - Does Not Execute @Before @After methods

2007-02-13 Thread Subhash Chandran
I am using mvn 2.0.4. I have JUnit 4.1 test cases in my project. The methods I have marked with @After and @Before annotations do not get called during test execution. Is this a known bug, or am I doing something wrong? -- Regards, Subhash Chandran S http://wizcrypt.wiztools.org/

Maven from command-line only?

2007-02-13 Thread lightbulb432
I understand there are Eclipse IDE plugins, but from downloading and trying one of them it seems like there's very little it actually does (at least from what I can tell), and they're quite poorly documented for total beginners like me. Based on your experience, do you mostly use Maven from the

RE: Maven, SCM and release builds

2007-02-13 Thread Jörg Schaible
Mark Struberg wrote on Tuesday, February 13, 2007 3:26 PM: Hi Jörg! The key difference is that the SCM section is in the PARENT POM and not in the modules POM. And the parent pom will not be checked in automatically by the release plugin if you only make a release:prepare and

RE: Maven, SCM and release builds

2007-02-13 Thread Mark Struberg
and this implies, that you name your directories exactly after your artifactIds ... You are right for our current configuration. But this is not necessarily stringent. In our parent pom, we did set the SCM module with the ${project.groupId}. scm:cvs:pserver:${cvs.username}:[EMAIL