RE: what's the difference between these two plugins?

2007-02-21 Thread EJ Ciramella
Yeah, JUST figured that one out. Why bother keeping the older one around? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 2:31 AM To: Maven Users List Subject: Re: what's the difference between these two plugins? First is a Mojo plugin

Re: tomcat:redeploy is not really deploy new version

2007-02-21 Thread Alexey Kakunin
Yes, Tomcat has problems with undeploying under Windows - but under Linux it always was ok. Seems tomcat plugin has same problem as described for Cargo here: http://jira.codehaus.org/browse/CARGO-419 Thank you for advice to look into JIRA - as result I found Cargo and, since such problem already

Ant Maven Tasks

2007-02-21 Thread Paul King
Hi, I couldn't find any info regarding the status of the ant maven tasks wrt to the 2.0.5 release. Are the ant tasks still at 2.0.4? Cheers, Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: tomcat:redeploy is not really deploy new version

2007-02-21 Thread Alexey Kakunin
So, I tried cargo:redeploy and it works quite fine for me. 2007/2/21, Alexey Kakunin [EMAIL PROTECTED]: Yes, Tomcat has problems with undeploying under Windows - but under Linux it always was ok. Seems tomcat plugin has same problem as described for Cargo here:

Re: tomcat:redeploy is not really deploy new version

2007-02-21 Thread Mark Hobson
Sounds similar to http://jira.codehaus.org/browse/MOJO-566. Tomcat does have some strange behaviour regarding reloading, which I've been meaning to look into properly sometime. Mark On 21/02/07, Alexey Kakunin [EMAIL PROTECTED] wrote: So, I tried cargo:redeploy and it works quite fine for me.

Maven/Codehaus JIRA NullPointerException

2007-02-21 Thread Gregory Kick
I was trying to create a new issue in JIRA and repeatedly get a 500 error caused by a NullPointerException. Can somebody look into this? I'd create an issue about it, but... ---stack trace--- java.lang.NullPointerException at

Re: castor m2 plugin

2007-02-21 Thread Manuel J. Recena Soto
Hi EJ Ciramella: I did have this problem a days ago. I removed my .m2 folder and later executed a mvn package p.e. Regards On Tue, 20 Feb 2007 20:14:20 -0500, EJ Ciramella wrote Is anyone using this? I have a child node that people would like to convert from an ant based castor generated

Using maven-changes-plugin

2007-02-21 Thread Jeff Mutonho
Anyone using the maven-changes-plugin ?May you share your configuration for this plugin , in your reporting section. Thanx -- Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042

Re: software bundles and maven repositories

2007-02-21 Thread Erik Ruisma
Thanks a lot for your replies. This solved my problem. This is what we did. We've added JAXP 1.3.2 to our internal repo using the following POM (by executing 'mvn deploy'): ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=

unused dependencies

2007-02-21 Thread Rodrigo Gonçalves
hi ! i'm migrating a big project from ant to maven2, i'm using maven 2.0.5. i wrote the pom.xml with the dependencies that we had on our lib directory, but i know that some of the dependencies are no longer being used, would like to know if there is a way to check automatically what are the

Re: Using maven-changes-plugin

2007-02-21 Thread Jochen Wiedmann
On 2/21/07, Jeff Mutonho [EMAIL PROTECTED] wrote: Anyone using the maven-changes-plugin ?May you share your configuration for this plugin , in your reporting section. As in http://maven.apache.org/plugins/maven-changes-plugin/usage.html -- Emacs 22 will support MacOS and CygWin. It is

Re: unused dependencies

2007-02-21 Thread Mark Hobson
On 21/02/07, Rodrigo Gonçalves [EMAIL PROTECTED] wrote: hi ! i'm migrating a big project from ant to maven2, i'm using maven 2.0.5. i wrote the pom.xml with the dependencies that we had on our lib directory, but i know that some of the dependencies are no longer being used, would like to know

[m2] Can't deploy site with maven 2.0.5

2007-02-21 Thread Elid OR
Hi all, When I execute the site deployment : mvn site:deploy that work with maven 2.0.4 I got this error on maven 2.0.5 : [INFO] [ERROR] BUILD ERROR [INFO]

Re: unused dependencies

