I saw a reference to creating a build-tools.jar to use in a multi module
project for Jalopy:

http://mojo.codehaus.org/jalopy-maven-plugin/multimodule.html


I have dozens of projects that have the need to use the same ant
build.xmlscript and I was hoping to just create a dependancy upon it
like
org.delta.build-tools:build.xml:

Here is what my antrun plugin might look like:

           <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <configuration>
                            <tasks>

                                <ant antfile="
org.delta.build-tools:build.xml" inheritRefs="true">
                                    <target name="compile"/>
                                </ant>

                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>

                <dependencies>

                    <dependency>
                        <groupId>com.sun</groupId>
                        <artifactId>tools</artifactId>
                        <version>1.5.0_08</version>
                        <scope>system</scope>
                        <systemPath>${java.home
}/../lib/tools.jar</systemPath>
                    </dependency>

                    <!-- HOPING TO ADD MY BUILD TOOLS HERE... -->
                    <dependency>
                        <groupId>org.delta</groupId>
                        <artifactId>build-tools</artifactId>
                        <version>1.0.0.0</version>
                        <type>jar</type>
                    </dependency>

            </plugin>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---

Reply via email to