style-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.beangle.style</groupId> <artifactId>style-maven-plugin</artifactId> <version>0.0.2</version> </dependency>
<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>org.beangle.style</groupId> <artifactId>style-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>Beangle Code Style Maven Plugin</name> <version>0.0.2</version> <inceptionYear>2005</inceptionYear> <description> Beangle provides agile development scaffold and toolkits. </description> <licenses> <license> <name>GNU Lesser General Public License</name> <url>http://www.gnu.org/licenses/lgpl.txt</url> </license> </licenses> <organization> <name>The Beangle Software</name> <url>https://github.com/beangle/style</url> </organization> <url>http://beangle.github.io</url> <scm> <connection>scm:git:git://github.com/beangle/style.git</connection> <developerConnection>scm:git:git@github.com:beangle/style.git</developerConnection> <url>https://github.com/beangle/style</url> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <organization.slogan>Beangle, Agile Development Scaffold and Toolkits.</organization.slogan> <downloadJavadocs>false</downloadJavadocs> <java.version>11</java.version> <mvn.compiler.version>3.8.1</mvn.compiler.version> <mvn.deploy.version>3.0.0-M1</mvn.deploy.version> <mvn.clean.version>3.1.0</mvn.clean.version> <mvn.install.version>3.0.0-M1</mvn.install.version> <mvn.javadoc.version>3.2.0</mvn.javadoc.version> <mvn.source.version>3.2.1</mvn.source.version> <mvn.jar.version>3.2.0</mvn.jar.version> <mvn.license.version>4.0.rc2</mvn.license.version> <mvn.release.version>3.0.0-M1</mvn.release.version> <mvn.surefire.version>3.0.0-M5</mvn.surefire.version> <mvn.bundle.version>5.1.1</mvn.bundle.version> <mvn.gpg.version>1.6</mvn.gpg.version> <mvn.site.version>3.9.1</mvn.site.version> <scala.version>2.12.13</scala.version> <scala.epoch>2.12</scala.epoch> <scala-maven-plugin.version>4.4.0</scala-maven-plugin.version> <mvn.scalariform.version>0.1.4</mvn.scalariform.version> <maven.version>3.6.0</maven.version> <maven.plugin.version>3.6.0</maven.plugin.version> </properties> <prerequisites> <maven>${maven.version}</maven> </prerequisites> <developers> <developer> <name>Tihua Duan</name> <id>chaostone</id> <email>duantihua@gmail.com</email> <roles> <role>Committer</role> </roles> </developer> </developers> <distributionManagement> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>sonatype-nexus-staging</id> <name>Nexus Release Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>${maven.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.version}</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>${scala.version}</version> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-reflect</artifactId> <version>${scala.version}</version> </dependency> <dependency> <groupId>org.beangle.style</groupId> <artifactId>beangle-style-core_2.12</artifactId> <version>${project.version}</version> </dependency> </dependencies> <build> <defaultGoal>clean install</defaultGoal> <sourceDirectory>src/main/scala</sourceDirectory> <testSourceDirectory>src/test/scala</testSourceDirectory> <pluginManagement> <plugins> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>${scala-maven-plugin.version}</version> <executions> <execution> <goals> <goal>compile</goal> <goal>testCompile</goal> </goals> </execution> </executions> <configuration> <scalaVersion>${scala.version}</scalaVersion> <scalaCompatVersion>${scala.epoch}</scalaCompatVersion> <source>${java.version}</source> <target>${java.version}</target> <encoding>${project.build.sourceEncoding}</encoding> <args> <arg>-deprecation</arg> <arg>-unchecked</arg> <arg>-feature</arg> <arg>-target:jvm-1.8</arg> </args> <jvmArgs> <jvmArg>-Xms200m</jvmArg> <jvmArg>-Xmx1024m</jvmArg> </jvmArgs> <recompileMode>incremental</recompileMode> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${mvn.javadoc.version}</version> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${mvn.compiler.version}</version> <configuration> <skip>true</skip> <skipMain>true</skipMain> </configuration> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${mvn.deploy.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>${mvn.clean.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>${mvn.install.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${mvn.source.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${mvn.jar.version}</version> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>${mvn.license.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${mvn.surefire.version}</version> <configuration> <includes> <include>**/*Spec.class</include> <include>**/*Test.class</include> </includes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>${maven.plugin.version}</version> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> <executions> <execution> <id>mojo-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>help-goal</id> <goals> <goal>helpmojo</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>beangle-release</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${mvn.gpg.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>${scala-maven-plugin.version}</version> <executions> <execution> <goals> <goal>doc-jar</goal> </goals> </execution> </executions> <configuration> <scalaVersion>${scala.version}</scalaVersion> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>