Changeset 27304

Show
Ignore:
Timestamp:
11/15/07 19:18:07 (3 years ago)
Author:
bstefanescu
Message:

added apt plugin and default apt config

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nuxeo-ep/trunk/pom.xml

    r27181 r27304  
    5757 
    5858  <dependencyManagement> 
    59     <dependencies> 
     59    <dependencies>     
    6060      <dependency> 
    6161        <groupId>com.sun.facelets</groupId> 
     
    360360 
    361361  <dependencies> 
     362    <!-- needed by APT for annotation processing --> 
     363    <dependency> 
     364      <groupId>org.nuxeo.build</groupId> 
     365      <artifactId>nuxeo-apt-extensions</artifactId> 
     366      <version>1.0-SNAPSHOT</version> 
     367      <scope>compile</scope> 
     368    </dependency> 
    362369    <dependency> 
    363370      <groupId>junit</groupId> 
    364371      <artifactId>junit</artifactId> 
    365372      <scope>test</scope> 
    366     </dependency> 
     373    </dependency>     
    367374  </dependencies> 
    368375 
     
    385392        </configuration> 
    386393      </plugin> 
     394      <!-- APT plugin for annotation preprocessing --> 
     395      <plugin> 
     396        <groupId>org.apache.myfaces.tobago</groupId> 
     397        <artifactId>maven-apt-plugin</artifactId> 
     398        <configuration> 
     399          <generated>/target/generated/</generated> 
     400          <nocompile>true</nocompile> 
     401          <target>1.5</target> 
     402        </configuration> 
     403        <executions> 
     404          <execution> 
     405            <id>generate-bindings</id> 
     406            <goals> 
     407              <goal>execute</goal> 
     408            </goals> 
     409          </execution> 
     410        </executions> 
     411      </plugin> 
     412       
    387413      <plugin> 
    388414        <groupId>org.apache.maven.plugins</groupId>