2007-02-21 Thread Rodrigo Gonçalves
THX Mark this tool will help me a lot on the migration ! Mark Hobson wrote: On 21/02/07, Rodrigo Gonçalves [EMAIL PROTECTED] wrote: hi ! i'm migrating a big project from ant to maven2, i'm using maven 2.0.5. i wrote the pom.xml with the dependencies that we had on our lib directory, but i

Re: Splitting APT in multiple files

2007-02-21 Thread Roland Asmann
I know that link, but it is not really helping me... I read that a couple of times, but still can't figure out what to do... Some more explaining would be nice! Thanks, On Tuesday 20 February 2007 20:40, Dennis Lundberg wrote: Roland Asmann skrev: Hi, I want to write an APT document,

Classloading issues in offline mode with 2.0.5

2007-02-21 Thread Cagatay Civici
Hi, After switching to 2.0.5 from 2.0.4, classloading problems come up in offline mode. We have a custom plugin and it throws a NoClassDefFoundError in -o mode. When we turn off the -o mode off, it works ok. This was no issue when using 2.0.4. Any ideas? Regards, Cagatay Civici [EMAIL

multiple SNAPSHOT versions of same library in package

2007-02-21 Thread MJ . Volders
Hi All, recently we started working with maven (2.0.4) for our projects. For a couple of weeks everything went fine, but after a while when we ran the 'compile package' goals the WARs we were generating started to clutter up. I have a couple of jars which are built by a continuum server and

Problem using mvn site and mvn site-deploy

2007-02-21 Thread Tomas Malmsten
Hi all, I am having problems using the above commands. Maven can't resolve an artefact, the message is: [INFO] [ERROR] BUILD ERROR [INFO] [INFO]

Re: [m2] Can't deploy site with maven 2.0.5

2007-02-21 Thread David J. M. Karlsen
Elid OR wrote: Hi all, When I execute the site deployment : mvn site:deploy that work with maven 2.0.4 I got this error on maven 2.0.5 : Same here - is the issue registered? [INFO] [ERROR] BUILD ERROR [INFO]

Re: Maven 1.x issue

2007-02-21 Thread Dion Gillard
So has the dependency/jar element been removed/changed from the 1.x descriptor? On 2/21/07, Wayne Fay [EMAIL PROTECTED] wrote: Lukas already responded... There is no way to add dependencies without versions. Wayne On 2/20/07, Build Admin [EMAIL PROTECTED] wrote: Hi frenz What is the solution

Re: Using maven-changes-plugin

2007-02-21 Thread Jeff Mutonho
On 2/21/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: As in http://maven.apache.org/plugins/maven-changes-plugin/usage.html I had tried that , as shown below : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId

The PluginDescriptor for the plugin Plugin [...] was not found.

2007-02-21 Thread Tomas Hikl
Hi, I created my first simple maven plugin and successfully installed it. When I tried to use it in another project, it doesn't work... Error: java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin [Mav enPlugin:MavenPlugin] was not found. pom.xml: ... build

Re: I just don't understand

2007-02-21 Thread Tom Huybrechts
http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html I don't see why this wouldn't work for absolute paths. On 2/21/07, EJ Ciramella [EMAIL PROTECTED] wrote: If no one has a fix for this, how does one delete a directory created outside of the working

Re: Maven/Codehaus JIRA NullPointerException

2007-02-21 Thread Mathias Brökelmann
I got the same problem. 2007/2/21, Gregory Kick [EMAIL PROTECTED]: I was trying to create a new issue in JIRA and repeatedly get a 500 error caused by a NullPointerException. Can somebody look into this? I'd create an issue about it, but... ---stack trace--- java.lang.NullPointerException

Re: Problem using mvn site and mvn site-deploy

2007-02-21 Thread Borut Bolčina
Hello, I am having a similar issue trying to install freehep-rmic-plugin. This jar (archiva-utils) doesn't exist on ibiblio. Where is it? We use company repo with several mirrors to get artifacts. Missing: -- 1) org.apache.maven.archiva:archiva-utils:jar:1.0-SNAPSHOT Try downloading

Re: [m2] Maven 1.x issue

2007-02-21 Thread Arnaud HERITIER
It should work ;-) Even if it's not documented and it's not a good practice (but sometime we don't (want to) have the choice). Arnaud Dion Gillard-2 wrote: So has the dependency/jar element been removed/changed from the 1.x descriptor? On 2/21/07, Wayne Fay [EMAIL PROTECTED] wrote:

Re: Using maven-changes-plugin

2007-02-21 Thread Jochen Wiedmann
On 2/21/07, Jeff Mutonho [EMAIL PROTECTED] wrote: version2.0-beta-3-SNAPSHOT/version Why do you want to use a snapshot version? I'd simply remove the version number, as shown on the usage page. If so, you have posted the wrong question. Your question should be How do I use plugins

Failed to resolve artifact org.apache.maven.archiva:archiva-utils:jar:1.0-SNAPSHOT

2007-02-21 Thread Borut Bolčina
Hello, this seems the right place to ask. I am getting a build error becouse of missing artifact (archiva-utils). I can not install to my local repo as this jar is nowhere to be found. Please advise. [INFO] [ERROR]

Re: [m2] sql-maven-plugin, derby, and test cases - failed to start database

2007-02-21 Thread bkbonner
Dan, thanks for the quick reply. I'll look at your posts. Prior to getting your reply, I was trying to start the derby network server using the exec-maven-plugin. I ran into issues with this that I need to research and may require another post. Do you still need me to file a JIRA on this?

Re: [m2] sql-maven-plugin, derby, and test cases - failed to start database

2007-02-21 Thread bkbonner
Including the jdbc:derby:;shutdown with the skipOnConnectionErrortrue/skipOnConnectionError parameter in the 1.1-SNAPSHOT did the trick. Thanks for the help. For the benefit of others, I've added the following execution: execution

RE: castor m2 plugin

2007-02-21 Thread EJ Ciramella
Well I continue to get it. Any other suggestions guys? -Original Message- From: Manuel J. Recena Soto [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 4:40 AM To: Maven Users List Subject: Re: castor m2 plugin Hi EJ Ciramella: I did have this problem a days ago. I removed

Re: what's the difference between these two plugins?

2007-02-21 Thread Wayne Fay
Quite a few people are still using M1 in production environments around the world. It would be rather rude to delete old artifacts simply because they are not useful in M2. Wayne On 2/21/07, EJ Ciramella [EMAIL PROTECTED] wrote: Yeah, JUST figured that one out. Why bother keeping the older

Maven 1.x for ANT taskdef usage

2007-02-21 Thread Build Admin
Friends Can anyone help me how to use ANT taskdef in maven 1.x? Please show me the changes required in the following maven.xml. path id=project.class.path path refid=maven.dependency.classpath/ pathelement path=${basedir}/extra-libs/j2ee.jar/ pathelement path=${maven.src.dir}\main\webapp\lib/

why maven-2.0.5 not having latest plexus-utils-1.4?

2007-02-21 Thread Dan Tran
2.0.5 still have plexus-utils-1.1. Is it there intentionally? One of the benefit using plexus-util-1.4 is to solve http://jira.codehaus.org/browse/msurefire-49 -D

Re: what's the difference between these two plugins?

2007-02-21 Thread Jason van Zyl
On 21 Feb 07, at 10:08 AM 21 Feb 07, Wayne Fay wrote: Quite a few people are still using M1 in production environments around the world. It would be rather rude to delete old artifacts simply because they are not useful in M2. The fact is that we will eventually only be serving from an m2

Re: why maven-2.0.5 not having latest plexus-utils-1.4?

2007-02-21 Thread Jason van Zyl
On 21 Feb 07, at 10:18 AM 21 Feb 07, Dan Tran wrote: 2.0.5 still have plexus-utils-1.1. Is it there intentionally? One of the benefit using plexus-util-1.4 is to solve http://jira.codehaus.org/browse/msurefire-49 Make the fix version for the plexus-util issue 2.0.6. I can't remember

Hibernate3:hbm2doc

2007-02-21 Thread Crossley, Jim
Hi. I'm looking to take advantage of hibernate-tools' abililty to generate a graph of my entity relationships. After looking at MOJO-544 and MOJO-530, I thought it might be as easy as applying the attached patch to the source and setting the dotExecutable property, but that didn't work. I

RE: I just don't understand

2007-02-21 Thread EJ Ciramella
Thank you! When I get a spare moment, I'll give this a whirl. -Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 8:03 AM To: Maven Users List Subject: Re: I just don't understand

RE: what's the difference between these two plugins?

2007-02-21 Thread EJ Ciramella
Oh, I'm sorry, but I thought since it says maven2 in this repo that it was for maven2 only: http://repo1.maven.org/maven2/plexus/plexus-compiler-api/1.2/ For example... -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 10:08 AM To: Maven

Unable to create JIRA

2007-02-21 Thread Dan Tran
or it is just me. Here is stacktrace when I tried to hit create issue button java.lang.NullPointerException at com.atlassian.jira.plugin.webresource.JiraWebResourceIntegration.getBaseUrl(JiraWebResourceIntegration.java:42) at

Re: why maven-2.0.5 not having latest plexus-utils-1.4?

2007-02-21 Thread Dan Tran
I could not find any exising JIRA on this issue, so will create a new one for 2.0.6 however i think JIRA current reject any new issue ( NPE ) Thanks -D On 2/21/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 21 Feb 07, at 10:18 AM 21 Feb 07, Dan Tran wrote: 2.0.5 still have

Re: Unable to create JIRA

2007-02-21 Thread Jason van Zyl
On 21 Feb 07, at 10:37 AM 21 Feb 07, Dan Tran wrote: or it is just me. Here is stacktrace when I tried to hit create issue button We're actually waiting on Atlassian for a fix. Our hosting folks Contegix can't really do anything about it. Jason. java.lang.NullPointerException at

Re: why maven-2.0.5 not having latest plexus-utils-1.4?

2007-02-21 Thread Jason van Zyl
On 21 Feb 07, at 10:40 AM 21 Feb 07, Dan Tran wrote: I could not find any exising JIRA on this issue, so will create a new one for 2.0.6 however i think JIRA current reject any new issue ( NPE ) The issue is there, I've seen it. jason. Thanks -D On 2/21/07, Jason van Zyl [EMAIL

Assembly Plugin - unPackOptions

2007-02-21 Thread Randall Fidler
Has anybody had any luck with the unpack options for the assembly plugin 2.2-SNAPSHOT? I'm brining in a dependency which is, for the most part, a normal jar but has some *.dll's packaged with it. I'm trying to filter out the *.dll's from being the final grouped jar in which all the dependencies

RE: what's the difference between these two plugins?

2007-02-21 Thread Jörg Schaible
Since there is only one repo for M1 *and* M2, this was a false assumption ;-) EJ Ciramella wrote on Wednesday, February 21, 2007 4:35 PM: Oh, I'm sorry, but I thought since it says maven2 in this repo that it was for maven2 only:

site:deploy with scp and user/pass

2007-02-21 Thread Sebastian Breit
Hi, i have a problem with mvn site:deploy via scp. The call runs in a timeout while authenticating to the server: /var/log/messages Feb 21 16:37:25 server sshd[5594]: fatal: Timeout before authentication for :::xxx.xxx.xxx.xxx However the artifact deploy also with scp to the same

Re: why maven-2.0.5 not having latest plexus-utils-1.4?

2007-02-21 Thread Rémy Sanlaville
I created a jira for this last week. http://jira.codehaus.org/browse/MNG-2828 Rémy 2007/2/21, Jason van Zyl [EMAIL PROTECTED]: On 21 Feb 07, at 10:40 AM 21 Feb 07, Dan Tran wrote: I could not find any exising JIRA on this issue, so will create a new one for 2.0.6 however i think JIRA

Show the user who modified a file

2007-02-21 Thread Doug Tanner
I know that Continuum will show you who modified files in the build output log when it builds. Is there a setting that needs to be set to make this happen or does it do it by default? I have a couple of projects that do not show who checked in the modified files. Another business unit said they

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

2007-02-21 Thread Michal Hlavac
Dňa Ut 13. Február 2007 Johann Reyes napísal: Still after adding the export flag set to false, still tries to connect? Hello Johann, with componentProperties outputfilenameschema.sql/outputfilename exportfalse/export /componentProperties it works good without connecting to db server.

Re: why maven-2.0.5 not having latest plexus-utils-1.4?

2007-02-21 Thread Carlos Sanchez
i linked it to MNG-2252 that seems have been incorrectly closed On 2/21/07, Rémy Sanlaville [EMAIL PROTECTED] wrote: I created a jira for this last week. http://jira.codehaus.org/browse/MNG-2828 Rémy 2007/2/21, Jason van Zyl [EMAIL PROTECTED]: On 21 Feb 07, at 10:40 AM 21 Feb 07, Dan Tran

pde-maven-plugin usage

2007-02-21 Thread gciuloaica
Hi, I'm trying to wrap a jar in a plug-in. The jar is build using maven and deployed in local repository. In the pom.xml file of the Eclipse plug-in I'm setting a dependency to that artifact. I'm getting an error while maven is trying to build the plug-in in pde build.xml file complaining about

RE: castor m2 plugin

2007-02-21 Thread Manuel J. Recena Soto
Hi EJ Ciramella: On Wed, 21 Feb 2007 09:54:41 -0500, EJ Ciramella wrote Well I continue to get it. Any other suggestions guys? Could you send us the result of mvn -e [goals|phase]? If you prefer it send to my personal mail ([EMAIL PROTECTED]) Regards, -Original Message- From:

Re: pde-maven-plugin usage

2007-02-21 Thread Dan Tran
you will need to get maven-dependency-plugin to copy your dependent jars into the place where your eclipse PDE expected. -D On 2/21/07, gciuloaica [EMAIL PROTECTED] wrote: Hi, I'm trying to wrap a jar in a plug-in. The jar is build using maven and deployed in local repository. In the

Re: [m2] Making properties accessible in pom.xml

2007-02-21 Thread thuss2
Doesn't that presume that Maven is the only way that someone would want to build their software though? For example many developers build both from Maven and from the IDE (independently of Maven) to run tests. It sounds like with Maven 2 unless I want to repeat my properties in both pom.xml and

Do we allow to upload full asembly to maven central?

2007-02-21 Thread Dan Tran
Do we allow to upload full assembies such as those in http://db.apache.org/derby/releases/release-10.2.2.0.cgi ? This is helpful to unpack an application footprint like derby for integration testing purpose. -D

pde-plugin question

2007-02-21 Thread Sebastien Pennec
Hi all, I've been having a strange error when developing a plugin that uses JDK 1.5: the compilation fails because its target is JDK 1.3. My pom.xml contains only a simple pde-plugin declaration, like this: build plugins plugin groupIdorg.codehaus.mojo/groupId

Re: pde-plugin question

2007-02-21 Thread Dan Tran
pde-maven-plugin is just an wrapper of PDE headless ant build. you can add additional PDE setting via buildProperties http://mojo.codehaus.org/pde-maven-plugin/pde-mojo.html -D On 2/21/07, Sebastien Pennec [EMAIL PROTECTED] wrote: Hi all, I've been having a strange error when developing

NullPointerException during site-deploy

2007-02-21 Thread Jeff Mutonho
May someone help me with this problem.My build is failing with NullPointerException during site-deploy .I've ran 'mvn -X site-deploy' and got the following output(a bit long) . Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: 'D:\Documents and

Continuum with Postgres (under JBoss) ???

2007-02-21 Thread Thierry Lach
I'm trying to get Continuum to store its data in a postgres database while running under JBoss and I'm getting an exception. It seems that someone is trying to change the transaction isolation during a transaction. I'm running postgres 8.1.4-1 on MS Windows (and am using the driver jar

Problem building with Continuum

2007-02-21 Thread Doug Tanner
Today, I began experiencing build problems with Continuum due to the following error. The pom in question is in the repository. I have tried deleting the file from the repo and adding it back in to no avail. Below the error message is my m2 settings.xml file.

Re: pde-plugin question

2007-02-21 Thread Sebastien Pennec
Hello Dan, Thanks for the hint, that's exactly what I needed :) Cheers, Sébastien Dan Tran wrote: pde-maven-plugin is just an wrapper of PDE headless ant build. you can add additional PDE setting via buildProperties http://mojo.codehaus.org/pde-maven-plugin/pde-mojo.html -D On

RE: Maven/Codehaus JIRA NullPointerException

2007-02-21 Thread Brian E. Fox
Yes, I just get a blank page. -Original Message- From: Mathias Brökelmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 8:21 AM To: Maven Users List; dev@maven.apache.org Subject: Re: Maven/Codehaus JIRA NullPointerException I got the same problem. 2007/2/21, Gregory

500 Error on Jira website

2007-02-21 Thread bkbonner
I just tried to create a new issue out on Jira: The URL was: http://jira.codehaus.org/secure/CreateIssue!default.jspa and received: 500 Servlet Exception java.lang.NullPointerException at

exec-maven-plugin = path with spaces is truncated

2007-02-21 Thread bkbonner
I tried running the following POM using: mvn generate-sources POM: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions

Re: 500 Error on Jira website

2007-02-21 Thread Wayne Fay
Post a bug in JIRA.. Just kidding. You're the 3rd or 4th person to report this... I have to imagine the Codehaus people are working on it. Wayne On 2/21/07, bkbonner [EMAIL PROTECTED] wrote: I just tried to create a new issue out on Jira: The URL was:

Re: [m2] 500 Error on Jira website

2007-02-21 Thread bkbonner
:) Just wanted to make sure folks were aware. I looked at the prior posts and didn't see it, or I wouldn't have posted it. Sorry. -- View this message in context: http://www.nabble.com/500-Error-on-Jira-website-tf3268878s177.html#a9088001 Sent from the Maven - Users mailing list archive at

