jcp
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.igormaznitsa</groupId> <artifactId>jcp</artifactId> <version>7.1.2</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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.igormaznitsa</groupId> <artifactId>jcp</artifactId> <packaging>maven-plugin</packaging> <name>Java Comment Preprocessor</name> <version>7.1.2</version> <description>Powerful multi-pass preprocessor to process directives situated in C-styled commentaries</description> <url>https://github.com/raydac/java-comment-preprocessor</url> <prerequisites> <maven>${min.maven.api}</maven> </prerequisites> <issueManagement> <system>GitHub Issues</system> <url>https://github.com/raydac/java-comment-preprocessor/issues</url> </issueManagement> <inceptionYear>2011</inceptionYear> <developers> <developer> <id>raydac</id> <name>Igor Maznitsa</name> <email>rrg4400@gmail.com</email> <url>https://www.igormaznitsa.com</url> <roles> <role>developer</role> </roles> <timezone>+2</timezone> </developer> </developers> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git://github.com/raydac/java-comment-preprocessor.git</connection> <developerConnection>scm:git:git@github.com:raydac/java-comment-preprocessor.git</developerConnection> <url>https://github.com/raydac/java-comment-preprocessor</url> </scm> <organization> <name>Igor Maznitsa</name> <url>http://www.igormaznitsa.com</url> </organization> <build> <resources> <resource> <directory>src/main/resources</directory> <excludes> <exclude>/jcpversion.props</exclude> </excludes> </resource> <resource> <filtering>true</filtering> <directory>src/main/resources</directory> <includes> <include>**/jcpversion.props</include> </includes> </resource> </resources> <pluginManagement> <plugins> <plugin> <artifactId>maven-plugin-plugin</artifactId> <version>3.5.2</version> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>3.4.2</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M6</version> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.2.0</version> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.23</version> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>3.4.1</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.2.2</version> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.3.0</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.0.0</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>timestamp-property</id> <phase>validate</phase> <goals> <goal>timestamp-property</goal> </goals> <configuration> <name>current.year</name> <pattern>yyyy</pattern> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.igormaznitsa</groupId> <artifactId>uber-pom</artifactId> <version>1.0.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>upom</goal> </goals> <configuration> <enforceInjecting>true</enforceInjecting> </configuration> </execution> </executions> <configuration> <removeDependencies> <dependency> <systemPath>*</systemPath> </dependency> </removeDependencies> <remove> <section>parent</section> <section>modules</section> <section>profiles/profile/modules</section> </remove> <removeSiblingDuplications>true</removeSiblingDuplications> </configuration> </plugin> <plugin> <groupId>org.projectlombok</groupId> <artifactId>lombok-maven-plugin</artifactId> <version>1.18.20.0</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>delombok</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-plugin-plugin</artifactId> <executions> <execution> <id>mojo-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>help-goal</id> <goals> <goal>helpmojo</goal> </goals> </execution> </executions> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <relocations> <relocation> <pattern>javax.xml</pattern> <shadedPattern>hidden.jcp.javax.xml</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons</pattern> <shadedPattern>hidden.jcp.org.apache.commons</shadedPattern> </relocation> <relocation> <pattern>license</pattern> <shadedPattern>hidden.jcp.license</shadedPattern> </relocation> <relocation> <pattern>org.xml</pattern> <shadedPattern>hidden.jcp.org.xml</shadedPattern> </relocation> <relocation> <pattern>org.apache.xpath</pattern> <shadedPattern>hidden.jcp.org.apache.xpath</shadedPattern> </relocation> <relocation> <pattern>org.apache.xml</pattern> <shadedPattern>hidden.jcp.org.apache.xml</shadedPattern> </relocation> <relocation> <pattern>org.apache.wml</pattern> <shadedPattern>hidden.jcp.org.apache.wml</shadedPattern> </relocation> <relocation> <pattern>org.apache.regexp</pattern> <shadedPattern>hidden.jcp.org.apache.regexp</shadedPattern> </relocation> <relocation> <pattern>org.apache.html</pattern> <shadedPattern>hidden.jcp.org.apache.html</shadedPattern> </relocation> <relocation> <pattern>org.apache.bcel</pattern> <shadedPattern>hidden.jcp.org.apache.bcel</shadedPattern> </relocation> <relocation> <pattern>org.apache.xerces</pattern> <shadedPattern>hidden.jcp.org.apache.xerces</shadedPattern> </relocation> <relocation> <pattern>org.apache.xalan</pattern> <shadedPattern>hidden.jcp.org.apache.xalan</shadedPattern> </relocation> <relocation> <pattern>org.w3c</pattern> <shadedPattern>hidden.jcp.org.w3c</shadedPattern> </relocation> <relocation> <pattern>java_cup</pattern> <shadedPattern>hidden.jcp.java_cup</shadedPattern> </relocation> <relocation> <pattern>trax</pattern> <shadedPattern>hidden.jcp.trax</shadedPattern> </relocation> <relocation> <pattern>org.springframework</pattern> <shadedPattern>hidden.jcp.org.springframework</shadedPattern> </relocation> </relocations> <artifactSet> <includes> <include>org.springframework:*</include> <include>commons-io:*</include> <include>commons-codec:*</include> <include>commons-text:*</include> <include>org.apache.commons:*</include> <include>xerces:*</include> <include>xalan:*</include> <include>com.igormaznitsa:*</include> <include>xml-apis:*</include> </includes> </artifactSet> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/LICENSE.txt</exclude> <exclude>META-INF/NOTICE.txt</exclude> <exclude>META-INF/MANIFEST.MF</exclude> <exclude>META-INF/MANIFEST.txt</exclude> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> <exclude>META-INF/services/javax.xml.*</exclude> <exclude>META-INF/services/org.apache.*</exclude> <exclude>META-INF/services/org.w3c.*</exclude> <exclude>META-INF/services/org.xml.*</exclude> <exclude>META-INF/versions/9/module-info.class</exclude> </excludes> </filter> </filters> <transformers> <transformer> <mainClass>com.igormaznitsa.jcp.JcpPreprocessor</mainClass> </transformer> </transformers> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>com.igormaznitsa.jcp.JcpPreprocessor</mainClass> </manifest> <manifestEntries> <Automatic-Module-Name>igormaznitsa.jcp</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgument>-Xlint:all</compilerArgument> <showDeprecation>true</showDeprecation> <showWarnings>true</showWarnings> <excludes> <exclude>**${file.separator}JCPreprocessor${file.separator}src${file.separator}test${file.separator}resources${file.separator}com${file.separator}igormaznitsa${file.separator}jcp${file.separator}it${file.separator}maven${file.separator}dummy_maven_project${file.separator}**${file.separator}*.java</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemPropertyVariables> <test.folder>${project.build.testOutputDirectory}</test.folder> </systemPropertyVariables> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <executions> <execution> <id>check-java-api</id> <phase>test</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java18</artifactId> <version>1.0</version> </signature> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>java-9</id> <properties> <argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.stream=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.nio.charset=ALL-UNNAMED --add-opens java.base/sun.nio.cs=ALL-UNNAMED</argLine> </properties> </profile> <profile> <id>it</id> </profile> <profile> <id>publish</id> <build> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>jcp-check-enforce-rules</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <banDuplicatePomDependencyVersions /> <enforceBytecodeVersion> <maxJdkVersion>${maven.compiler.target}</maxJdkVersion> </enforceBytecodeVersion> <banCircularDependencies /> <reactorModuleConvergence> <ignoreModuleDependencies>true</ignoreModuleDependencies> </reactorModuleConvergence> <requireJavaVersion> <version>${maven.compiler.target}</version> </requireJavaVersion> <requireMavenVersion> <version>[${min.maven.api}},)</version> </requireMavenVersion> <banDuplicateClasses> <scopes> <scope>compile</scope> </scopes> <findAllDuplicates>true</findAllDuplicates> <ignoreWhenIdentical>true</ignoreWhenIdentical> </banDuplicateClasses> </rules> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>extra-enforcer-rules</artifactId> <version>1.7.0</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-dependency-tree</artifactId> <version>3.2.1</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>make-bundle</id> <phase>install</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/assemble/bundle.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>generate-javadoc</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <sourceFileExcludes> <exclude>**/HelpMojo.java</exclude> <exclude>**/AntPathMatcher.java</exclude> </sourceFileExcludes> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>generate-sources</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <repositories> <repository> <id>gradle-releases-repository</id> <url>https://repo.gradle.org/gradle/libs-releases-local/</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.8.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>${min.maven.api}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${min.maven.api}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${min.maven.api}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>file-management</artifactId> <version>3.1.0</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>commons-io</artifactId> <groupId>commons-io</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.30</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>junit-platform-engine</artifactId> <groupId>org.junit.platform</groupId> </exclusion> <exclusion> <artifactId>apiguardian-api</artifactId> <groupId>org.apiguardian</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-compat</artifactId> <version>${min.maven.api}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>${min.maven.api}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact-manager</artifactId> <version>2.2.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <version>2.1</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>plexus-archiver</artifactId> <groupId>org.codehaus.plexus</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>2.0.9</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>powermock-module-junit4-common</artifactId> <groupId>org.powermock</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito2</artifactId> <version>2.0.9</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>powermock-api-support</artifactId> <groupId>org.powermock</groupId> </exclusion> <exclusion> <artifactId>mockito-core</artifactId> <groupId>org.mockito</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.gradle</groupId> <artifactId>gradle-core</artifactId> <version>${gradle.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.gradle</groupId> <artifactId>gradle-core-api</artifactId> <version>${gradle.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.gradle</groupId> <artifactId>gradle-model-core</artifactId> <version>${gradle.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.gradle</groupId> <artifactId>gradle-logging</artifactId> <version>${gradle.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.gradle</groupId> <artifactId>gradle-base-services</artifactId> <version>${gradle.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.gradle</groupId> <artifactId>gradle-base-services-groovy</artifactId> <version>${gradle.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.gradle</groupId> <artifactId>gradle-plugins</artifactId> <version>${gradle.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.gradle</groupId> <artifactId>gradle-tooling-api</artifactId> <version>${gradle.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy</artifactId> <version>2.5.14</version> <scope>provided</scope> </dependency> </dependencies> <properties> <main.project.version>${project.version}</main.project.version> <maven.compiler.source>1.8</maven.compiler.source> <min.maven.api>3.0</min.maven.api> <maven.compiler.target>1.8</maven.compiler.target> <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <gradle.api.version>6.0</gradle.api.version> <junit.version>5.10.0</junit.version> <timestamp>${maven.build.timestamp}</timestamp> </properties> </project>