Skip to content

Latest commit

 

History

History
54 lines (46 loc) · 1.43 KB

README.md

File metadata and controls

54 lines (46 loc) · 1.43 KB

adams-annotations

Java annotations and processors for the ADAMS project.

Maven

Dependency

    <dependency>
      <groupId>nz.ac.waikato.cms.adams</groupId>
      <artifactId>adams-annotations</artifactId>
      <version>0.0.1</version>
    </dependency>

Plugin management

        <plugin>
          <groupId>org.bsc.maven</groupId>
          <artifactId>maven-processor-plugin</artifactId>
          <version>5.1</version>
          <executions>
            <execution>
              <id>process</id>
              <goals>
                <goal>process</goal>
              </goals>
              <phase>process-classes</phase>
              <configuration>
                <processors>
                   <processor>adams.core.annotation.MixedCopyrightProcessor</processor>
                   <processor>adams.core.annotation.ThirdPartyCopyrightProcessor</processor>
                </processors>
                <options>
                  <printheader>true</printheader>
                  <module>${project.artifactId}</module>
                  <output>${project.build.directory}/${project.artifactId}-${project.version}</output>
                </options>
              </configuration> 
            </execution>
          </executions>
        </plugin>         

Plugin

      <plugin>
        <groupId>org.bsc.maven</groupId>
        <artifactId>maven-processor-plugin</artifactId>
      </plugin>