exec-maven-plugin = using exec to run a java program

2007-02-21 Thread bkbonner
Related to my earlier post about the spaces. I moved my project to C:\pim-biz Here's the fragment of my POM: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId

Re: [m2] exec-maven-plugin = path with spaces is truncated

2007-02-21 Thread bkbonner
It seems that 1.1-SNAPSHOT on codehaus repository fixes this problem. Is there any chance of a 1.1 release for this exec-maven-plugin? Brian -- View this message in context: http://www.nabble.com/exec-maven-plugin--%3D--path-with-spaces-is-truncated-tf3268904s177.html#a9088232 Sent from the

Specifying a New Package Type

2007-02-21 Thread Ole Ersoy
Hi, I'm trying to specify a new package type. I did everything the maven guide said, but maven still barks when I try to run the new lifecycle. So I tried looking at the webapp plugin, to see if it did anything different. In the guide it says to add a META-INF/plexus/components.xml to the

Re: Specifying a New Package Type

2007-02-21 Thread Ole Ersoy
Wait - Got it - I had META-INF/plexus/components.xml in the root of the plugin development directory instead of src/main/resources. Now it's here: src/main/resources/META-INF/plexus/components.xml and all is good. Cheers, - Ole --- Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I'm trying

Re: Specifying a New Package Type

