Re: Getting JAR for current plugin

2007-02-18 Thread Tom Huybrechts
IIRC, getClass().getProtectionDomain().getCodeSource().getLocation() will return the URL off the jar containing the current class. Maybe that helps ? Tom On 2/18/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: I'm using javadoc to scrape a set of classes and annotations to form an XML file

Re: Best way to extend install plugin?

2007-02-18 Thread Tom Huybrechts
Extending existing mojo's doesn't work very well, because the parameters for the extended mojo are not injected. Do you really need to subclass ? Can't you just write an additional mojo and bind that to the install phase, next to the ordinary install ? And when you have the OBR plugin, would you

Re: Best way to extend install plugin?

2007-02-18 Thread Tim Moloney
Tom Huybrechts wrote: Extending existing mojo's doesn't work very well, because the parameters for the extended mojo are not injected. Thanks, you confirmed my diagnosis. :) Do you really need to subclass ? Can't you just write an additional mojo and bind that to the install phase, next to

Creating a new build type - InstallShiled

2007-02-18 Thread Rahamim, Zvi \(Zvi\)
Hi I have a new type of project: build install shield project. This build require to get files from the version control, copy files from remote repository and execute a command line. I believe creating a plug-in is not enough, Can you tell me what I should do? Thanks!

Re: Creating a new build type - InstallShiled

2007-02-18 Thread Dan Tran
what is the problem you are facing? -D On 2/18/07, Rahamim, Zvi (Zvi) [EMAIL PROTECTED] wrote: Hi I have a new type of project: build install shield project. This build require to get files from the version control, copy files from remote repository and execute a command line. I believe

Bizarre behaviour modules in site generation

2007-02-18 Thread Gregory Kick
I'm finding some strange behavior with generating sites. I have a project with pom packaging and two modules. One module has ear packaging and another has pom packaging also. I was running 'mvn site' from the top level without a problem, but I hadn't given the projects names via the name tag.

Deploy datasource with jboss-maven-plugin?

2007-02-18 Thread Manos Batsis
Hello, Is there any proper way to do that along with jboss:harddeploy? Many thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Built-On date for my manifest

2007-02-18 Thread Brandon Goodin
I want to get the current date/time to add to my manifest file. Is there a simple property i can use to retrieve the current date/time. I'm sorry if this is a dumb question. But, i searched the list archives and googled. I came up empty. archive ... manifestEntries Build-On... need date

Re: Built-On date for my manifest

2007-02-18 Thread Brandon Goodin
Found this http://jira.codehaus.org/browse/MNG-1832. Looks like the functionality is coming. But, not yet. Is there a workaround to this? Bradon On 2/18/07, Brandon Goodin [EMAIL PROTECTED] wrote: I want to get the current date/time to add to my manifest file. Is there a simple property i can

Re: [m2] AW: Maven from command-line only?

2007-02-18 Thread lightbulb432
Yes that sounds useful, from where could I obtain that plugin? Thanks. Thorsten Vogel wrote: Personally, I still use maven in the command line, and Eclipse as an editor. Me too. I wrote an Eclipse plug-in to open a command shell window in the current package explorer directory. Let

POM deps to Antlib markup?

2007-02-18 Thread Manos Batsis
Subject says it all. Maybe an command line tool or XSLT is available? I'd like the ability to synch an archetype with an Ant-based project template. Thanks in advance, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Can't compile project

2007-02-18 Thread lightbulb432
When I do a mvn -e compiler:compile in the root of my project with a pom.xml in it, I get the following output. It doesn't work, and I'm not sure why. Any ideas how I can get it to work? It's saying that it can't find the file from the remote repository, but those files were all automatically

Terracotta Maven plugin(s), anyone?

2007-02-18 Thread Jim Bethancourt
Hi all, I was wondering if anyone would be interested in developing a Maven 2 plugin / plugins that would allow for developers to apply Terracotta bytecode enhancement to their Java code through Maven. I've only worked through the Terracotta DSO tutorial, but it seems like a Maven plugin would

Re: Can't compile project

2007-02-18 Thread Wendy Smoak
On 2/18/07, lightbulb432 [EMAIL PROTECTED] wrote: When I do a mvn -e compiler:compile in the root of my project with a pom.xml in it, I get the following output. It doesn't work, and I'm not sure why. Any ideas how I can get it to work? Try mvn package or mvn install instead of the

Re: Terracotta Maven plugin(s), anyone?

2007-02-18 Thread Scott Ryan
I would love to work with you on developing the plugin. I heard about their presentation at the Denver Java User's Group and would love to look at their technology deeper. I have developed some plugins already for weblogic and appfuse. Scott Ryan [EMAIL PROTECTED] On Feb 18, 2007, at

Re: Terracotta Maven plugin(s), anyone?

2007-02-18 Thread Raphaël Piéroni
Hi Jim, I think the Mojo community would like to host your plugin. Just ask for at : dev@mojo.codehaus.org Raphaël 2007/2/18, Scott Ryan [EMAIL PROTECTED]: I would love to work with you on developing the plugin. I heard about their presentation at the Denver Java User's Group and would

Re: Can't compile project

2007-02-18 Thread Mark Derricutt
On 2/19/07, Wendy Smoak [EMAIL PROTECTED] wrote: 2) javax.transaction:jta:jar:1.0.1B That must be one of the Sun jars that can't go into the central repo due to licensing. Only the pom is there: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/ Regarding this - I see that Suns

Re: [m2] Terracotta Maven plugin(s), anyone?

