| <?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>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-parent</artifactId> |
| <version>1.4.3.RELEASE</version> |
| </parent> |
| <groupId>org.apache</groupId> |
| <artifactId>rocketmq-console-ng</artifactId> |
| <packaging>jar</packaging> |
| <version>1.0.0</version> |
| <name>rocketmq-console-ng</name> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <java.version>1.7</java.version> |
| <guava.version>16.0.1</guava.version> |
| <commons-digester.version>2.1</commons-digester.version> |
| <commons-lang.version>2.6</commons-lang.version> |
| <commons-io.version>2.4</commons-io.version> |
| <commons-cli.version>1.2</commons-cli.version> |
| <rocketmq.version>4.0.0-incubating</rocketmq.version> |
| <surefire.version>2.19.1</surefire.version> |
| <aspectj.version>1.6.11</aspectj.version> |
| <main.basedir>${basedir}/../..</main.basedir> |
| <docker.image.prefix>styletang</docker.image.prefix> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-actuator</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-tools</artifactId> |
| <version>${rocketmq.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-namesrv</artifactId> |
| <version>${rocketmq.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rocketmq</groupId> |
| <artifactId>rocketmq-broker</artifactId> |
| <version>${rocketmq.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjrt</artifactId> |
| <version>${aspectj.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjweaver</artifactId> |
| <version>${aspectj.version}</version> |
| </dependency> |
| <!-- Spring AOP + AspectJ --> |
| <dependency> |
| <groupId>cglib</groupId> |
| <artifactId>cglib</artifactId> |
| <version>2.2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jooq</groupId> |
| <artifactId>joor</artifactId> |
| <version>0.9.6</version> |
| </dependency> |
| |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>com.spotify</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <version>0.4.11</version> |
| <configuration> |
| <imageName>${docker.image.prefix}/${project.artifactId}</imageName> |
| <dockerDirectory>src/main/docker</dockerDirectory> |
| <resources> |
| <resource> |
| <targetPath>/</targetPath> |
| <directory>${project.build.directory}</directory> |
| <include>${project.build.finalName}.jar</include> |
| </resource> |
| </resources> |
| <imageTags> |
| <imageTag>${project.version}</imageTag> |
| <imageTag>latest</imageTag> |
| </imageTags> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.17</version> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <configuration> |
| <excludes>src/main/resources</excludes> |
| <configLocation>style/rmq_checkstyle.xml</configLocation> |
| <encoding>UTF-8</encoding> |
| <consoleOutput>true</consoleOutput> |
| <failsOnError>true</failsOnError> |
| </configuration> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>src/test/**</exclude> |
| </excludes> |
| <forkCount>1</forkCount> |
| <reuseForks>true</reuseForks> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.19.1</version> |
| <configuration> |
| <forkCount>1</forkCount> |
| <reuseForks>true</reuseForks> |
| <argLine>@{failsafeArgLine}</argLine> |
| <includes> |
| <include>src/test/**</include> |
| </includes> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!--<plugin>--> |
| <!--<artifactId>maven-javadoc-plugin</artifactId>--> |
| <!--<version>2.10.4</version>--> |
| <!--<configuration>--> |
| <!--<charset>UTF-8</charset>--> |
| <!--</configuration>--> |
| <!--<executions>--> |
| <!--<execution>--> |
| <!--<id>attach-javadocs</id>--> |
| <!--<goals>--> |
| <!--<goal>jar</goal>--> |
| <!--</goals>--> |
| <!--</execution>--> |
| <!--</executions>--> |
| <!--</plugin>--> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.7.9</version> |
| <executions> |
| <execution> |
| <id>default-prepare-agent</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <destFile>${project.build.directory}/jacoco.exec</destFile> |
| </configuration> |
| </execution> |
| <execution> |
| <id>default-prepare-agent-integration</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>prepare-agent-integration</goal> |
| </goals> |
| <configuration> |
| <destFile>${project.build.directory}/jacoco-it.exec</destFile> |
| <propertyName>failsafeArgLine</propertyName> |
| </configuration> |
| </execution> |
| <execution> |
| <id>default-report</id> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>default-report-integration</id> |
| <goals> |
| <goal>report-integration</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>default-check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <!-- implementation is needed only for Maven 2 --> |
| <rule implementation="org.jacoco.maven.RuleConfiguration"> |
| <element>BUNDLE</element> |
| <limits> |
| <!-- implementation is needed only for Maven 2 --> |
| <limit implementation="org.jacoco.report.check.Limit"> |
| <counter>COMPLEXITY</counter> |
| <value>COVEREDRATIO</value> |
| <minimum>0.20</minimum> |
| </limit> |
| </limits> |
| </rule> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eluder.coveralls</groupId> |
| <artifactId>coveralls-maven-plugin</artifactId> |
| <version>4.3.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>3.0.4</version> |
| </plugin> |
| |
| |
| </plugins> |
| </build> |
| |
| </project> |