Configuring the exec:exec inside pom.xml, so it can be used from command line
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 25 Jan 2013 08:43:56 +0100
changeset 578f8264c292ba6
parent 577 02393718a162
child 579 942deef87200
Configuring the exec:exec inside pom.xml, so it can be used from command line
dew/nbactions.xml
dew/pom.xml
     1.1 --- a/dew/nbactions.xml	Thu Jan 24 19:38:09 2013 +0100
     1.2 +++ b/dew/nbactions.xml	Fri Jan 25 08:43:56 2013 +0100
     1.3 @@ -25,10 +25,6 @@
     1.4                  <goal>process-classes</goal>
     1.5                  <goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
     1.6              </goals>
     1.7 -            <properties>
     1.8 -                <exec.args>-classpath %classpath org.apidesign.bck2brwsr.dew.Dew</exec.args>
     1.9 -                <exec.executable>java</exec.executable>
    1.10 -            </properties>
    1.11          </action>
    1.12          <action>
    1.13              <actionName>debug</actionName>
     2.1 --- a/dew/pom.xml	Thu Jan 24 19:38:09 2013 +0100
     2.2 +++ b/dew/pom.xml	Fri Jan 25 08:43:56 2013 +0100
     2.3 @@ -23,6 +23,26 @@
     2.4                      <target>1.7</target>
     2.5                  </configuration>
     2.6              </plugin>
     2.7 +            <plugin>
     2.8 +                <groupId>org.codehaus.mojo</groupId>
     2.9 +                <artifactId>exec-maven-plugin</artifactId>
    2.10 +                <version>1.2.1</version>
    2.11 +                <executions>
    2.12 +                    <execution>
    2.13 +                        <goals>
    2.14 +                            <goal>exec</goal>
    2.15 +                        </goals>
    2.16 +                    </execution>
    2.17 +                </executions>
    2.18 +                <configuration>
    2.19 +                    <executable>java</executable>
    2.20 +                     <arguments>
    2.21 +                        <argument>-classpath</argument>
    2.22 +                        <classpath/>
    2.23 +                        <argument>org.apidesign.bck2brwsr.dew.Dew</argument>
    2.24 +                    </arguments>
    2.25 +                </configuration>
    2.26 +            </plugin>
    2.27          </plugins>
    2.28      </build>
    2.29      <properties>