MAP supports the Maven project build system. We have a local "virtual" repository that will get you all the SASH2, Struts, etc dependencies for your project automatically.
Configuring Maven 2.0.x to use the MAP Virtual Repository
Edit your conf/settings.xml and add the following profile:
...
Code Block |
---|
<activeProfiles> <activeProfile>dev</activeProfile> </activeProfiles> |
Configuring Eclipse to use Maven
Add the m2eclipse plugin site to your eclipse Software Update sites list and install the plugin:
http://m2eclipse.codehaussonatype.org/update/
You can now right click on your project and add dependencies via maven. Eclipse will also automatically deploy all the dependency jars to your local eclipse-configured tomcat.