Re: generate jar with exec:java and install it

2008-03-09 Thread Jan Torben Heuer
Wayne Fay wrote:

 I'd write a proper plugin. Its really simple.

Thought about it, but the plugin isn't 100% maven-ized, yet. I want to use
exec:java as a workaround until then.

Jan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



generate jar with exec:java and install it

2008-03-08 Thread Jan Torben Heuer
Hi,

I can generate a jarfile with exec:java

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
executions
execution
goals
goaljava/goal
/goals
/execution
/executions
configuration
mainClasscom.example.test/mainClass
arguments

argumenttarget/final.jar/argument
/arguments
/configuration
/plugin


How can i tell the install-plugin to use this file (final.jar)?

How can i automatically tun the exec:java task?

Jan




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: generate jar with exec:java and install it

2008-03-08 Thread Dennis Lundberg
Just out of curiosity, why would you want to use exec-maven-plugin to 
create a jar-file instead of maven-jar-plugin?


Jan Torben Heuer wrote:

Hi,

I can generate a jarfile with exec:java

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
executions
execution
goals
goaljava/goal
/goals
/execution
/executions
configuration
mainClasscom.example.test/mainClass
arguments

argumenttarget/final.jar/argument
/arguments
/configuration
/plugin


How can i tell the install-plugin to use this file (final.jar)?

How can i automatically tun the exec:java task?

Jan




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Dennis Lundberg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: generate jar with exec:java and install it

2008-03-08 Thread Jan Torben Heuer
Dennis Lundberg wrote:

 Just out of curiosity, why would you want to use exec-maven-plugin to
 create a jar-file instead of maven-jar-plugin?

Creating java beans from rdf files. Like xmlbeans does it from xsd files.
However xmlbeans produces class files and my compiler a jar file.

Jan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: generate jar with exec:java and install it

2008-03-08 Thread Wayne Fay
I'd write a proper plugin. Its really simple.

Wayne

On 3/8/08, Jan Torben Heuer [EMAIL PROTECTED] wrote:
 Dennis Lundberg wrote:

  Just out of curiosity, why would you want to use exec-maven-plugin to
  create a jar-file instead of maven-jar-plugin?

 Creating java beans from rdf files. Like xmlbeans does it from xsd files.
 However xmlbeans produces class files and my compiler a jar file.

 Jan


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]