Executing a java class file

2004-12-08 Thread Pooja Murjani
friendscan any one suggest me, how to excute a java class file, thru maven. I have done this task by writing can anyone please suggest how to do the equivalent task in Maven. - To unsubscribe, e-mail: [EMAIL PROTECTE

what is diff between xdoclet-xjavadoc and..

2004-12-08 Thread Hal Arnold
All, I'm wanted to get Maven to automate the hibernate mappings, which I've done. But I found that the xjavadoc (in the xdoclet jars directory) that is needed is the 1.0.2 version and NOT the xdoclet-xjavadoc 1.2b2 version. Can someone enlighten me as to the difference? Or throw me a fishing po

RE: Problem with case in ear:generate-ear-descriptor?

2004-12-08 Thread Felipe Leme
On Wed, 2004-12-08 at 16:08, Poppe, Troy wrote: > me is: why is this a warning? Couldn't this be handled with a > case-insensitive > comparison? Actually, there were no comparison at all before and then we had to do the case-sensitive comparison to check some possibilities. > The results: > # R

Re: Don't know how to do it!

2004-12-08 Thread Brett Porter
Depending on your circumstances you either want: http://maven.apache.org/reference/plugins/ear/ http://maven.apache.org/reference/plugins/uberjar/ http://maven-plugins.sourceforge.net/maven-javaapp-plugin/ On Wed, 8 Dec 2004 19:02:58 -0600, Eric Wood <[EMAIL PROTECTED]> wrote: > One last thing I

Re: Don't know how to do it!

2004-12-08 Thread Eric Wood
Disregard my previous post I found a great article at http://wiki.codehaus.org/maven/CreatingEjbApplications that explained just about everything I could not figure out. One last thing I can't figure out is how to create one jar that wraps all of the other jars produced by the sub projects (using

Don't know how to do it!

2004-12-08 Thread Eric Wood
Hi, I'm new to maven and have searched previous postings but still can't find a solution to implement my wonderfull idea with maven. I have about 8 separate small projects that are part of our organizations "commons" project. Each project has its own module in CVS and its own set of versio

Maven Idea plugin

2004-12-08 Thread Adrian Tarau
I have a small problem with idea plugin. I have project where I have an artifact with type ejb. Why the type ejb is not included in the project libraries? In fact it is a jar.

RE: Trying to create developer group plugin

2004-12-08 Thread Charles Daniels
Excellent! By the way, fantastic work on Maven. I am a die-hard fan! > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 3:56 PM > To: Charles Daniels > Cc: Maven Users List > Subject: Re: Trying to create developer group plugin > >

Re: Trying to create developer group plugin

2004-12-08 Thread Brett Porter
In Maven 1.0.1 (and hence 1.0.2) all known issues with this have been fixed. If you find another one, let us know! - Brett On Wed, 8 Dec 2004 15:39:58 -0700, Charles Daniels <[EMAIL PROTECTED]> wrote: > I recall setting plugin on a dependency was broken. It > didn't actually cause the plugin t

Maven with ClearCase - Anyone using this combo?

2004-12-08 Thread Lageson,Thomas M
I am using Maven 1.0 with ClearCase LT. Basically I have a maven.xml in the root project that has the following code in it: This goes and gets the LATEST from the main branch according to the config spec file. How do I AUTOMATICALLY get a previous version (or label) other than

RE: Trying to create developer group plugin

2004-12-08 Thread Charles Daniels
I recall setting plugin on a dependency was broken. It didn't actually cause the plugin to be installed properly. Has this been fixed? > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 3:34 PM > To: Maven Users List > Subject: Re:

Re: Trying to create developer group plugin

2004-12-08 Thread Brett Porter
Using a dependency with plugin will do this automatically. Or your users can manually use plugin:download and it will be available to all projects for them. Either way, when you publish it to the repository make sure you use plugin:repository-deploy, not jar:deploy as it must be in the /plugins/

Re: Getting the value of a maven property at the command prop

2004-12-08 Thread Duncan Krebs
Thanks Eric. - Original Message - From: "Eric Black" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Cc: "Maven UserList" <[EMAIL PROTECTED]> Sent: Wednesday, December 08, 2004 1:43 PM Subject: Re: Getting the value of a maven property at the command prop > Hi, > > If you

RE: Trying to create developer group plugin

2004-12-08 Thread Steve Molloy
The one thing you can do is use plugin:deploy and plugin:download on the users' machines. It won't run automatically (Unless you use CruiseControl or something similar to run it...), but at least you won't have to unjar and do everything yourself... Steve Molloy -Original Message- From: E

RE: Snapshot etiquette

2004-12-08 Thread STRAYER, JON \(SBCSI\)
About once a month I go in and delete all the timestamped snapshots from the previous month. > -Original Message- > From: Bert Lamb [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 3:04 PM > To: STRAYER, JON (SBCSI) > Cc: Maven Users List > Subject: Re: Snapshot etiquette >

Re: Trying to create developer group plugin

2004-12-08 Thread Eric Black
"Maven Users List" <[EMAIL PROTECTED]> on Wednesday, December 8, 2004 at 2:58 PM + wrote: >If your newly published jar can be refered by another maven project >(with a dependency entry in project.xml) and that the developpers build >this project, the file will get automatically downloaded fro

Re: Snapshot etiquette

2004-12-08 Thread Bert Lamb
With this approach when do you clean up the timestamped snapshots? -Bert On Wed, 8 Dec 2004 14:40:04 -0500, STRAYER, JON (SBCSI) <[EMAIL PROTECTED]> wrote: > > > > Ok, so I'm trying to get a handle on the "right" way to do > > snapshot dependencies during development and the perform a > > "re

Re: Trying to create developer group plugin

2004-12-08 Thread Eric Giguere
Hi If your newly published jar can be refered by another maven project (with a dependency entry in project.xml) and that the developpers build this project, the file will get automatically downloaded from the remote repo. Eric. Haile, Mussie wrote: I am not aware of doing this using Maven but y

Re: Snapshot etiquette

2004-12-08 Thread Nicolas Chalumeau
For me the better way to do is the approch 1.5 ;-). During the development use the X.X-SNAPSHOT and before release the artifact use the X.X version number. With this way you can use the power of snapshot dependancies with a version number notion. Nicolas, On Tue, 7 Dec 2004 17:42:15 -0500, Bert

Re: Getting the value of a maven property at the command prop

2004-12-08 Thread Eric Black
Hi, If you know the name of the property, you could use the ant:echo task in a maven.xml file to print it out. Like: just put the file in your project directory and run any maven task and the property will be echoed. Eric

RE: Trying to create developer group plugin

2004-12-08 Thread Haile, Mussie
I am not aware of doing this using Maven but you might want to take a look at AntFlow which has a function to monitor a specific folder where if their is a new version of file(s)you can in act another action etc.. -Original Message- From: Eric Black [mailto:[EMAIL PROTECTED] Sent: Wedne

Re: Bug or feature? Error while retrieving from 2 repositories

2004-12-08 Thread Ty C
Thanks! 2 pairs of eyes missed that, but not yours! We are triplet-programming now! :) Ty C On 8-Dec-04, at 11:24 AM, Glenn, Paul wrote: Looks like you have "http://"; twice in the name of the ibiblio host in your "maven.repo.remote" property. Paul -Original Message- From: Ty C [mailto:[

RE: Snapshot etiquette

2004-12-08 Thread STRAYER, JON \(SBCSI\)
> Ok, so I'm trying to get a handle on the "right" way to do > snapshot dependencies during development and the perform a > "release." In reading around the Internet it looks like > there are two different approaches to snapshots.. > > Approach 1: > > In your POM define your version as "SNAPS

Trying to create developer group plugin

2004-12-08 Thread Eric Black
Hi, I've created a plugin that I need to be able to distribute to our group's developers in an automatic way. We have our own repository of company specific jar files, so I want to put it in the same repository and have it get automatically downloaded and installed just like a standard maven plugi

Getting the value of a maven property at the command prop

2004-12-08 Thread Duncan Krebs
Hi, I know how to set a maven property at the command prompt but I'm wondering if there is a way to have maven spit out the value of a property at the prompt so I can see what value is currently being used . Thanks.

RE: Bug or feature? Error while retrieving from 2 repositories

2004-12-08 Thread Glenn, Paul
Looks like you have "http://"; twice in the name of the ibiblio host in your "maven.repo.remote" property. Paul -Original Message- From: Ty C [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 2:04 PM To: Maven Users List Subject: Bug or feature? Error while retrieving from 2 re

EJB client jar... How do you do it?

2004-12-08 Thread Poppe, Troy
I've seen a couple different approaches to generating ejb-client jar files (and their contents). One approach, the first one I went with, was to create separate multiprojects for the ejb and the ejb-clients. Now I'm starting to explore Maven a bit more, and it almost seems more straight forward

Bug or feature? Error while retrieving from 2 repositories

2004-12-08 Thread Ty C
(Thanks to the properties inheritance magic of Maven 1.0.2) In our top-level project.properties file we have the following line: maven.repo.remote=http://http://www.ibiblio.org/maven,http:// www.binary42.com/svn/maven If I delete my ~/.maven/repositoryb42-3rdparty folder and subsequently bui

RE: Can anyone help with "linkage Error"

2004-12-08 Thread Hal Arnold
Turned out to be my property setting for maven.junit.fork="true" (note incorrect use of quotes). Thanks all for thinking of my problem /hba -Original Message- From: Charles Daniels [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 3:58 AM To: 'Maven Users List' Subject: RE: Ca

RE: Problem with case in ear:generate-ear-descriptor?

2004-12-08 Thread Poppe, Troy
Nevermind, my project.properties file in my EAR project was missing a reference to ${basedir} in maven.ear.descriptordir. T -Original Message- From: Poppe, Troy [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 1:32 PM To: 'Maven Users List' Subject: RE: Problem with case in

RE: Problem with case in ear:generate-ear-descriptor?

2004-12-08 Thread Poppe, Troy
When I try to run the ear plugin from multiproject, I get the following error: ear:ear: ear:generate-ear-descriptor: [echo] Generating appxml file:"target/META-INF/application.xml version 1.3 encoding: UTF-8" popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in mave n-pom-plugin:maven-pom-p

RE: Problem with case in ear:generate-ear-descriptor?

2004-12-08 Thread Poppe, Troy
That seems to have fixed it, it generates a nicer warning now... The question for me is: why is this a warning? Couldn't this be handled with a case-insensitive comparison? The results: # Reason for the warning: # # the dependency eia:party-commo

RE: Problem with case in ear:generate-ear-descriptor?

2004-12-08 Thread Felipe Leme
On Wed, 8 Dec 2004 12:55:26 -0500, "Poppe, Troy" <[EMAIL PROTECTED]> wrote: > When you fix that, I'll try again. Fixed, sorry... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem with case in ear:generate-ear-descriptor?

2004-12-08 Thread Poppe, Troy
I tried to install the SNAPSHOT of maven-ear-plugin v1.7, but I got the following while trying to access the jar: Forbidden You don't have permission to access /~felipeal/maven_repo/maven/plugins/maven-ear-plugin-1.7-SNAPSHOT.jar on this server. When you fix that, I'll try again. T -Orig

Re: Problem with case in ear:generate-ear-descriptor?

2004-12-08 Thread Felipe Leme
On Wed, 8 Dec 2004 11:38:00 -0500, "Poppe, Troy" <[EMAIL PROTECTED]> wrote: > Any ideas why it is complaining about case-sensativity? The case of the > artifactId is exactly the same as what is in my remote and local repositories! The problem is probably in your MAVEN_HOME: > C:\Projects\PartyMa

Finbugs has stopped working

2004-12-08 Thread Doug Knesek
I had FindBugs working at one point. It has not worked since upgrading my Java plug-in to version 1.5. I am running maven using Java 1.4.2, but I am forking Java 1.3.1 to do my build. The error I get is: BUILD FAILED File.. T:\Edc\Consolidation\.maven\cache\maven-findbugs-plugin-0.8.4\plugi

How do I install downloaded Mavenide .nbm files into Netbeans 4.0 RC1

2004-12-08 Thread jim williams
I may have missed earlier emails about this as I just subscribed to the mailing list. if any one can forward earlier emails, that would be great.. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Problem with case in ear:generate-ear-descriptor?

2004-12-08 Thread Poppe, Troy
I just received this message while running the ear:ear goal: C:\Projects\PartyMaven\ear>maven ear __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: ear:init: ear:ear: ear:generate-ear-descriptor: [echo] po

Re: Need some help with maven.xml...

2004-12-08 Thread Eric Black
Hi, I was just writing my first maven.xml file yesterday, so I may not be 100% correct in the following: The xmlns seems to be the namespacing so tasks/methods/whatever are mapped to the correct engine if there are more than one task with the same name, so you just specify the namespaces with the

Need some help with maven.xml...

2004-12-08 Thread Poppe, Troy
I'm trying to write a goal of my own in my project's maven.xml, and I'm a little confused about the mechanism where by xmlns attributes get mapped into jelly script or ant tasks (I'm not sure which it is). I'm wanting to write an "update-project" goal that will update the current working copy of

RE: 1.0.2 startup slow

2004-12-08 Thread Chad Brandon
Yep! That was it...I just ran it this morning and all was fine :) I missed the "PM" for the 10 when I looked at the timestamp yesterday of the plugins within maven-1.0.2/plugins. Sorry about that, that would have answered the question yesterday when you asked me to compare the timestamps! Chad

RE: Can anyone help with "linkage Error"

2004-12-08 Thread Charles Daniels
Try using xml-apis-1.0.b2.jar instead of xmlParserAPIs. If you look at the note at the bottom of http://www.ibiblio.org/maven/xml-apis/jars/, you will see that the use of xmlParserAPIs is not recommended. I don't know if this will correct the problem you are seeing, but it's worth a shot. >

RE: Maven Proxy Problem - local 'remote' repo behind firewall...

2004-12-08 Thread Roy, Anthony
Thanks - I'll take a look at that. -- Anthony Roy. t: 01937 54 (6003) e: [EMAIL PROTECTED] The British Library Boston Spa Wetherby West Yorkshire LS23 7BQ > -Original Message- > From: Jörg Schaible [mailto:[EMAIL PROTECTED] > Sent: 07 December 2004 09:28 > To: Maven Users List > Sub

Re: 1.0.2 startup slow

2004-12-08 Thread Brett Porter
How funny! Being in +11 at the moment, that certainly made it as bad as it could be. Thanks Leif! Ok, I'll either set my clock back or build with significant lead time in future... Chad - can you confim it was the same for you? Thanks, Brett On Wed, 08 Dec 2004 01:01:17 -0700, Leif Nelson <[E

Re: Debugging maven projects using eclipse/tomcat5

2004-12-08 Thread Thomas Recloux
On Tue, 7 Dec 2004 15:10:39 -0600, Duncan Krebs <[EMAIL PROTECTED]> wrote: Hi, > I'm trying to figure out how I can make changes to the projects referenced by > the webapp in > eclipse and then have tomcat5 recognize the change and reload the context. I > imagine to do > this I'd have to defi

Re: 1.0.2 startup slow

2004-12-08 Thread Leif Nelson
I think I figured out what the problem is. When I did what you suggest (checkout the tagged version of maven, add logging, build and test) it works fine. 2 seconds on windows xp. So, on a hunch, I looked in the .zip file for maven-1.0.2.zip. And guess what, the date/time stamp of all the fil