2007-02-21 Thread Ole Ersoy
Oh oh - When I run the plugin for the new packaging, it runs fine, but when I run eclipse:eclipse it says that it can't find the lifecycle-mapping for the packaging. Ideas? Thanks, - Ole --- Ole Ersoy [EMAIL PROTECTED] wrote: Wait - Got it - I had META-INF/plexus/components.xml in

Maven skip war

2007-02-21 Thread jthurst
Hello, I've been struggled many times to find a way to skip the generation of the war file. I want the webapp to be built but don't want the war file to be created ever time b/c it takes too long. Is there a way to accomplish this. If not, maybe there could be a new packaging type called

Re: pde-maven-plugin usage

2007-02-21 Thread Barrie Treloar
On 2/22/07, Dan Tran [EMAIL PROTECTED] wrote: you will need to get maven-dependency-plugin to copy your dependent jars into the place where your eclipse PDE expected. See http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin for how to use maven-dependency-plugin to create your eclipse

Cannot execute mojo: resources (in Cygwin)

2007-02-21 Thread jthurst
I get the following error message: Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one However, I do have a proper pom.xml. This only happens from a Cygwin bash shell. If I open a DOS cmd window in the same directory I will not get

Re: [m2] Cannot execute mojo: resources (in Cygwin)

2007-02-21 Thread jthurst
Oddly mvn resources:resources builds fine. I wonder which resources mojo is failing when I do a mvn install -- View this message in context: http://www.nabble.com/Cannot-execute-mojo%3A-resources-%28in-Cygwin%29-tf3269563s177.html#a9090098 Sent from the Maven - Users mailing list archive at

