Re: echo gives me correct variable but unjar does not... where do I go wrong?

2005-02-17 Thread Mark Donszelmann
Hi in fact that is what I did, I miswrote my example, I used and it complains. So I am still stuck... Regards Mark - Original Message - From: "Brett Porter" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Thursday, February 17, 2005 8:42 PM Subject: Re: echo gives me correct varia

Re: echo gives me correct variable but unjar does not... where do I go wrong?

2005-02-17 Thread Brett Porter
just like you were in echo, unless I am missing something: On Thu, 17 Feb 2005 20:18:38 -0800, Mark Donszelmann <[EMAIL PROTECTED]> wrote: > Hi > > - Original Message - > From: "Brett Porter" <[EMAIL PROTECTED] > > To: "Maven Users List" > Sent: Thursday, February 17, 2005 8:09 PM >

Re: echo gives me correct variable but unjar does not... where do I go wrong?

2005-02-17 Thread Mark Donszelmann
Hi - Original Message - From: "Brett Porter" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Thursday, February 17, 2005 8:09 PM Subject: Re: echo gives me correct variable but unjar does not... where do I go wrong? > it isn't being evaulated because of the way you are pulling it bac

Re: echo gives me correct variable but unjar does not... where do I go wrong?

2005-02-17 Thread Brett Porter
it isn't being evaulated because of the way you are pulling it back. Try using the value of ${name} in the unjar statement. - Brett On Thu, 17 Feb 2005 19:57:37 -0800, Mark Donszelmann <[EMAIL PROTECTED]> wrote: > Hi > > I have an x.properties file like this: > > file=somedir/${specific}/myfil

echo gives me correct variable but unjar does not... where do I go wrong?

