How to customize eclipse project files with maven-eclipse-plugin

2008-07-10 Thread Julien Giovaresco
Hi everyone, I've searched on the web and through the mailing list, but I didn't find a way to add lines in the eclipse project files. I'd like to add lines in 2 files : - org.eclipse.jdt.core.prefs (such as org.eclipse.jdt.core.formatter.align_type_members_on_columns=false ) -

Re: copy artifacts between repositories

2008-07-10 Thread Martin Monsorno
Yes, the maven-stage-plugin: see http://maven.apache.org/plugins/maven-stage-plugin/ Thanks for your hint, Martin. Sadly, the stage-plugin is broken with file://-targets (http://jira.codehaus.org/browse/MSTAGE-6) and a fixed version is not available by now. Are there any workarounds? I

Release Plugin : handle broken builds

2008-07-10 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello! What is common way to handle broken builds with Maven2, Release Plugin, Subversion and Maven Repository such as Artifactory or Archiva? The versioning policy with m2 is defined like : majorminormaintenance - qualifer As a consequence, a possible build version sequence could as

How to deploy a Flex library (swc)

2008-07-10 Thread Rémy Sanlaville
Hi, I wonder how to deploy a Flex library (swc) in a repository. It does not exist the swc value for pom's packaging node (cf. http://maven.apache.org/maven-v4_0_0.xsd). So, if you indicate swc, mvn validate complains. One solution seems to indicate the pom value but I don't really like that

Re: How to deploy a Flex library (swc)