2007-02-18 Thread Eugene Kuleshov
Jim Bethancourt-2 wrote: I was wondering if anyone would be interested in developing a Maven 2 plugin / plugins that would allow for developers to apply Terracotta bytecode enhancement to their Java code through Maven. I've only worked through the Terracotta DSO tutorial, but it seems

Re: Built-On date for my manifest

2007-02-18 Thread Tony Ambrozie
You could try to use the buildnumber plugin: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html Thanks' On 2/18/07, Brandon Goodin [EMAIL PROTECTED] wrote: I want to get the current date/time to add to my manifest file. Is there a simple property i can use to retrieve

maven 2 and ear creation problem

2007-02-18 Thread xyz
Hi all, We are using maven 2.0.4 and when we build the ear file with the pom.xml, we get a null pointer exception. Can some one please tell us possible causes for this or possible areas where we need to look for solving this issue. We are using maven ear plugin to build the ear. Thanks -- View

Re: maven 2 and ear creation problem

2007-02-18 Thread Tony Ambrozie
Can you post the relevant section of the mvn output? You may want to enable stacktraces (mvn ...-X...) Thanks On 2/18/07, xyz [EMAIL PROTECTED] wrote: Hi all, We are using maven 2.0.4 and when we build the ear file with the pom.xml, we get a null pointer exception. Can some one please tell

Re: [m2] [mojo-dev] Re: Terracotta Maven plugin(s), anyone?

2007-02-18 Thread Eric-Ellis
Raphaël Piéroni-3 wrote: Hi Jim, I think the Mojo community would like to host your plugin. Just ask for at : dev@mojo.codehaus.org Raphaël 2007/2/18, Scott Ryan [EMAIL PROTECTED]: I would love to work with you on developing the plugin. I heard about their presentation at the

Re: Best way to extend install plugin?

2007-02-18 Thread Eric Redmond
On 2/18/07, Tim Moloney [EMAIL PROTECTED] wrote: Tom Huybrechts wrote: Extending existing mojo's doesn't work very well, because the parameters for the extended mojo are not injected. Thanks, you confirmed my diagnosis. :) Do you really need to subclass ? Can't you just write an

Re: Built-On date for my manifest

2007-02-18 Thread Brandon Goodin
We are currently using the buildnumber plugin to name our release with the svn repository revision number. We don't want the actual date involved in the release name. Are there any other solutions that have been used? I was thinking of trying to set an environment variable with antrun and then

RE: Accessing the POM classpath from within an Ant based mojo

2007-02-18 Thread hermod.opstvedt
Hi There is a Ant utility for this in the websphere5 plugin. Take a look at how this is done there. https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/mojo-was Hermod -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] Sent: Saturday, February 17, 2007 10:54 PM To: Maven

Re: Best way to extend install plugin?

2007-02-18 Thread Tim Moloney
Eric Redmond wrote: On 2/18/07, Tim Moloney [EMAIL PROTECTED] wrote: Can two bundles be bound to the same phase as default? Yes, you can write a comma-seperated list of goals in the phase field of your packaging extension. For example, the definition of the maven-plugin lifecycle mapping for

My first program is not working. Please help.

2007-02-18 Thread Rajmahendra
Hi all i am new to Maven i have just wrote my first program i am using Maven 2.x pom.xml ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; modelVersion4.0.0/modelVersion groupIdcom.mymaven.main/groupId artifactIdMavenTest/artifactId

Re: My first program is not working. Please help.

2007-02-18 Thread Tim Kettler
Hi, you are mixing maven1 with maven2. The 'maven.xml' configuration file is purely for m1. For m2 you only need the 'pom.xml'. I advise you to have look at the 'Getting Started Guide' [1] and/or the free maven book [2] from megere. Hope this helps -Tim [1]

Re: [m2] [mojo-dev] Re: Terracotta Maven plugin(s), anyone?

2007-02-18 Thread Jim Bethancourt
Hi all, It's great to see such fast response so far, even on a weekend. Please continue to write to this thread if you're interested in such a plugin or want to help develop it. Eric -- I definitely see where you're coming from and understand completely with regards to Terracotta being a

Adding TestNG listener to maven-surefire-plugin

2007-02-18 Thread Erez Nahir
Hi all, TestNG provide a command line option to pass test listeners (example, form testng website: java -classpath testng.jar;%CLASSPATH% org.testng.TestNG-listener org.testng.reporters.DotTestListener test\testng.xml) How can I pass my listener to maven-surefire-plugin? My current surefire

RE: Creating a new build type - InstallShiled

2007-02-18 Thread Rahamim, Zvi \(Zvi\)
The problem is that I don't know how to create this new type (life cycle, mojo/es, how to connect between all...) -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Sunday, February 18, 2007 6:39 PM To: Maven Users List Subject: Re: Creating a new build type -

Re: I can't add project to contimuum

2007-02-18 Thread dawn.angelito
Hi Martin, It could be that your URL is incorrect because Continuum couldn't download it. Have you tried uploading your pom instead? Dawn martin.villalobos wrote: Hi, i'm new in the CI world. i'm trying to add a Maven 2 project in continuum from the web interface but... when i try to do

Re: Creating a new build type - InstallShiled

2007-02-18 Thread Dan Tran
use antrun to populate staging area use exec to run installshield builder use build-helper to attach installershield output to maven so that it can be deployed. -D On 2/18/07, Rahamim, Zvi (Zvi) [EMAIL PROTECTED] wrote: The problem is that I don't know how to create this new type (life