Creating JBoss SAR with net.sf.maven-sar maven-sar-plugin

2007-12-10 Thread urir
Hi, I am using maven-sar-plugin to create JBoss SAR. Question: Why are the dependencies not resolved into the built .sar ? Configuration: ... sar ... net.sf.maven-sar maven-sar-plugin 1.0 true ...X... Resul

Re: Dependencies

2007-12-10 Thread Michael McCallum
thats just asking for pain... isn't system scope deprecated now? On Tue, 11 Dec 2007 02:13:12 Andrew Williams wrote: > system > > On 10 Dec 2007, at 12:52, Luis Roberto P. Paula wrote: > > Hi All, > > > > Is there any way to set dependencies to a local classpath instead of a > > package in a repos

Re: Ant to Maven

2007-12-10 Thread Luis Roberto P. Paula
Thanks Kallin and Ronn, Your information were very helpful. Cheers, Luis On Dec 10, 2007 9:21 PM, <[EMAIL PROTECTED]> wrote: > Hi Luis, > > As you'd already know, Maven is good with the following, > a) maven is structured and more declarative (less procedural) than Ant. > b) maven manage your d

How to access classpath from a test running in maven/surefire

2007-12-10 Thread Evan Worley
One of the classes that is used in a test explores the classpath to search for classes with a specific annotation. This test works fine in the IDE because when the junit runner runs the test, the "java.class.path" environment variable is set as expected and thus I can search this classpath. When

Re: Timeframe for 2.4 release of maven plugins?

2007-12-10 Thread Ed Hillmann
> > Follow the development list for the project and you'll see activity > leading up to a release (or not.) In this particular case I've seen > lots of traffic lately about Surefire [1], and it seems that they are > getting close to 2.4. Since you're using the snapshots, I'm sure your > feedback

Re: Timeframe for 2.4 release of maven plugins?

2007-12-10 Thread Wendy Smoak
On Dec 10, 2007 4:14 PM, Ed Hillmann <[EMAIL PROTECTED]> wrote: > So, I get the idea that releasing using SNAPSHOT versions is bad. > But, I'm having a very hard time determining when the next version > (Non-Snapshot) of my dependancies are going to be released. If this > were something that a cu

Re: Ant to Maven

2007-12-10 Thread Ronn . Chinowutthichai
Hi Luis, As you'd already know, Maven is good with the following, a) maven is structured and more declarative (less procedural) than Ant. b) maven manage your dependencies properly (or at least in its ideal) c) maven can generate IDE project files easily d) life cycle management ensure that test

Timeframe for 2.4 release of maven plugins?

2007-12-10 Thread Ed Hillmann
Hi all. I've been writing a prototype using Maven, and loving it. I want to try out the release functionality now, but whenever I do, it complains that I'm using -SNAPSHOT versions of libraries. Which I am. I'm using a 2.4-SNAPSHOT of the maven-surefire-report-plugin, and well as 2.4-collab-SNA

Re: Hot Code Replace

2007-12-10 Thread Arnaud HERITIER
Can't you use the WTP extension of eclipse to run/debug your application on tomcat (or another app server) ? The required configuration can be generated by the eclipse plugin. Arnaud On Dec 10, 2007 9:27 PM, Martin Gilday <[EMAIL PROTECTED]> wrote: > Hi, > I'm looking at ways to improve our expe

Multimodule application and exec pluggin

2007-12-10 Thread Leonardo Postacchini
Greetings all, We have an multi-module application that we build with maven but we work on the code with eclipse, to avoid trauma with eclipse schema we have the modules all flat on the workspace, something like this: workspace/appRoot workspace/appEar workspace/appWar workspace/appCore workspac

WTP 2.0 strategy?

2007-12-10 Thread Rob Hasselbaum
Hi, I'm trying to use Maven for an Eclipse Europa (WTP 2.0) project. What's the best way to do this, given that the Eclipse plugin doesn't support WTP 2.0 yet? I tried running the eclipse:eclipse goal anyway and managed to turn the resulting "plain" project into a Web App project. But the problem

Re: How to find Maestro password

2007-12-10 Thread Wendy Smoak
On Dec 10, 2007 2:18 PM, Alexandre Nshimiyimana <[EMAIL PROTECTED]> wrote: > How to find Maestro password in config files? I see you've already found the Maestro support forum on devzuz.org, so I'll answer over there. :) -- Wendy

