Thanks Jeff. It works!

Mariusz


Jeff MAURY wrote:
> 
> Bind the maven-exec-plugin to a phase like process-resources and run maven
> against this phase --> JAR won't be produced
> 
> Jeff MAURY
> 
> 
> On 7/25/08, syllepsa <[EMAIL PROTECTED]> wrote:
>>
>>
>> Maybe I will describe what I want to do. I wrote some xslt
>> transformation.
>> My
>> xml files are transformed by two external programs. Thus I need to run
>> these
>> two apps via maven-exec-plugin (and it's done). So...
>>
>> 1. I don't need compile sources and copy them to the target directory.
>> 2. I don't need create jar file.
>> 3. I don't need copy my resources (xml, xsl, exe) into target directory.
>>
>> Regards
>>
>> Mariusz
>>
>>
>> syllepsa wrote:
>> >
>> >
>> >
>> > Stephen Connolly-2 wrote:
>> >>
>> >> Alternatively, you could use pom packaging if you do not intend for
>> your
>> >> module to ever produce a jar
>> >>
>> >> On Fri, Jul 25, 2008 at 8:48 AM, Manuel EVENO <[EMAIL PROTECTED]>
>> >> wrote:
>> >>
>> >>> Do you want to use an external program to create the jar ?
>> >>> On this point, I'm joining Jeff ....
>> >>>
>> >>> Otherwise, you can target plugin goals directly by calling :
>> >>> mvn exec:exec
>> >>>
>> >>> Manuel
>> >>>
>> >>> On Fri, Jul 25, 2008 at 9:39 AM, syllepsa <[EMAIL PROTECTED]> wrote:
>> >>>
>> >>> >
>> >>> > Hi,
>> >>> >
>> >>> > Is it possible to turn off JAR building? I just want to run
>> external
>> >>> > program
>> >>> > via maven-exec-plugin.
>> >>> >
>> >>> > Thank you in advance
>> >>> >
>> >>> > Mariusz
>> >>> > --
>> >>> > View this message in context:
>> >>> >
>> >>>
>> http://www.nabble.com/How-to-skip-JAR-creation-tp18646725p18646725.html
>> >>> > Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>> >
>> >>> >
>> >>> >
>> ---------------------------------------------------------------------
>> >>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >>> >
>> >>> >
>> >>>
>> >>
>> >>
>> >
>> > I know how to run external program via maven-exec-plugin. The problem
>> is
>> > that the whole process takes too long (at least much longer than ANT
>> > does). Thus I wanted to skip JAR building (simply I don't need it).
>> >
>> > Regards
>> >
>> > Mariusz
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-skip-JAR-creation-tp18646725p18647438.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> La mélancolie c'est communiste
> Tout le monde y a droit de temps en temps
> La mélancolie n'est pas capitaliste
> C'est même gratuit pour les perdants
> La mélancolie c'est pacifiste
> On ne lui rentre jamais dedans
> La mélancolie oh tu sais ça existe
> Elle se prend même avec des gants
> La mélancolie c'est pour les syndicalistes
> Il faut juste sa carte de permanent
> 
> Miossec (2006)
> 
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.lastfm.fr/listen/user/jeffmaury/personal
> 
> 
> -----
> http://riadiscuss.blogspot.com 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-skip-JAR-creation-tp18646725p18648082.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to