|
Ant example source code file (README.txt)
The README.txt source codeBuilding Ant with Maven ----------------------- The Ant jars can be built using Maven and the POMS present in this directory. Libs not available in the maven repository groupId artifactId version comment com.bea weblogic 8.1.3.0 download it com.bea weblogicclasses 5.1 a newer version can do. jai jai-core 1.1.2_01 download jai from sun jai jai-codec 1.1.2.1 download jai from sun javax.media jmf 2.1.1e dowmload jmf from sun com.ibm.netrexx netrexx 2.0.5 I used the file NetRexxC.jar from the netrexx distribution com.starteam starteam-sdk 5.2 the original file is called starteam-sdk.jar stylebook stylebook 1.0-b2 the original file is called stylebook-1.0-b2.jar to install a jar file into your local Maven cache, do this mvn install:install-file -DgroupId=foo.org -DartifactId=xx -Dversion=x.y -Dpackaging=jar -Dfile=/a/b/foo.jar HOW TO BUILD : from this directory, type mvn install (or mvn package) If you do not have all the dependencies, you can remove the modules that you will not be able to build from the pom.xml in this directory. You also might want to disable the tests. mvn install -Dmaven.test.skip=true TODO : * see if the dependency to weblogicclasses.jar can be replaced by a dependency to some j2ee.jar from Sun, as it supplies some javax.ejb classes which are required at compile time. PROBLEMS : * the unit tests cannot run properly, the maven-surefire-plugin sets a system property basedir which make a large part of our tests fail * JIRA issue http://jira.codehaus.org/browse/MSUREFIRE-177 asking the Maven colleagues to fix this. :-) REFERENCES : about skipping tests : http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html Other Ant examples (source code examples)Here is a short list of links related to this Ant README.txt source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.