2008-07-10 Thread Jeff MAURY
There are some Maven2 flex mojos out. You shoul look at them. The flex-mojos (http://code.google.com/p/flex-mojos/) seems to be quite powerful. Regards Jeff MAURY On Thu, Jul 10, 2008 at 1:41 PM, Rémy Sanlaville [EMAIL PROTECTED] wrote: Hi, I wonder how to deploy a Flex library (swc) in a

How to include exe dependency in war distribution?

2008-07-10 Thread monika7
I have a project that needs to include a shell script and C executable in the war file. The C program is compiled into an executable in separate (parallel) project using native-maven-plugin and deployed to local repository. I have the executable included as runtime dependency in my war project

[Maven2] - exluding some source files from a war

2008-07-10 Thread Jan Verstuyft
Hello, I'm getting started to use maven2, but we have still some problems. One of them occurs in the following situation: We have a project with in the src folder the following structure: src\com\clarify\... src\com\ideal\... the old ant scripts compiles both of them, but put the com\clarify

question about scm:tag

2008-07-10 Thread sachin . x . mahajan
Hi, I am using scm:tag to create tag. I am running this command maven scm:tag -Dmaven.scm.tag=RELEASE_121 -Dmaven.scm.message=jiranumber -Dmaven.scm.username=xyz -Dmaven.scm.password=xyz This command is failing due to pre-commit hook. We have a pre-commit hook to add jira number as a comment

RE: [Maven2] - exluding some source files from a war

2008-07-10 Thread Jörg Schaible
Hi Jan, Jan Verstuyft wrote: Hello, I'm getting started to use maven2, but we have still some problems. One of them occurs in the following situation: We have a project with in the src folder the following structure: src\com\clarify\... src\com\ideal\... the old ant scripts compiles

Re: [Maven2] - exluding some source files from a war

2008-07-10 Thread Geoffrey Wiseman
On Thu, Jul 10, 2008 at 10:51 AM, Jörg Schaible [EMAIL PROTECTED] wrote: You can do this in the same POM. Simply execute the jar plugin (also with includes), attach it to the package phase, but configure the resulting artifact with a classifier. Although it wouldn't hurt to note that this

Re: How to deploy a Flex library (swc)

2008-07-10 Thread Rémy Sanlaville
Yes I know but my problem is not how to create the flex library but how to deploy it with the maven-deploy-plugin to a repository. I would like to know what is the best practice for the pom's packaging node. Regards, Rémy

Does the maven version prerequisite only apply to plugins, or not?

2008-07-10 Thread Wendy Smoak
In the model [1], the prerequisitesmaven element is described as: prerequisites - Describes the prerequisites a project can have. Element Description maven The minimum version of Maven required to build the project, or to use this plugin. I thought this *only* applied to

Archetype sample for multi-projects

2008-07-10 Thread s[e]th h[o]lth
Hello, Since monday i'm trying to build a multi-projects archetype without success... I tried many differents way to do it but i didn't reach this goal :x - I tried by myself after reading the (poor ?) documentation on the website - I tried using some sample (like j2ee archetype but there is no

How to configure a JBoss to link to the webapp folder of a WAR project

2008-07-10 Thread Pedro Viegas
Hi all, I've been trying to build an environment for developing web applications that generate WAR files with a productive debug/development process. I'm using JBoss as the application server. Tomcat is a no go and Jetty has issues with some bytecode APIs I use. All is working fine in the

Iterating a build based on activated profiles

2008-07-10 Thread Balasubramanian, Ravi Shankar
Hi all, I am facing a situation where i need to iterate through (or build ) the same maven projects depending upon the list of active profiles. To be precise, we run some tests (testNG through the maven surefire plugin) against a database and i need a way to run the tests against different

Newbie problem with Geronimo / war

2008-07-10 Thread CLIFFORD HAYDEN
Hi, I am porting an existing application into maven2 and have not had much luck with it. The target platform is IBM WAS CE 1.1.1, which is based on Geronimo. I am doing all of my maven work using Q for Eclipse, but have tried the entire process with the command line, too. I have resolved all

Re: How to deploy a Flex library (swc)

2008-07-10 Thread Jeff MAURY
If I remember correctly, if you assign the swc packaging to your pom, then the deploy plugin will deploy it to the repository. Jeff MAURY On Thu, Jul 10, 2008 at 6:43 PM, Rémy Sanlaville [EMAIL PROTECTED] wrote: Yes I know but my problem is not how to create the flex library but how to deploy

Re: How to configure a JBoss to link to the webapp folder of a WAR project

2008-07-10 Thread Siarhei Dudzin
What's wrong with JBoss Tools? We use maven-eclipse-plugin + JBoss Tools, works well so far... Siarhei On Thu, Jul 10, 2008 at 7:37 PM, Pedro Viegas [EMAIL PROTECTED] wrote: Hi all, I've been trying to build an environment for developing web applications that generate WAR files with a

default-skin not found from central?

2008-07-10 Thread Zemian Deng
Hi, I received this error when trying mvn site:stage on my project: INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The skin does not exist: Unable to

Re: Does the maven version prerequisite only apply to plugins, or not?

2008-07-10 Thread Arnaud HERITIER
What I understood about this element : - it's not inherited, you have to define it in all modules - for any project/module, maven checks before to build if its own version is greater than the one in the prerequisite - for plugins, this value is also used in the update mechanism to check the

Re: How to deploy a Flex library (swc)

2008-07-10 Thread Rémy Sanlaville
Yes it's true we have test it but I am not comfortable by the fact mvn validate complains. We want to can check that the pom is valid before to deploy it. Rémy

Accessing artifact Final name in assembly plugin.

2008-07-10 Thread Kallin Nagelberg
Hi, I'm using a dependency set in an assembly of mine using the following config: dependencySets dependencySet useProjectArtifactfalse/useProjectArtifact outputDirectory//outputDirectory includes

Re: How to deploy a Flex library (swc)

2008-07-10 Thread Jeff MAURY
What is the message generated by Maven ? Jeff On Thu, Jul 10, 2008 at 11:33 PM, Rémy Sanlaville [EMAIL PROTECTED] wrote: Yes it's true we have test it but I am not comfortable by the fact mvn validate complains. We want to can check that the pom is valid before to deploy it. Rémy --

Re: How to stop maven from assembling war file

2008-07-10 Thread Lee Meador
You could let maven generate its own WAR but configure to put it somewhere out of the way. You ignore this WAR file and use the one your tool generates. -- Lee On Thu, Jul 3, 2008 at 11:34 AM, Sebastien Hadjifotis [EMAIL PROTECTED] wrote: Hi James, Not possible to use mavens war plugin, as

Re: Archetype sample for multi-projects

2008-07-10 Thread Wendy Smoak
On Thu, Jul 10, 2008 at 10:18 AM, s[e]th h[o]lth [EMAIL PROTECTED] wrote: Since monday i'm trying to build a multi-projects archetype without success... The first version of the Archetype plugin didn't support creating multi-module projects with a single command. I'm interested to know

Re: Archetype sample for multi-projects

2008-07-10 Thread Lee Meador
You might look at the AppFuse archetype. Something in the back of my head tells me there are multiple projects in there somehow. https://appfuse.dev.java.net/servlets/NewsItemView?newsItemID=5991 -- lee On Thu, Jul 10, 2008 at 6:17 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Thu, Jul 10, 2008

Re: How to configure a JBoss to link to the webapp folder of a WAR project

2008-07-10 Thread David Brown
Hello Pedro, I'm not sure by your statements if you are using a HOT deploy or not. In the case you are using a hot deploy try using an exploded war under server/default/deploy and see if you see any difference. The JSPs are compiled by the container once they are invoked at the browser. As an

[m2] Incremental build for self-developed src generation mojo

2008-07-10 Thread Adrian Shum
Dear all, Is there any reference for how to do incremental build in self-developed mojo? We have developed a mojo in our company that will perform source generation base on annotations in our source files. It seems that generation happens everytime I run mvn install, no matter the original

Assembly plugin Unpack dependency source for compile

2008-07-10 Thread Clifton
I jsut read and re-read the docs on the Assembly plugin. It looks like just the thing I need but I have one problem. I can't figure out which features to use to do what I need. I need to unpack the source of runtime-dependencies into a specified directory. The dependencies in question already

Re: How to customize eclipse project files with maven-eclipse-plugin

2008-07-10 Thread Eugene Kuleshov
You can specify content of the additional config files or copy them from a specified location. See plugin documentation at http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#additionalConfig regards, Eugene Julien Giovaresco wrote: I've searched on the web and

Including non-standard named artifacts

2008-07-10 Thread Brian Albers
Maven gurus- I'm running into a problem which seems like it should be simple, but I've had no luck in solving it with various Maven plugins. In a nutshell, I'm trying to use the assembly plugin to produce a .zip file for my project, and as part of this I wish to include a full, expanded version

getting started ......

2008-07-10 Thread nikhil123
whats the diff between mvn --version and maven --v? in my comp mvn --version works but not maven -v -- View this message in context: http://www.nabble.com/getting-started-..-tp18396875p18396875.html Sent from the Maven - Users mailing list archive at Nabble.com.

error !!!

2008-07-10 Thread nikhil123
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\GURt0753mvn clean install [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]

Re: getting started ......

2008-07-10 Thread Wendy Smoak
On Thu, Jul 10, 2008 at 10:10 PM, nikhil123 [EMAIL PROTECTED] wrote: whats the diff between mvn --version and maven --v? in my comp mvn --version works but not maven -v 'mvn -v' and 'mvn --version' should do the same thing, with Maven 2. 'maven' was used for the prior version, Maven

error !!!

2008-07-10 Thread nikhil123
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\GURt0753mvn clean install [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]

Re: error !!!

2008-07-10 Thread Wendy Smoak
On Thu, Jul 10, 2008 at 10:43 PM, nikhil123 [EMAIL PROTECTED] wrote: Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean- plugin/2.2/maven-clean-plugin-2.2.pom ... [INFO] Failed to resolve artifact. Not a lot to go on here, but the usual problem is that you're

Re: How to customize eclipse project files with maven-eclipse-plugin

2008-07-10 Thread Julien Giovaresco
Thanks, I totally miss this web page ! Regards, Julien Eugene Kuleshov a écrit : You can specify content of the additional config files or copy them from a specified location. See plugin documentation at http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#additionalConfig