Tips for using the Maven Plugin
- How to install a newer jar file then Vanilla Jetspeed War Contains
If you have a jar file (like the new commons-lang-2.0.jar) that you want to use, doing a jetspeed:overlay will blow away your jars that you might have specified in your project.xml. The quick workaround is to add a postGoal onto the jetspeed:webapp-update goal: {{{ <postGoal name="jetspeed:webapp-update">
<delete>
<fileset dir="c:\portal\target\portal\web-inf\lib" includes="**/commons-lang-*.*"/>
</delete>
<copy file="C:\java\maven\repository\commons-lang\jars\commons-lang-SNAPSHOT.jar" toDir="c:\portal\target\portal\web-inf\lib\"/>
</postGoal> }}}