Re: [MOJO] What s the dependency including MavenProject class ?

2007-06-14 Thread Napoleon Esmundo C. Ramirez
Hello Alexandre, To help you fiddle with it, MavenProject is located in org.apache.maven:maven-project. Just check out the latest release. :) Cheers! Nap On 6/14/07, Maria Odea Ching [EMAIL PROTECTED] wrote: That's already included in Maven core.. you can find it inside the uber jar in your

Re: Maven assembly plugin question

2007-06-14 Thread Kannan Ekanath
Hi, Thanks, I seem to get it. While doing a mvn assembly:assembly it is showing me a myapp.zip however, when I do a mvn install i assumed this file will be stored in the .m2\repo it is still showing as package-0.3-SNAPSHOT.zip and not myapp.zip(myapp.zip gets copied into the m2\repo as

Re: Maven assembly plugin question

2007-06-14 Thread Wendy Smoak
On 6/13/07, Kannan Ekanath [EMAIL PROTECTED] wrote: Thanks, I seem to get it. While doing a mvn assembly:assembly it is showing me a myapp.zip however, when I do a mvn install i assumed this file will be stored in the .m2\repo it is still showing as package-0.3-SNAPSHOT.zip and not

RE: Overriding properties in a dependency's pom.xml

2007-06-14 Thread Jörg Schaible
Hi Dan, mojavelinux wrote on Thursday, June 14, 2007 2:11 AM: Damn, I just bumped in to this problem only to find that there is still no solution. I am trying to do a very similar thing. When one of my libraries depends on hibernate, for example, I am using properties in the deployed pom

Re: How do I use release:perform to deploy artifacts other than jar files?

2007-06-14 Thread Antonio Petrelli
2007/6/13, Danny MacMillan [EMAIL PROTECTED]: Now I want to create a release. I was able to successfully run release:prepare and release:perform, but it deployed into the repository just the jar file, when what I want to deploy is the zip file. Is that possible? Sure, see:

Re: [MOJO] What s the dependency including MavenProject class ?

2007-06-14 Thread Alexandre Touret
Thanks Alexandre Napoleon Esmundo C. Ramirez a écrit : Hello Alexandre, To help you fiddle with it, MavenProject is located in org.apache.maven:maven-project. Just check out the latest release. :) Cheers! Nap On 6/14/07, Maria Odea Ching [EMAIL PROTECTED] wrote: That's already included

maven, i18n and xliff

2007-06-14 Thread mljv
Hi folks, does anybody know of a maven plugin which supports translation process of properties files and jsp? I did some research on this topic: The best open source tool around for translating seems to be OpenLanguageTool, it has nice filters transforming source to xliff, has a translation

Re: maven-scm-plugin verbose

2007-06-14 Thread Jeff Mutonho
On 6/13/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: you can use the mvn -X parameter. Well , I'm using Continuum to launch the maven builds Don't take the name of root in vain. Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine Registered Linux user

Maven versioning

2007-06-14 Thread Wim Deblauwe
Hi, I was looking for information about the version numbers that maven understands and came across this document: http://docs.codehaus.org/display/MAVEN/Versioning Is this the current state? If not, where can I find it? I want to release something with a version number that has no official

Re: Ant task executing twice

