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>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>exec-maven-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>java</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <mainClass>com.example.test</mainClass>
                                        <arguments>
                                                
<argument>target/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]

Reply via email to