Re: JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8

2007-12-10 Thread Wayne Fay
Zip up a small sample project, create a JIRA issue, and attach it. Then someone can look at your issue more closely. Wayne On 12/10/07, William Hoover <[EMAIL PROTECTED]> wrote: > No takers? > > -Original Message- > From: William Hoover [mailto:[EMAIL PROTECTED] > Sent: Saturday, December

RE: JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8

2007-12-10 Thread William Hoover
No takers? -Original Message- From: William Hoover [mailto:[EMAIL PROTECTED] Sent: Saturday, December 08, 2007 8:13 PM To: users@maven.apache.org Subject: JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8 I am using JDK 1.5 / Maven 2.0.8 and am attempting mvn clean install on a simp

Using different plugin with standard lifecycle

2007-12-10 Thread piotr_tarnowski
Hello Maven users, I work with maven for more than a year now and I come to point when I must alter standard SITE lifecycle replacing site plugin binding with my own. I've checked every available source of information (yes, BBwM as well) and used every trick which came to my mind but found no wa

How to find Maestro password

2007-12-10 Thread Alexandre Nshimiyimana
How to find Maestro password in config files? Cheers

[m2][c1.1] How to run dashboard in Continuum?

2007-12-10 Thread Mick Knutson
I have setup the 3 phases I needed on my project group: Goals Arguments Build File Schedule Profile From Build Fresh Default Description Type clean site:site -P documentation -e pom.xml Site Schedule site documentation GR

Hot Code Replace

2007-12-10 Thread Martin Gilday
Hi, I'm looking at ways to improve our experience when using Maven to develop our web applications. We use Eclipse as well and would like to try and take advantage of the hot code replace feature. Googling suggests using this plugin[1] along with Tomcat. Is there a way to continue using the Jet

RE: localRepository property prepends backslash on Windows

2007-12-10 Thread Brewster, Richard
I'll answer my own question. isn't a property. Although you can reference it like one, it does not return the value you set, but apparently modifies it. I solved this by creating a property . A bit redundant, but it got the job done. Richard Brewster Senior Associate Perrin Quarles Associates

Meta-Project and module sharing

2007-12-10 Thread Olivier Serve
Hello \o_ We have a big project with a custom ant-based build system but it's a pain to maintain. So, I'm taking a look at maven2 to see if it fits our requirements. Today, we have 7 separate components (different servers) that use some shared libraries (utilities, protocol implementations, cli

Re: maven-war-plugin webResources - relative path

2007-12-10 Thread Jan Torben Heuer
Stephane Nicoll wrote: > Replace 2.0 by 2.0.2. > > It's a bug and it has been fixed. Thanks! Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven-war-plugin webResources - relative path

2007-12-10 Thread Benjamin Voigt
Jan Torben Heuer schrieb: Hi, I'm using the following settings to include and filter webresources: org.apache.maven.plugins maven-war-plugin 2.0

Re: maven-war-plugin webResources - relative path

2007-12-10 Thread Stephane Nicoll
Replace 2.0 by 2.0.2. It's a bug and it has been fixed. Stéphane On Dec 10, 2007 4:03 PM, Jan Torben Heuer <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the following settings to include and filter webresources: > > > org.apache.maven.plu

maven-war-plugin webResources - relative path

2007-12-10 Thread Jan Torben Heuer
Hi, I'm using the following settings to include and filter webresources: org.apache.maven.plugins maven-war-plugin 2.0

Getting started with Maven Tutorial

2007-12-10 Thread Zemian Deng
Hi there, Maven2 works really great as a project build tool for us. I have written a tutorial at my company for all Maven newbies, and I hope it can benefit other who is struggling on how to get started. The tutorial is very short, and it walks through a real simple java project from creating it f

Re: Ant to Maven

2007-12-10 Thread Kallin Nagelberg
While I guess some big advantages are: 1. Jars out of SCM. Depending on the number/size of your JARs and your choice of SCM you could see big time benefits on branch/checkout/etc operations, and a corresponding lack of strain on your SCM server. 2. Reporting/site-plugin. The site stage of Maven a

new to the list: archetype with substitutions [Virus checked]

2007-12-10 Thread Wolfgang . Schrecker
Hi Maven experts, (this is the second try to send to the list, delete it, if you saw the first.) What I want to do, I am almost sure, has someone done before: I need to create achetypes, one for a parent project, a subproject for the some jar files, one for the interface definit

Re: exclude depend. from all war files included in EAR

2007-12-10 Thread maarten roosendaal
thanks, just what i was looking for. Too bad about the bug. - Original Message From: Wendy Smoak <[EMAIL PROTECTED]> To: Maven Users List Sent: Monday, December 10, 2007 2:49:30 PM Subject: Re: exclude depend. from all war files included in EAR On Dec 10, 2007 6:42 AM, maarten roosenda

Re: Ant to Maven

2007-12-10 Thread Luis Roberto P. Paula
>> As to whether or not it's worth it is another question. What is your motivation for performing the conversion? What problems are you currently experiencing with your ant-built process that you felt needed alleviation? Actually, our ant-build process works fine and it is well-structured. We thou

RE: Dependency question

2007-12-10 Thread Brewster, Richard
Declare the dependency as test scope: ${jdbc.groupId} ${jdbc.artifactId} ${jdbc.version} test Richard Brewster Senior Associate Perrin Quarles Associates [EMAIL PROTECTED] (434) 817-2640 -Original Message- From: Jason Po

Re: exclude depend. from all war files included in EAR

2007-12-10 Thread Wendy Smoak
On Dec 10, 2007 6:42 AM, maarten roosendaal <[EMAIL PROTECTED]> wrote: > I have an EAR file wich contains 5 WAR files. Each is dependent on struts, > now i want be able to build the EAR so that all dependencies are concentrated > in the root of the EAR and excluded from the WEB-INF\lib. > > The

exclude depend. from all war files included in EAR

2007-12-10 Thread maarten roosendaal
Hi, I have an EAR file wich contains 5 WAR files. Each is dependent on struts, now i want be able to build the EAR so that all dependencies are concentrated in the root of the EAR and excluded from the WEB-INF\lib. The manifests are correct and the struts library is situated in the EAR and not

Re: Ant to Maven

2007-12-10 Thread Kallin Nagelberg
You may wish to start by using the maven-antrun-plugin, breaking up the ant into smaller files that you put alongside each pom of your multi-module project. This way you can avoid writing all the plugins/complex poms that, while ideal, would take more time initially. That is the approach my project

Ant to Maven

2007-12-10 Thread Luis Roberto P. Paula
Hi, I'm work in a huge java project that has a ant script with almost 800 lines. The last two weeks I'm trying to convert this script into a maven2 multiproject, in order to simplify the build process, and its being such a pain in the ass. My questions are: - Is it worth to do this? - I know

Re: Dependencies

2007-12-10 Thread Andrew Williams
system On 10 Dec 2007, at 12:52, Luis Roberto P. Paula wrote: Hi All, Is there any way to set dependencies to a local classpath instead of a package in a repository? Thanks, Luis - To unsubscribe, e-mail: [EMAIL PROTECTED]

Dependencies

2007-12-10 Thread Luis Roberto P. Paula
Hi All, Is there any way to set dependencies to a local classpath instead of a package in a repository? Thanks, Luis

archetypes with text substitutions [Virus checked]

2007-12-10 Thread Wolfgang . Schrecker
Hi Maven experts, What I want to do, I am almost sure, has someone done before: I need to create achetypes, one for a parent project, a subproject for the some jar files, one for the interface definition, and one for web use, web admin. In a batch they are createed side by side with something l

Re: Release Plugin/SCM Scheme

2007-12-10 Thread Marco Bakera
On Monday 10 December 2007 10:26:37 Marco Bakera wrote: > On Saturday 08 December 2007 16:54:43 Wendy Smoak wrote: > > On Dec 8, 2007 7:52 AM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > > Does really nobody have a clue on this question? Or has the mail been > > > overseen due to Santa Claus happen

Re: Release Plugin/SCM Scheme

2007-12-10 Thread Marco Bakera
On Saturday 08 December 2007 16:54:43 Wendy Smoak wrote: > On Dec 8, 2007 7:52 AM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > Does really nobody have a clue on this question? Or has the mail been > > overseen due to Santa Claus happenings?! ;) > > You didn't provide enough information to enable an