Possible Archetype Copy bug WRT PNG Images?

2007-02-21 Thread Ole Ersoy
Hi, I have an archetype containing a png image. When I create an archetype instance, the png image is not the same as the one in the archetype definition. Has anyone else seen this? Ideas? Thanks, - Ole

Re: Maven skip war

2007-02-21 Thread Greg_Vaughn
jthurst [EMAIL PROTECTED] wrote on 02/21/2007 03:46:16 PM: Hello, I've been struggled many times to find a way to skip the generation of the war file. I want the webapp to be built but don't want the war file to be created ever time b/c it takes too long. Is there a way to accomplish

Re: Maven 1.x for ANT taskdef usage

2007-02-21 Thread Arnaud HERITIER
What is your problem ? It doesn't work ? Have a look at the code of our plugins : http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/ for several plugins (checkstyle, clover, ..) we use ant taskdef in the scripts (plugin.jelly) Arnaud On 2/21/07, Build Admin [EMAIL PROTECTED] wrote:

Re: Possible Archetype Copy bug WRT PNG Images?

2007-02-21 Thread Wayne Fay
Not the same meaning what exactly? The binary files are not identical? Or you were expecting a picture of a cat and it was replaced with a picture of a dog? ;-) Did you try extracting the file from the archetype jar (in your m2 repo) and confirm the file was stored properly? There's only so many

