code_generator
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.cowwoc.requirements</groupId>
<artifactId>code_generator</artifactId>
<version>8.0.10</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.cowwoc.requirements</groupId>
<artifactId>root</artifactId>
<version>8.0.10</version>
</parent>
<artifactId>code_generator</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>com.github.javaparser</groupId>
<artifactId>javaparser-core</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Xdiags:verbose</arg>
<arg>-Werror</arg>
<arg>-Xlint:all,-requires-automatic,-module,-opens</arg>
<!-- WORKAROUND: https://issues.apache.org/jira/browse/MCOMPILER-368 -->
<arg>-Xpkginfo:always</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-java-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/classes/com/github/cowwoc/requirements/java
</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/../java/src/main/java/com/github/cowwoc/requirements/java
</directory>
<includes>
<include>JavaRequirements.java</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-guava-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/classes/com/github/cowwoc/requirements/guava
</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/../guava/src/main/java/com/github/cowwoc/requirements/guava
</directory>
<includes>
<include>GuavaRequirements.java</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<show>public</show>
<doctitle>Requirements Code Generator ${project.version} API</doctitle>
<windowtitle>Requirements Code Generator ${project.version} API</windowtitle>
<additionalOptions>
<!-- https://stackoverflow.com/a/54468139/14731 -->
<option>--override-methods</option>
<option>summary</option>
</additionalOptions>
<excludePackageNames>
com.github.cowwoc.requirements.generator.internal:com.github.cowwoc.requirements.generator.internal.*
</excludePackageNames>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<id>3rd-party-licenses</id>
<goals>
<goal>aggregate-add-third-party</goal>
</goals>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>