vmassol     2003/09/21 03:02:55

  Modified:    framework maven.xml
  Log:
  Make the aspect plugin work. To generate a jar with aspects weaved in, type: "maven 
clean aspectj jar". I've suggested improvements to the aspectj plugin on the Maven 
mailing list.
  
  Revision  Changes    Path
  1.6       +9 -3      jakarta-cactus/framework/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/framework/maven.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- maven.xml 21 Sep 2003 08:50:42 -0000      1.5
  +++ maven.xml 21 Sep 2003 10:02:55 -0000      1.6
  @@ -4,8 +4,7 @@
     xmlns:u="jelly:util"
     xmlns:maven="jelly:maven">
   
  -  <preGoal name="java:compile">
  -
  +  <goal name="cactus-framework:init">
       <!-- Add the J2EE specific source directory to the list of source 
            directories, as Maven only supports defining a single source
            directory in project.xml -->
  @@ -13,7 +12,14 @@
           location="${pom.build.sourceDirectory}/../j2ee${cactus.j2ee.version}"/>
       <maven:addPath id="maven.compile.src.set" 
           refid="maven.j2ee.compile.src.set"/>
  -
  +  </goal>
  +  
  +  <preGoal name="java:compile">
  +    <attainGoal name="cactus-framework:init"/>
     </preGoal>
   
  +  <preGoal name="aspectj:compile">
  +    <attainGoal name="cactus-framework:init"/>
  +  </preGoal>
  +  
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to