.NET with Continuum

2007-02-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have a scheduled task which runs a batch build/deploy script in Continuum. Is there a way to run Nunit tests in Continuum and display the results appropriately? Looking forward to your reply. Thanks. This message (including any attachments) contains confidential information intended for a

Re: [m2] Maven skip war

2007-02-21 Thread jthurst
That works for me. Thanks a lot! -- View this message in context: http://www.nabble.com/Maven-skip-war-tf3269508s177.html#a9091780 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Possible Archetype Copy bug WRT PNG Images?

2007-02-21 Thread Ole Ersoy
Well, I was expecting a picture of Cindy Crawford, and instead it's a picture of my mother in law :-) I think something happens due to maven attempting parameter replacement, because I get this when I run the archetype: [WARNING] org.apache.velocity.runtime.exception.ReferenceException:

Passing the value of the pom name

2007-02-21 Thread Ole Ersoy
Hi, Does anyone know how to pass the name value to archetype:create command? I tried -Dname=TheName but the pom still gets created with ${name} instead of TheName Thoughts? Thanks, - Ole Bored stiff?

Passing the value of the pom name

2007-02-21 Thread Ole Ersoy
Hi, I'm trying to pass the pom name element value to the archetype:create command. I tried -Dname=TheName but the pom still gets created with ${name} instead of TheName Thoughts? Thanks, - Ole Food