2005-02-17 Thread Mark Donszelmann
Hi I have an x.properties file like this: file=somedir/${specific}/myfile.jar I load this properties file in maven like this: I set "specific" like this: (not sure why I needed scope="parent" here, but otherwise the echo below did not work. There seems to be no doc on the scopes one can

dependency question

2005-02-17 Thread Janos Mucsi
I declare an ear artifact in my project.xml: opcert USOpcert ${pom.currentVersion} ear In maven.xml I want to resolve its full path so that I can pass it to an external script like this: *${home.dir}*${maven.repo.local}/${dependency.groupId}/${dependen

Re: Copying jar to other directory after 'maven jar'?

2005-02-17 Thread Brett Porter
you can create a maven.xml file with: This will work in any situation. - Brett On Thu, 17 Feb 2005 16:45:09 -0700, Guy Davis <[EMAIL PROTECTED]> wrote: > Hello, > > I've been asked to use Maven to create our jar file and put it in it's > historical location {proj.home}/lib/. Curr

how does WAS5 plugin work?

2005-02-17 Thread Janos Mucsi
Hi I noticed that the WAS5 plugin does not call ws_ant before doing anything. Just by putting in the taskdef for the WebSphere task into ant, it will not work without the bootstrapping that ws_ant provides. Here is the code snippet taken out from the plugin: maven.was5.serverStatus.server mu

Copying jar to other directory after 'maven jar'?

2005-02-17 Thread Guy Davis
Hello, I've been asked to use Maven to create our jar file and put it in it's historical location {proj.home}/lib/. Currently, Maven creates it in {proj.home}/target/. Is there a setting or something else I can set to have the jar placed in the lib/ location? I'd like to keep everything else

Re: Maven reactor environment

2005-02-17 Thread Brett Porter
Vincent, I've read this a couple of times and I still can't understand what you mean. So you are trying to create a file under the plugin cache directory in a temporary folder? Maybe you can send me a copy of the plugin and test case privately. I assume this is for the work on i18n of the docs?

Re: SCM and remembered version numbers

2005-02-17 Thread Brett Porter
in the pom can currently be used to record tags. - Brett On Thu, 17 Feb 2005 18:04:45 -0500, Tate Austin <[EMAIL PROTECTED]> wrote: > > Okay, so I am finally getting around to writing a goal that will create > a cvs patch file by taking the current version of the repository and > finding the d

SCM and remembered version numbers

2005-02-17 Thread Tate Austin
Okay, so I am finally getting around to writing a goal that will create a cvs patch file by taking the current version of the repository and finding the difference between it and the last time it was tagged. Is there a way that CVS remembers most recent versions, or do I need to be keeping track

Re: Project configuration with 3rd party package dependencies

2005-02-17 Thread Mykel Alvis
Depends on the license of the code (primarily) and (possibly) the choice of the developers. I HEAR (but do not know for certain) that code can be pushed to ibiblio by a nice request to the maven development team if all the other (legal) elements are in place. On Thu, 17 Feb 2005 10:52:47 -0800 (

Re: Clover: getting error "Sorry, you are not licensed to use the requested feature"

2005-02-17 Thread Tim Brazil
I guess I didn't read the fine print. :( You cannot create reports with a Workstation license. That's where it's failing b) Workstation Edition A Workstation Edition license entitles the licensee to use Clover Workstation Edition on one (1) machine by one (1) individual end user. Workstation Edi

Re: Castor plugin: The prefix "castor" for element "castor:generate" is not bound.

2005-02-17 Thread Graham Leggett
[EMAIL PROTECTED] wrote: do you have castor\jars in your repository? If not, you need to do a plugin:download There is a maven-castor-plugin.jar and a castor-0.9.5.jar available in the repository. If I delete the castor jar, it downloads it again and then says "Could not find org.exolab.castor.bu

Clover: getting error "Sorry, you are not licensed to use the requested feature"

2005-02-17 Thread Tim Brazil
Hi We just purchased a workstation license for clover. Previously we were using the 30 evaluation license which is downloaded via the maven environment. I intially tried to simply add the license to the existing clover-ant-1.3_01.jar but that didn't work. We then downloaded the Clover Version 1

Re: reactor goals

2005-02-17 Thread Brett Porter
, should work. Are you sure that the goals are not run? IF they don't output anything they won't be displayed (Maven bug). Try putting an at the top of each goal to verify. Cheers, Brett On Thu, 17 Feb 2005 16:10:22 -0500, Glenn R. Golden <[EMAIL PROTECTED]> wrote: > I cannot figure out how t

RE: OS-conditional report generation

2005-02-17 Thread Alex Borchers
works like a charm...thanks -Original Message- From: Eric Giguere [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 1:11 PM To: Maven Users List Subject: Re: OS-conditional report generation Hey Alex! Ok, I lead you in the wrong direction, well, partially. The tag cannot be u

Re: clean and dependencies

2005-02-17 Thread Erik Husby
That is a known problem with Maven. You can speed things up by running off-line for the clean (off-line just means, don't try to download from the net) > maven -o clean -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mo

Re: OS-conditional report generation

2005-02-17 Thread Erik Husby
Alex Borchers wrote: Hi Eric, In trying to implement your suggestion, from in project.xml I've eliminated all but maven-junit-report-plugin and created a new goal in maven.xml. I've searched the archives but have been figure out the syntax to manually register reports with the xdoc plug-in via it

Re: OS-conditional report generation

2005-02-17 Thread Eric Giguere
Hey Alex! Ok, I lead you in the wrong direction, well, partially. The tag cannot be used by itself :(, was not designed after all to be used like this. The problem is that the pom object is the one holding the list of reports to be genrated and then based on this list, the registers are called.

reactor goals

2005-02-17 Thread Glenn R. Golden
I cannot figure out how to specify multiple goals to the reactor. I've tried and and in both cases the reactor goes through the motions but runs NO goals. What's the proper way to do this? Thanks. - Glenn Glenn R. Golden, Sakai

Re: Castor plugin: The prefix "castor" for element "castor:generate" is not bound.

2005-02-17 Thread Thomas_Perry
do you have castor\jars in your repository? If not, you need to do a plugin:download I also have a %HOME% environmental variable set to the path Documents and Settings\tperry I think maven uses that variable to get the path to the repository in the classpath. Do you have a similar variable s

clean and dependencies

2005-02-17 Thread Glenn R. Golden
when I run the clean:clean goal, it's failing because the project dependencies are missing. They are missing because I have already run a clean goal, or have not yet run a build. I would think that clean could run without dependencies, since it's just going to delete some build by-products.

RE: OS-conditional report generation

2005-02-17 Thread Alex Borchers
Hi Eric, In trying to implement your suggestion, from in project.xml I've eliminated all but maven-junit-report-plugin and created a new goal in maven.xml. I've searched the archives but have been figure out the syntax to manually register reports with the xdoc plug-in via its registerReports ta

Re: Castor plugin: The prefix "castor" for element "castor:generate" is not bound.

2005-02-17 Thread Graham Leggett
[EMAIL PROTECTED] wrote: This is a namespace problem. If you have a tag like I fixed the namespaces as you suggested, and the warnings are now gone. Castor still won't run though, it now complains as below. It seeems maven has got confused as to whether it had downloaded castor or not - any idea

Re: Broken EAR Goal: ear:generate-ear-descriptor

2005-02-17 Thread Michal Maczka
James Adams wrote: It seems that the ear:generate-ear-descriptor goal is not working, at least not for me. Is this a known bug, or have I perhaps corrupted my Maven installation in some way ? Below are the errors I see when running "maven ear:generate-ear-descriptor": - You cannot call "ear:ge

Re: Castor plugin: The prefix "castor" for element "castor:generate" is not bound.

2005-02-17 Thread Thomas_Perry
Sorry, I shouldn't have used a generalized example without checking first. In the castor plugin I found this namespace declaration in plugin.jelly: xmlns:castor="castor" try that in place of maven:castor regards Tom Graham Leggett <[EMAIL PROTECTED]> wrote on 02/17/2005 01:49:37 PM: > [E

Re: Castor plugin: The prefix "castor" for element "castor:generate" is not bound.

2005-02-17 Thread Graham Leggett
[EMAIL PROTECTED] wrote: This line indicates the problem: "org.xml.sax.SAXParseException: The prefix "castor" for element "castor:generate" is not bound." This is a namespace problem. If you have a tag like hope this helps. This has helped a whole lot, thanks! Maven now downloads the castor jar f

Broken EAR Goal: ear:generate-ear-descriptor

2005-02-17 Thread James Adams
It seems that the ear:generate-ear-descriptor goal is not working, at least not for me. Is this a known bug, or have I perhaps corrupted my Maven installation in some way ? Below are the errors I see when running "maven ear:generate-ear-descriptor": __ __ | \/

Re: Project configuration with 3rd party package dependencies

2005-02-17 Thread Oscar Picasso
I have a related question. Is it possible to upload a resource to ibiblio even if we are not related to its development? For example I use 'some-userful.jar' in an open source project. The resource 'some-userful.jar' itself is open source but I am not its author. I would find more convenient to

Re: Project configuration with 3rd party package dependencies

2005-02-17 Thread Rick Mangi
Easier: jta jta jta.jar jar Just specify the name of the jar as being static and leave the version off. On Feb 17, 2005, at 12:43 PM, Helck, Christopher wrote: Spring is on ibilio at http://www.ibiblio.org/maven/springframework/jars/. Other ones you need may be there too

Re: How to build a EAR with EJB and WAR included ?

2005-02-17 Thread James Adams
>From what I can tell an eclipse:multiproject goal doesn't even exist. See http://maven.apache.org/reference/plugins/eclipse/goals.html Also I asked about heiracrhical projects in Eclipse yesterday on the MyEclipse support forum and they nixed the idea. See http://www.myeclipseide.com/PNphpBB2+f

RE: Project configuration with 3rd party package dependencies

2005-02-17 Thread Helck, Christopher
Spring is on ibilio at http://www.ibiblio.org/maven/springframework/jars/. Other ones you need may be there too. I would recommend moving the JAR files that are not on ibiblio (or some other repository) to a local repository. If you place them in src/lib you'll have to check them into your source

Re: How to build a EAR with EJB and WAR included ?

2005-02-17 Thread David Jencks
I think I forgot to mention that the project you run multiproject:install in has to have the project.properties file with maven.multiproject.includes and maven.multiproject.excludes in it. I don't recall if I tested it explicitly but you should be able to have things like ../otherproject/foo/p

Creating a SAR for JBoss MBeans

2005-02-17 Thread James Adams
I would like to create a SAR which contains JMX MBean classes and a META-INF with a deployment descriptor. Essentially the layout of the SAR file is the same as an EJB JAR, but I suspect that I shouldn't be using the ejb plugin for this. However I don't see any other plugins which look to be appr

Project configuration with 3rd party package dependencies

2005-02-17 Thread Randolph Kahle
I am converting a project to Maven. This project has dependencies on many external libraries (JAR files). Which is the preferred way to handle these: * Create a /src/lib area for run-time dependencies * Move the JAR files into the local repository Examples of dependencies include Spring,

Re: How to build a EAR with EJB and WAR included ?

2005-02-17 Thread James Adams
David your approach looks to be as simple as possible. The only problem is that Eclipse really doesn't allow me to have my entire project under a root directory, hence I'll probably take Arnaud's suggestion and create a "root" project at the same level as the other projects/modules. With this arr

RE: Eclipse plugins and maven

2005-02-17 Thread Duncan Krebs
Gilles thanks! -Original Message- From: Gilles Dodinet [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 16, 2005 12:33 PM To: Maven Users List Subject: Re: Eclipse plugins and maven the mep plugin needs to be rewritten. ive started the rewriting but seriously lacked of time the pas

Re: Castor plugin: The prefix "castor" for element "castor:generate" is not bound.

2005-02-17 Thread Thomas_Perry
This line indicates the problem: "org.xml.sax.SAXParseException: The prefix "castor" for element > "castor:generate" is not bound." This is a namespace problem. If you have a tag like wrote on 02/17/2005 10:44:03 AM: > Hi all, > > While trying to set up the castor plugin (and following the

Castor plugin: The prefix "castor" for element "castor:generate" is not bound.

2005-02-17 Thread Graham Leggett
Hi all, While trying to set up the castor plugin (and following the instructions for installing a default implementation of it), I try and run maven jar:install (castor is a preGoal of this), and get the exception below. Google doesn't show this error anywhere, so I am stumped. Anyone know what t

Re: running maven

2005-02-17 Thread Thomas_Perry
bahaa Nasrallah <[EMAIL PROTECTED]> wrote on 02/17/2005 08:22:30 AM: > Hi, > On my project i have a maven.xml file and project.xml file. when i run > "maven" in the command line it doesn't compile the src files that are > specified under in the project.xml. it only runs the > goals speci

test plugin + problem with classloader? (can't get a package)

2005-02-17 Thread Maciej Zywno
Hi, I've got two seperate folders for unit tests and app sources: test/src and src. The unit tests work fine when triggered from eclipse (junit view), but fails when triggered by Maven (maven test goal). I guess that the problem is connected with Ant classloader which is used when Maven is used to

Re: running maven

2005-02-17 Thread Rick Mangi
maven java:compile to run a goal in maven.xml: maven Read the docs on the website for more information. On Feb 17, 2005, at 8:22 AM, bahaa Nasrallah wrote: Hi, On my project i have a maven.xml file and project.xml file. when i run "maven" in the command line it doesn't compile the src files tha

JXR and Javadocs

2005-02-17 Thread Oscar Picasso
Hi, For my site I generate javadocs for all classes and members in protected scope and above. I also use the jxr plugin to generate cross reference of sources for all classes in package private scope and above. The problem is that there are no javadocs for the package private classes but jxr st

Re: OS-conditional report generation

2005-02-17 Thread Eric Giguere
Hello Alex Maybe creating a goal in your maven.xml that will "manually" register the reports you want to run instead of using the built-in mechanism offered by the tag in you project.xml? Note that you still have to supply at least 1 report in the project.xml otherwise, default behavior of the

Re: How to configure the name of the target directory?

2005-02-17 Thread Gisbert Amm
Maczka Michal wrote: -Original Message- From: Gisbert Amm [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 11:36 AM To: Maven Users List Subject: Re: How to configure the name of the target directory? Yes, maven.build.dir is exactly what I was looking for. Sorry for bothering yo

Re: How to configure the name of the target directory?

2005-02-17 Thread Brett Porter
> I haven't found any hardcoding yet in the plugins I use but if there are any > they should definitely be fleshed out. I audited this pre-Maven 1.0 and it should be ok. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: How to configure the name of the target directory?

2005-02-17 Thread Martijn Dashorst
It is configurable, and should be, just like the src and test directories. If it isn't, I don't see how one can 'easily' transform an ant project to maven without jumping through hoops. Is there any particular and good reason why you want to change it? By using this setting, it is easier to be

RE: How to configure the name of the target directory?

2005-02-17 Thread Vincent Massol
Hi Michal, I personally always change it... The reason is that I like to have the following structure: Myproject |_ project1 |_ projectN |_ target |_ maven |_ eclipse I put my eclipse files in target/eclipse so that when I do a clean this doesn't screw up my eclipse files. I have

running maven

2005-02-17 Thread bahaa Nasrallah
Hi, On my project i have a maven.xml file and project.xml file. when i run "maven" in the command line it doesn't compile the src files that are specified under in the project.xml. it only runs the goals specified in maven.xml. when i run "maven site:generate" in the command line it compiles t

RE: How to configure the name of the target directory?

2005-02-17 Thread Maczka Michal
> -Original Message- > From: Gisbert Amm [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17, 2005 11:36 AM > To: Maven Users List > Subject: Re: How to configure the name of the target directory? > > > Yes, maven.build.dir is exactly what I was looking for. Sorry for > bothering yo

Re: How to configure the name of the target directory?

2005-02-17 Thread Gisbert Amm
Yes, maven.build.dir is exactly what I was looking for. Sorry for bothering you with a RTFM question. I had somehow overseen it (not yet fully waken up, I suppose ;-) Thanks, Gisbert Martijn Dashorst wrote: You might want to read the User's guide: http://maven.apache.org/reference/user-guide.htm

Re: How to configure the name of the target directory?

2005-02-17 Thread Martijn Dashorst
You might want to read the User's guide: http://maven.apache.org/reference/user-guide.html#Behavioural_Properties Martijn Gisbert Amm wrote: Hello maveners, is it possible to configure the name of the target directory? I've searched for a property like maven.target.directory or so but did not find

RE: How to configure the name of the target directory?

2005-02-17 Thread Vincent Massol
Check the default.properties file in your MAVENHOME/lib/maven.jar. -Vincent > -Original Message- > From: Gisbert Amm [mailto:[EMAIL PROTECTED] > Sent: jeudi 17 février 2005 11:00 > To: Maven Users List > Subject: How to configure the name of the target directory? > > Hello maveners, > >

How to configure the name of the target directory?

2005-02-17 Thread Gisbert Amm
Hello maveners, is it possible to configure the name of the target directory? I've searched for a property like maven.target.directory or so but did not find anything. Any help or idea would be highly appreciated. Regards, Gisbert Amm --

Re: Maven, Hibernate, and XDoclet - Please Help Or Show Me The "m" in RTFM!

2005-02-17 Thread Konstantin Priblouda
--- Sean Muse <[EMAIL PROTECTED]> wrote: > Is is possible to have Maven run Xdoclet against the > source of the base project but compile against the > jar > of the base? jar of the base project will get you nowhere. xdoclet works against sources... regards, = [ Konstantin Pribluda ( ko

RE: [VOTE] Where to put the Clover license? (was RE: Maven-Clover-Plugin: License is not downloaded from local Maven repo)

2005-02-17 Thread Vincent Massol
> -Original Message- > From: Gisbert Amm [mailto:[EMAIL PROTECTED] > Sent: jeudi 17 février 2005 09:26 > To: Maven Users List > Subject: Re: [VOTE] Where to put the Clover license? (was RE: Maven- > Clover-Plugin: License is not downloaded from local Maven repo) > > Since the original po

Re: How to build a EAR with EJB and WAR included ?

2005-02-17 Thread Arnaud HERITIER
You can also take a look at : http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf Arnaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [VOTE] Where to put the Clover license? (was RE: Maven-Clover-Plugin: License is not downloaded from local Maven repo)

2005-02-17 Thread Gisbert Amm
Since the original posting was mine: +1 Gisbert Vincent Massol wrote: Actually this thread made me think about the Clover license. ATM, I had stored it in the Maven repository under a "license" type. I now think this is wrong... The problems that I can see: - A license is not tied to a version of a

Re: How to build a EAR with EJB and WAR included ?

2005-02-17 Thread Arnaud HERITIER
Hi David You're right. My proposal is useful if you want to customize default goals (what I often do). You're solution is the simplest one. James : 1. Yes I missed to declared the j namespace. In the root maven.xml you must define the project like this : 2. you can create a new "fake" project :