xjc-lombok-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>de.plushnikov.xjc</groupId> <artifactId>xjc-lombok-plugin</artifactId> <version>1.0</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> <groupId>de.plushnikov.xjc</groupId> <artifactId>xjc-lombok-plugin</artifactId> <version>1.0</version> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <url>https://github.com/mplushnikov/xjc-guava-plugin</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <properties> <!--General stuff--> <targetJdk>1.6</targetJdk> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <lombok.version>1.14.8</lombok.version> <lombok-annotations.includes> lombok/AccessLevel.java,lombok/*ArgsConstructor.java,lombok/Data.java, lombok/Getter.java,lombok/Setter.java,lombok/Equals*.java, lombok/ToString.java </lombok-annotations.includes> </properties> <prerequisites> <maven>3.0.4</maven> </prerequisites> <issueManagement> <url>https://github.com/mplushnikov/xjc-lombok-plugin/issues</url> <system>GitHub Issues</system> </issueManagement> <scm> <connection>scm:git:git@github.com:mplushnikov/xjc-lombok-plugin.git</connection> <developerConnection>scm:git:git@github.com:mplushnikov/xjc-lombok-plugin.git</developerConnection> <url>git@github.com:mplushnikov/xjc-lombok-plugin.git</url> <tag>xjc-lombok-plugin-1.0</tag> </scm> <developers> <developer> <email>mplushnikov@gmail.com</email> <name>Michail Plushnikov</name> <url>https://github.com/mplushnikov</url> <id>mplushnikov</id> </developer> </developers> <dependencies> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-xjc</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>selftest</id> <build> <plugins> <plugin> <groupId>org.jvnet.jax-ws-commons</groupId> <artifactId>jaxws-maven-plugin</artifactId> <version>2.3</version> <executions> <execution> <phase>generate-test-sources</phase> <goals> <goal>wsimport</goal> </goals> <configuration> <vmArgs> <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg> </vmArgs> <wsdlFiles> <wsdlFile>${basedir}/src/test/resources/test.wsdl</wsdlFile> </wsdlFiles> <args> <arg>-B-Xlombok</arg> </args> <!-- Package name --> <packageName>com.github.mplushnikov.jaxws</packageName> <!-- generated source files destination--> <sourceDestDir>${project.build.directory}/generated-test-sources/jaxws</sourceDestDir> </configuration> </execution> </executions> <dependencies> <dependency> <artifactId>${project.artifactId}</artifactId> <groupId>${project.groupId}</groupId> <version>${project.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>3.0.3</version> <executions> <execution> <phase>generate-test-sources</phase> <configuration> <sourceRoot>${project.build.directory}/generated-test-sources/cxf</sourceRoot> <wsdlOptions> <wsdlOption> <wsdl>${basedir}/src/test/resources/test.wsdl</wsdl> <extraargs> <extraarg>-xjc-Xlombok</extraarg> <extraarg>-p</extraarg> <extraarg>com.github.mplushnikov.cxf</extraarg> </extraargs> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> <dependencies> <dependency> <artifactId>${project.artifactId}</artifactId> <groupId>${project.groupId}</groupId> <version>${project.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> <executions> <execution> <goals> <goal>unpack</goal> </goals> <phase>generate-sources</phase> <configuration> <artifactItems> <artifactItem> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <type>jar</type> <classifier>sources</classifier> <overWrite>true</overWrite> <outputDirectory>${project.build.directory}/generated-sources/lombok</outputDirectory> </artifactItem> </artifactItems> <includes>${lombok-annotations.includes}</includes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.8</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${project.build.directory}/generated-sources/lombok</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.5</version> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.1</version> <configuration> <excludePackageNames>com.github.mplushnikov.cxf:com.github.mplushnikov.jaxws:lombok</excludePackageNames> </configuration> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.4</version> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.1</version> </plugin> </plugins> </build> </project>