how to include a local jar in compile path

2007-02-21 Thread igah
hi there, if i have a file in the directory project_home/lib/foo.jar that i want to use in my compilation. how can i do it? i tried to specify a system dependency but then i was required to give the absolute path. but this project_home really is just the working directory root which is different

Formation rules for repositories

2007-02-21 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
Is there a definition someplace of what constitutes a valid repository? I would like the definition both for local repositories and for remote repositories. I've read and searched BBwM; read the docs in the Maven Getting Started Guide on the Maven web site, as well as other docs on that site.

Re: [m2] [mojo-dev] Re: Terracotta Maven plugin(s), anyone?

2007-02-21 Thread Jim Bethancourt
I've started / moved the discussion over to the terracotta-dev mailing list (you can find it on www.terracotta.org) It looks like the first thing we'll need to do before we move forward is to first Mavenize the Terracotta build and post them on a repository, and then write plugins that make it

Re: Passing the value of the pom name

2007-02-21 Thread Gregory Kick
Ole, Take a look at http://jira.codehaus.org/browse/ARCHETYPE-55 If you apply the patch it will work. On 2/21/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I'm trying to pass the pom name element value to the archetype:create command. I tried -Dname=TheName but the pom still gets created with

Re: Formation rules for repositories

2007-02-21 Thread Wendy Smoak
On 2/21/07, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) [EMAIL PROTECTED] wrote: Is there a definition someplace of what constitutes a valid repository? I would like the definition both for local repositories and for remote repositories. If you find it, let me know. :) It's on my