2007-06-14 Thread Jeff Mutonho
Thanx . Would definitely like to get a patch for this. On 6/13/07, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi Jeff, this is/was a bug we encountered in 2.0.4 and my colleague just fixed over the evening by patching the Maven libs ... :-( If this is still an issue I will remind him to sent

Re: What ** means ?

2007-06-14 Thread Lukas Theussl
It's the same as ant patterns: http://ant.apache.org/manual/dirtasks.html#patterns HTH, -Lukas Johan Iskandar wrote: maven.multiproject.includes=**/project.xml I think it means all project.xml files in all directories that has project.xml that's relative to base directory.

Re: Using profiles in a webapp

2007-06-14 Thread aemm
it works Thanks a lot. another question: I want to exclude de /lib directory containing all the jar's when I create de .war file to deploy in the server, because the instance where I deploy my application already have a classpath containing all the libraries requiered. any idea? any

Exclude libs in a webapp deployment

2007-06-14 Thread aemm
hi people! I have a problem and I want some help, please. I want to exclude de /WEB-INF/lib directory (that was generated automatically by Maven) when I compile-package my application and contains all the jar's when I create de .war file to deploy in the server. I want to exclude it from the

Re: Maven versioning

2007-06-14 Thread Napoleon Esmundo C. Ramirez
Hello Wim, The page you posted contains the implemented versioning scheme of maven. You can refer to that for releases. As for distinguishing your snapshot builds, you can check on uniqueVersiontrue/uniqueVersion in distribution management. Cheers! Nap On 6/14/07, Wim Deblauwe [EMAIL

RE: [POLL] maven-enforcer-plugin rules

2007-06-14 Thread ehsavoie
1/I don't know if you want to add a new Method to your interface or maybe add the possibility to specify the helper. 2/As for the script you can evaluate a reader instead of just a line, so we could get a path to a file as a property. Currently we need to have a boolean return value since

Profiles and inheritance

2007-06-14 Thread Torsten Marek
Hi all, I have a problem wrt profile reusability and inheritance and currently I'm not sure if what I want to do is even possible. - in a large projects with ~40 sub-projects, we want to add a special builder to the Eclipse project configuration for selected projects and also write a

Re: Maven versioning

2007-06-14 Thread Jo Vandermeeren
On 6/14/07, Wim Deblauwe [EMAIL PROTECTED] wrote: I want to release something with a version number that has no official release yet. How should I give it it's version number so that the final release will be considered later? For instance, currently they are at 1.0-SNAPSHOT, final version

[Maven Properties] : Using a filter property directly in my pom.xml

2007-06-14 Thread Bernier David
Hi all, I'm a new user on Maven since few weeks and i'd like to know how can i use a property defined in a filter properties file directly in my pom.xml ? Here is an example : * the file filter.properties contains this property : my_prop=a_value * in my pom.xml i have :

Packaging an EAR application for glassfish

2007-06-14 Thread A. Alonso Domínguez
Hi there, I'm developing an enterprise application that should be deployed on Glassfish. I'm using the last version of the maven-ear-plugin but I found a problem with the packaging of the application. My application needs an additional file sun-application.xml, this file is placed at

Re: New User

2007-06-14 Thread Sean Qiu
It is wonderful and helpful. Thanks. 2007/6/13, Vanja Petreski [EMAIL PROTECTED]: Hi, http://maven.apache.org/ http://www.mergere.com/m2book_download.jsp http://www.sonatype.com/book/index.html http://en.wikipedia.org/wiki/XML http://www.google.com Vanja On 6/13/07, Choudhary, Jay [EMAIL

Re: Using profiles in a webapp

2007-06-14 Thread Kristian Nordal
Hi, Use the the provided scope on your dependencies. -- Cheers, Kristian On 6/14/07, aemm [EMAIL PROTECTED] wrote: it works Thanks a lot. another question: I want to exclude de /lib directory containing all the jar's when I create de .war file to deploy in the server, because the

Re: Exclude libs in a webapp deployment

2007-06-14 Thread Napoleon Esmundo C. Ramirez
Hello, Just specify scopeprovided/scope to whatever dependencies you expect in the container, and it'll do fine. Cheers! Nap On 6/14/07, aemm [EMAIL PROTECTED] wrote: hi people! I have a problem and I want some help, please. I want to exclude de /WEB-INF/lib directory (that was generated

Changelog fails ...

2007-06-14 Thread Jens Hohl
I execute Changelog Plugin 2.3 which fails, anyone can tell me why ? It seems like passed SVN parameter are wrong ? [INFO] [site:stage] [INFO] Skipped Maven Surefire Report report, file Testergebnisse JUnit.html already exists for the German version. [INFO] Generate Change Log

Re: best location of parent pom in multi-module builds / subversion

2007-06-14 Thread ossi petz
Hallo thanks for the input! so if i use relative paths for the parent pom the maven release plugin will fail? so you need to create a subversion repository for every parent-pom? i tried to 'steal' some ideas from the apache subversion repository. but that pom structure is beyond what i can

Re: Profiles and inheritance

2007-06-14 Thread ossi petz
Hallo from what i've read in this list somewhere: profiles are not inherited to sub-modules. so the profile will not appear as activated. but nontheless the effects of a parent-pom profile are inherited to the child-modules. so es you should be able to define a profile in the parent pom and

Don't understand generating webstart application

2007-06-14 Thread Jansen Werner
Hi *, I'm trying to generate a webapp that contains my application and a jnlp to start it, but I don't understand what's written on http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plu gin/howto.html Perhaps, I'm not deep enough into maven to do this. What I have: A maven

Re: Packaging an EAR application for glassfish

2007-06-14 Thread Stephane Nicoll
Hi, Read the plugin's doc[1]. Extra files to be added in the EAR are placed in src/main/application (earSourrceDirectory) Cheers, Stéphane [1] http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html On 6/14/07, A. Alonso Domínguez [EMAIL PROTECTED] wrote: Hi there, I'm developing an

How to parse pom.version

2007-06-14 Thread Libor Kramoliš
Hello. I would like to get to single version numbers of whole artifact version, i.e. I would like to parse ${pom.version} and store each number in different property, e.g. ${version.major}, ${version.middle}, ${version.minor} or more generally: ${pom.versions[0], ${pom.versions[1], etc. Reason?

Re: Maven versioning

2007-06-14 Thread Wim Deblauwe
Do you mean that: 1.0 1.0-rc1 1.0.1 1.0 what about 1.0.rc1, is that bigger then 1.0? regards, Wim 2007/6/14, Jo Vandermeeren [EMAIL PROTECTED]: On 6/14/07, Wim Deblauwe [EMAIL PROTECTED] wrote: I want to release something with a version number that has no official release yet. How

Re: Changelog fails ...

2007-06-14 Thread Jeff Mutonho
[INFO] Working directory: Q:\ anproject \src\main\java [ERROR] Provider message: [ERROR] The svn command failed. Have you tried getting the debug output? -- Don't take the name of root in vain. Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine

Re: filtering issues in assembly plugin

2007-06-14 Thread Jim Crossley
I see this, too, though I don't know why. The previous version used to work. I guess I second the nudge. :-) Jim Karan Malhi [EMAIL PROTECTED] writes: **--nudge--** On 6/8/07, Karan Malhi [EMAIL PROTECTED] wrote: I have a module named assembly. I am using the assembly plugin 2.1 . if

[INFO] The packaging for this project did not assign a file to the build artifact

2007-06-14 Thread kelvin goodson
Can someone help me figure out what's need to fix this error please? (see subject of email and dump of command execution below) I'm sure this build operation worked a month ago. I have upgraded to maven 2.0.6 in that time if that's of any interest. I've looked at the deploy:deploy parameters,

XML-RPC interface not working in 1.1-alpha?

2007-06-14 Thread Jan Lisse
Hi, i'm using continuum 1.1-alpha and want to access its XML-RPC interface. When i start the server on a Linux (Open Suse 10.2) or on a Mac OS X system it is accessable via Webinterface but the XML-RPC interface on Port 8000 is not accessable. There is no process listening on port 8000 at all.

Enterprise M2 repository stored in subversion

2007-06-14 Thread Raphaël Piéroni
Hi, i have googled for an answer on the question whether it is possible to store an entreprise Maven repository in subversion and build a freshly checkouted project in a computer with an empty local repository. obviously the project's pom will contain the url to the svn repository. but what

Re: XML-RPC interface not working in 1.1-alpha?

2007-06-14 Thread Wendy Smoak
On 6/14/07, Jan Lisse [EMAIL PROTECTED] wrote: i'm using continuum 1.1-alpha and want to access its XML-RPC interface. When i start the server on a Linux (Open Suse 10.2) or on a Mac OS X system it is accessable via Webinterface but the XML-RPC interface on Port 8000 is not accessable. There is

Re: Enterprise M2 repository stored in subversion

2007-06-14 Thread Wendy Smoak
On 6/14/07, Raphaël Piéroni [EMAIL PROTECTED] wrote: i have googled for an answer on the question whether it is possible to store an entreprise Maven repository in subversion and build a freshly checkouted project in a computer with an empty local repository. obviously the project's pom will

Compile dont work

2007-06-14 Thread MPF
Hi! I get following error if i try to compile my project: C:\work\projects\GATHER~1mvn clean compile [INFO] Scanning for projects... [INFO] - --- [INFO] Building A custom project using myfaces [INFO]task-segment: [clean,

Re: Enterprise M2 repository stored in subversion

2007-06-14 Thread Raphaël Piéroni
Wendy, Many thanks for the answer. What is the way to transform a local repository in such a 'remote' repository i think the metadatas will be a bit corrupted (or at least wrongly named). Raphaël 2007/6/14, Wendy Smoak [EMAIL PROTECTED]: On 6/14/07, Raphaël Piéroni [EMAIL PROTECTED] wrote:

Re: Compile dont work

2007-06-14 Thread Wendy Smoak
On 6/14/07, MPF [EMAIL PROTECTED] wrote: I get following error if i try to compile my project: C:\work\projects\GATHER~1mvn clean compile ... [INFO] Compilation failure C:\work\projects\GATHER~1\src\main\java\at\pcd\wam\technologie\utility\dataholde r\jsf\DataList.java:[26,21] generics are

Excluding target folder in Eclipse

2007-06-14 Thread Nunn, Gerald
I am using Eclipse 3.2 and was wondering if there was any way to exclude the target folder that is generated with a Maven build from the Eclipse project. The problem with the target folder is that some projects will generate an artifact that one of the Eclipse validators will consider an error,

How to add file to war META-INF dir

2007-06-14 Thread Farrukh S. Najmi
Dear colleagues, My maven2 war project produces a file under the target tree as part of the generate-source phase: target/somedirectory/META-INF/somefile How can I include this file under the META-INF directory of the packaged war as follows: META-INF/somefile Thanks for your help.

Unwanted classes appearing in package

2007-06-14 Thread Martin Gilday
I am writing a collection of JMock 2 matchers. These are placed in src/test/java. In my POM I have jmock-junit3 as an optional dependency, as only some of the projects that will use this project will want to use the matchers in it. Now when I perform a package the classes from hamcrest-api (one

Re: Exclude libs in a webapp deployment

2007-06-14 Thread aemm
Thanks a lot! It perfectly works for me :) Napoleon Esmundo Ramirez wrote: Hello, Just specify scopeprovided/scope to whatever dependencies you expect in the container, and it'll do fine. Cheers! Nap On 6/14/07, aemm [EMAIL PROTECTED] wrote: hi people! I have a problem

Re: Using profiles in a webapp

2007-06-14 Thread aemm
Thanks!! Perfect :computer-user: Kristian Nordal wrote: Hi, Use the the provided scope on your dependencies. -- Cheers, Kristian On 6/14/07, aemm [EMAIL PROTECTED] wrote: it works Thanks a lot. another question: I want to exclude de /lib directory containing all the

NullPointerException in ArtifactUtils.copyArtifact when generating site

2007-06-14 Thread Ole-Martin Mørk
Using maven 2.0.6 I get an error when running 'mvn site' The error is: [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for project: null:maven-idea-plugin:maven-plugin:2.1-SNAPSHOT from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for

webstart plugin status?

2007-06-14 Thread Wim Deblauwe
What is the current status of the webstart plugin? I am working with 1.0-alpha-2-SNAPSHOT for some time now and it works for me. What is the timeframe for the next release? regards, Wim -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog:

Re: How to add file to war META-INF dir

2007-06-14 Thread Alexandre Touret
Hello, probably, you could add the directory META-INF in your resource directory like src/main/resources/META-INF It should work Alexandre Farrukh S. Najmi a écrit : Dear colleagues, My maven2 war project produces a file under the target tree as part of the generate-source phase:

Re: How to add file to war META-INF dir

2007-06-14 Thread Farrukh S. Najmi
Thanks Alexandre, but I do not have the option to change the directory where my file is produced (it is under target tree). This must be a common need to include META-INF files from target tree? Any other suggestions? Alexandre Touret wrote: Hello, probably, you could add the directory META-INF

Re: How to add file to war META-INF dir

2007-06-14 Thread Alexander Sack
Can you give an example? Also, why can't you change where the target is produced? -aps On 6/14/07, Farrukh S. Najmi [EMAIL PROTECTED] wrote: Thanks Alexandre, but I do not have the option to change the directory where my file is produced (it is under target tree). This must be a common need

Re: [Maven Properties] : Using a filter property directly in my pom.xml

2007-06-14 Thread Steven Rowe
Hi David, Bernier David wrote: I'm a new user on Maven since few weeks and i'd like to know how can i use a property defined in a filter properties file directly in my pom.xml ? [snip] How can i use an external file containg my property used in the pom.xml in an another ways than defining

Re: How to add file to war META-INF dir

2007-06-14 Thread Farrukh S. Najmi
Alexander Sack wrote: Can you give an example? Also, why can't you change where the target is produced? Hi Alexander, There is a complex dependency on various plugin and underlying libraries that does not offer much flexibility in where the file is produced. The example is the one I gave

Re: modifying pom.xml for public release

2007-06-14 Thread Eric Redmond
Try the release plugin: http://maven.apache.org/plugins/maven-release-plugin/ Eric On 6/3/07, Nathan Coast [EMAIL PROTECTED] wrote: Hi, Is it possible to modify pom files during release / deployment? E.g. remove build-time dependencies and plugins configurations? I'd prefer the released

Re: How to add file to war META-INF dir

2007-06-14 Thread Wayne Fay
If you can't control where it is being created, perhaps you should use the antrun plugin to copy the file to where you need it after it has been generated. Wayne On 6/14/07, Farrukh S. Najmi [EMAIL PROTECTED] wrote: Alexander Sack wrote: Can you give an example? Also, why can't you change

Re: How to add file to war META-INF dir

2007-06-14 Thread Alexandre Touret
I guess that the easier way to resolve this issue is to create a ant script which might be started after this build under the maven-ant-plugin . Alexandre Farrukh S. Najmi a écrit : Alexander Sack wrote: Can you give an example? Also, why can't you change where the target is produced?

Re: How to parse pom.version

2007-06-14 Thread Steven Rowe
Hi Libor, Libor Kramoliš wrote: Is it possible to make some properties hook to enhance set of properties after pom reading and before starting of first goal execution of any lifecycle/phase? You could take a look at the source for the properties-maven-plugin, which injects properties read

copy file in maven

2007-06-14 Thread acec acec
hi, What's the easiest way to copy file in maven? Should I use ant plugin to do that? Thanks. Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

Re: Adjust source-repository.html?

2007-06-14 Thread Dennis Lundberg
Wim Deblauwe wrote: Hi, Is there a way to adjust the source-repository.html page that gets generated by maven-site-plugin? I would like to add a link to the fisheye instance on that page. Is this possible? You could set the scmurl element in your pom.xml to point to fisheye. regards,

Re: How to add file to war META-INF dir

2007-06-14 Thread Farrukh S. Najmi
Thanks. I guess that is what I will have to do. I have filed the following issue requesting this RFE: http://jira.codehaus.org/browse/MWAR-105 Thanks very much for all your help. Wayne Fay wrote: If you can't control where it is being created, perhaps you should use the antrun plugin to

Re: How to parse pom.version

2007-06-14 Thread Eric Redmond
On 6/14/07, Steven Rowe [EMAIL PROTECTED] wrote: Hi Libor, Libor Kramoliš wrote: Is it possible to make some properties hook to enhance set of properties after pom reading and before starting of first goal execution of any lifecycle/phase? You could take a look at the source for the

Re: Changelog fails ...

2007-06-14 Thread Dennis Lundberg
Jens Hohl wrote: I execute Changelog Plugin 2.3 which fails, anyone can tell me why ? It seems like passed SVN parameter are wrong ? The first thing to try is to run the svn command, mentioned below, on the command line. [INFO] [site:stage] [INFO] Skipped Maven Surefire

Re: [ot] JDeveloper genInterface verse Axis wsdl2java

2007-06-14 Thread Wayne Fay
Mick, have you tried creating output from genInterface and Axis and compared the two? If not, could I ask you do this? I'm curious about this issue... I actually got interested in this a bit and used JAD to decompile the Oracle classes to see what exactly is going on. Here's my analysis:

Re: Maven versioning

2007-06-14 Thread Eric Redmond
On 6/14/07, Napoleon Esmundo C. Ramirez [EMAIL PROTECTED] wrote: Hello Wim, The page you posted contains the implemented versioning scheme of maven. That is a discussion of the versioning scheme to be released in 2.1. Not available in 2.0.x You can refer to that for releases. As for

Re: How to add file to war META-INF dir

2007-06-14 Thread Eric Redmond
I'm confused... why can't you use the archive configuration of the war:war goal? http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html Eric On 6/14/07, Farrukh S. Najmi [EMAIL PROTECTED] wrote: Thanks. I guess that is what I will have to do. I have filed the following issue

Re: copy file in maven

2007-06-14 Thread Eric Redmond
Yeah, ant is the easiest way. Eric On 6/14/07, acec acec [EMAIL PROTECTED] wrote: hi, What's the easiest way to copy file in maven? Should I use ant plugin to do that? Thanks. Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know

Re: How to add file to war META-INF dir

2007-06-14 Thread Farrukh S. Najmi
Hi Eric, The docs are not obvious to me. Do I need to write code for this? If not, can you give an example please. Thanks. Eric Redmond wrote: I'm confused... why can't you use the archive configuration of the war:war goal? http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html

Re: copy file in maven

2007-06-14 Thread Jeff Mutonho
On 6/14/07, Eric Redmond [EMAIL PROTECTED] wrote: Yeah, ant is the easiest way. Eric Or you can try this : http://quebbemann.kicks-ass.net/development/qu-base/maven-plugins/copy-maven-plugin/index.html Don't take the name of root in vain. Jeff Mutonho Cape Town South Africa

Re: redirection error

2007-06-14 Thread Maria Odea Ching
You need to have an archiva.xml file in your local repo, just under .m2 dir. This is where the managed repositories info are stored by Archiva. Usually when you restart Archiva, the error would go away because the archiva.xml file is already created in your local repo. -Deng kpn wrote:

Re: Enterprise M2 repository stored in subversion

2007-06-14 Thread Kalle Korhonen
Can't make a local repository a remote repository. Either rsync iBiblio if you need everything or use maven assembly to create a remote repository of artifacts used in your project: http://maven.apache.org/plugins/maven-assembly-plugin/howto.html. Kalle On 6/14/07, Raphaël Piéroni [EMAIL

Re: Enterprise M2 repository stored in subversion

2007-06-14 Thread Wendy Smoak
On 6/14/07, Raphaël Piéroni [EMAIL PROTECTED] wrote: What is the way to transform a local repository in such a 'remote' repository i think the metadatas will be a bit corrupted (or at least wrongly named). You're correct that local and remote repository metadata is different. I can't find it

Re: copy file in maven

2007-06-14 Thread Nathan Maves
First what is the reason for your need to copy a file? The first thing that triggers in my mind is that you have a resource file that you need copied to your artifact. If this is not the case then you may need to define your problem a little better. Nathan On 6/14/07, Jeff Mutonho [EMAIL

Re: How to add file to war META-INF dir

2007-06-14 Thread Eric Redmond
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html Eric On 6/14/07, Farrukh S. Najmi [EMAIL PROTECTED] wrote: Hi Eric, The docs are not obvious to me. Do I need to write code for this? If not, can you give an example please. Thanks. Eric Redmond wrote: I'm

Javadoc Plugin Not Processing package.html Correctly

2007-06-14 Thread Danny Hurlburt
Hello, I am having a problem with the javadoc plugin converting my package.html to package-summary.html. When it finds a package.html, the plugin simply put the word and in for the package description. Has anyone else had the same problem and was able to fix this? Can anyone offer any incite

Re: copy file in maven

2007-06-14 Thread acec acec
Hi, We have an old project, which uses ant and could generate a customized tomcat folder. My new project using maven, I need copy some files into old customized tomcat folder. Thanks. Arden --- Nathan Maves [EMAIL PROTECTED] wrote: First what is the reason for your need to copy a file?

Deploying to two servers

2007-06-14 Thread Jon Strayer
Most of the time when I want to deploy a project I want the jar file copied to the remote repository. But some of the time I want a tarball copied to the production server. How can I do this? -- Esse Quam Videre To Be, rather than to Seem

Re: How to add file to war META-INF dir

2007-06-14 Thread Alexander Sack
I think he is looking to place file in META-INF not MANIFEST customization - I could be wrong and that link maybe helpful none the less. Some suggestions, maybe not the best solution but: - Use the antrun pluging to copy stuff over before the package phase (I'm will assume this artifact is

Re: copy file in maven

2007-06-14 Thread Ralf Quebbemann
Hi, maybe it's not the best way to use the recommended copy-maven-plugin. Although it does its job (and yes I wrote it) there are plugins out there which have better capabilities. You might want to check out the wagon-maven-plugin from the MyFaces project:

RE: copy file in maven

2007-06-14 Thread Brian E. Fox
If the file is in the repository, you can use the maven-dependency-plugin:copy goal. -Original Message- From: acec acec [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 12:01 PM To: users@maven.apache.org Subject: copy file in maven hi, What's the easiest way to copy file in

Re: copy file in maven

2007-06-14 Thread Jon Strayer
Is there any documentation on the wagon plugin? On 6/14/07, Ralf Quebbemann [EMAIL PROTECTED] wrote: Hi, maybe it's not the best way to use the recommended copy-maven-plugin. Although it does its job (and yes I wrote it) there are plugins out there which have better capabilities. You might

Re: filtering resources in maven-war-plugin

2007-06-14 Thread capira
I have same problem here. Any ideas? Regards, Raul Casado David Birch wrote: Hi, i seem to be getting some strange behaviour with the war plugin (versions 2.0.2 2.0.3-SNAPSHOT), if i do a build with the goal install, the resources are filtered properly, if i only go so far as

Re: Enterprise M2 repository stored in subversion

2007-06-14 Thread Steve Ebersole
Sure. The JBoss repo (http://repository.jboss.com/maven2/) does exactly this. If the SVN repo is enabled for http access, then its no different from accessing any other Maven repository. Raphaël Piéroni wrote: Hi, i have googled for an answer on the question whether it is possible to store

Re: maven-scm-plugin verbose

2007-06-14 Thread Jo Vandermeeren
On 6/14/07, Jeff Mutonho [EMAIL PROTECTED] wrote: On 6/13/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: you can use the mvn -X parameter. Well , I'm using Continuum to launch the maven builds Hi Jeff, So? Add the -X switch to the arguments list of your continuum build definition.

How do multiple plugin executions work?

2007-06-14 Thread Kevin Stembridge
Hi all, I need to use the dependency plugin for two separate tasks in a project. I don't understand how to define multiple executions of a plugin. The relevant portion of my pom.xml and the error message are below. Also, what is the purpose of the id element in an execution? Can I use it from

RE: How do multiple plugin executions work?

2007-06-14 Thread Brian E. Fox
Your executions look correct, except that dependency:copy isn't meant to be used from the command line. It is possible but not for multiple executions, see here: http://maven.apache.org/plugins/maven-dependency-plugin/faq.html#missing -Original Message- From: Kevin Stembridge

Re: How do multiple plugin executions work?

2007-06-14 Thread Heinrich Nirschl
On Thu, 2007-06-14 at 10:35 +0100, Kevin Stembridge wrote: Hi all, I need to use the dependency plugin for two separate tasks in a project. I don't understand how to define multiple executions of a plugin. The relevant portion of my pom.xml and the error message are below. Also, what is

RE: How do multiple plugin executions work?

2007-06-14 Thread Brian E. Fox
Don't know if this helps, but according to the docu, the outputDirectory should be directly below configuration, at the same level as artifactItems. It's worth a try. Actually both are valid. It lets you specify a single common directory or one for each artifact. -Original Message-

Re: copy file in maven

2007-06-14 Thread Bernd Bohmann
Hello Jon, just deployed a little bit documentation about the wagon plugin. http://myfaces.apache.org/wagon-maven-plugin We are using this plugin to publish the nightly builds to the nightly build download location. Regards Bernd Jon Strayer wrote: Is there any documentation on the wagon

Resource files are not overwritten

2007-06-14 Thread Nathan Maves
I have two resource directories set up via... resources resource directorysrc/main/resources/directory /resource resource directorysrc/main/resources-${env}/directory /resource /resources The env var is set

Re: Resource files are not overwritten

2007-06-14 Thread Mick Knutson
where is ${env} defined? On 6/14/07, Nathan Maves [EMAIL PROTECTED] wrote: I have two resource directories set up via... resources resource directorysrc/main/resources/directory /resource resource

Re: Resource files are not overwritten

2007-06-14 Thread Nathan Maves
In a profile. profile idenv-qa/id activation property nameenv/name valueqa/value /property /activation properties envqa/env /properties /profile

using javadocDirectory with maven-javadoc-plugin [was: package.html resources not read]

2007-06-14 Thread Adam Hardy
I thought I'd post a more generic description since it seems no-one else recognises the problem. Can't find any references to it in the JIRA or on the mailing list or in fact just generally by googling (there is some stuff but it was for mvn 1.1 and fixed). Using the src/main/javadoc

Re: Javadoc Plugin Not Processing package.html Correctly

2007-06-14 Thread Adam Hardy
Danny Hurlburt on 14/06/07 18:18, wrote: Hello, I am having a problem with the javadoc plugin converting my package.html to package-summary.html. When it finds a package.html, the plugin simply put the word and in for the package description. Has anyone else had the same problem and was able

Possible bug in Maven filter

2007-06-14 Thread Briankous
Hi, We have multiple projects that use different data base. For most of project we need to use username and pasword master for DB access. However, for some projects, each developer has to use their own username and password for the DB access of unit tests. My solution for this configuration

Re: Javadoc Plugin Not Processing package.html Correctly

2007-06-14 Thread Danny Hurlburt
Yes I did. I used the documentation at http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#packagecomments My package.html file is a full blown validating HTML transitional document. I do realize that only the contents of the body tag is to be extract and put in package-summary.html

Re: How to parse pom.version

2007-06-14 Thread Mark Derricutt
Excellent - I was about to ask something similar for another project I'm working on. Not having looked at maven-artifact yet I suppose theres support utils/methods for sorting and determining which version is higher in here? *hunts out javadoc* On 6/15/07, Eric Redmond [EMAIL PROTECTED] wrote:

Re: How to parse pom.version

2007-06-14 Thread Mark Derricutt
Scratch that - I see it has a compareTo all nice and built in ;-) On 6/15/07, Mark Derricutt [EMAIL PROTECTED] wrote: Excellent - I was about to ask something similar for another project I'm working on. Not having looked at maven-artifact yet I suppose theres support utils/methods for sorting

RE: How to reset java.home value from inside a pom file?

2007-06-14 Thread Tawfik, Sameh E
Hi Wayne, When I set JAVA_1_5_HOME to C:\Program Files\Java\jdk1.5.0_1 in mvn.bat file everything works fine. But, I wanted to use the alternative method by modifying the parent POM, so I made the following changes: The first part works fine, where it is set to configure the Java compiler to

Re: How to reset java.home value from inside a pom file?

2007-06-14 Thread Wayne Fay
Try mvn -e or mvn -X which should show you more information about the failure/error. Wayne On 6/14/07, Tawfik, Sameh E [EMAIL PROTECTED] wrote: Hi Wayne, When I set JAVA_1_5_HOME to C:\Program Files\Java\jdk1.5.0_1 in mvn.bat file everything works fine. But, I wanted to use the alternative