Re: Making properties accessible in pom.xml

2007-02-21 Thread Marcos Silva Pereira
You could create a simple mojo to do it. Maybe you can put your properties in pom and make them disposable using filter to replace keys in your database.properties. For example: properties driverthe.driver.Class/driver /properties And inside your database.properties: driver=${driver} So,

Re: Formation rules for repositories

2007-02-21 Thread Kalle Korhonen
This won't get you any further in finding the missing documentation, but couldn't you just use the assembly plugin to create the repository ( http://maven.apache.org/plugins/maven-assembly-plugin/howto.html)? Kalle On 2/21/07, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) [EMAIL

Re: [m2] [mojo-dev] Re: Terracotta Maven plugin(s), anyone?

2007-02-21 Thread Eric-Ellis
Hi Jim, Just wanna let you guys know that Jason (he'll respond to the dev list) should be your point of contact with Terracotta Dev. He's in charge of our build system and is familiar with the 5000 some odd lines of Ruby code. Also, so we don't get too much heat for it, I did set up Ivy to

Re: how to include a local jar in compile path

2007-02-21 Thread Dan Tran
take advantage of ${basedir} which is the directory that hosts your pom.xml -D On 2/21/07, igah [EMAIL PROTECTED] wrote: hi there, if i have a file in the directory project_home/lib/foo.jar that i want to use in my compilation. how can i do it? i tried to specify a system dependency but

Re: how to include a local jar in compile path

2007-02-21 Thread Marcos Silva Pereira
Seems to me, the best approach is install file in local repository. Search for install:install-file in Maven docs. Kind Regards. On 2/21/07, igah [EMAIL PROTECTED] wrote: hi there, if i have a file in the directory project_home/lib/foo.jar that i want to use in my compilation. how can i do

Re: Mojo accessing project properties

2007-02-21 Thread Marcos Silva Pereira
Hi, you need annotate you mojo with @requiresProject tag: /** * Verifies that the dependencies of the project are official. * * @goal verify * * @phase validate * @requiresProject * @requiresDependencyResolution */ public class VerifyDependenciesMojo extends AbstractMojo { ... } So, maven will

Re: Formation rules for repositories

2007-02-21 Thread Carlos Sanchez
plugins need maven-metadata.xml files listing all plugins available in a groupId for instance http://repo1.maven.org/maven2/org/apache/maven/plugins/ All artifacts need maven-metadata.xml listing all versions, although only for some operations, like version ranges eg

Re: Build-number plug-in and install goal conflict?

2007-02-21 Thread Julian Wood
I'm not sure. I don't actually use buildNumber in finalName, because there are multiple places throughout the build/release cycle where maven simply ignores that value and uses it's own finalName. This has been brought up before, and it's not likely to change. That said, I'm not sure

Re: unused dependencies

2007-02-21 Thread Tony Ambrozie
I believe the correct locations are: https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-dependency-analyzer-plugin/ and https://svn.apache.org/repos/asf/maven/sandbox/trunk/shared/maven-dependency-analyzer/ Thanks' On 2/21/07, Mark Hobson [EMAIL PROTECTED] wrote: On

Re: Do we allow to upload full asembly to maven central?

2007-02-21 Thread Dan Tran
Carlos? :-) any thoughts? Thanks On 2/21/07, Dan Tran [EMAIL PROTECTED] wrote: Do we allow to upload full assembies such as those in http://db.apache.org/derby/releases/release-10.2.2.0.cgi ? This is helpful to unpack an application footprint like derby for integration testing purpose.

RE: Formation rules for repositories

2007-02-21 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
Thanks, that's very interesting. I'll try it out tomorrow. --Marilyn -Original Message- From: Kalle Korhonen [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 9:41 PM To: Maven Users List Subject: Re: Formation rules for repositories This won't get you any further in

  1   2   >