|
70 | 70 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
71 | 71 | <jdk.version>1.6</jdk.version> |
72 | 72 |
|
| 73 | + <!-- Repo token for Coveralls. --> |
| 74 | + <coveralls-maven-plugin.repoToken>RLwZjbGmKFYBnpizVNbcqYxTQsxpZVe2i</coveralls-maven-plugin.repoToken> |
| 75 | + |
73 | 76 | <!-- Modules. --> |
| 77 | + <coveralls-maven-plugin.version>4.2.0</coveralls-maven-plugin.version> |
| 78 | + <jacoco-maven-plugin.version>0.7.7.201606060606</jacoco-maven-plugin.version> |
74 | 79 | <nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version> |
75 | 80 | <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version> |
76 | 81 | <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version> |
|
95 | 100 |
|
96 | 101 | <build> |
97 | 102 | <plugins> |
| 103 | + <plugin> |
| 104 | + <groupId>org.jacoco</groupId> |
| 105 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 106 | + <version>${jacoco-maven-plugin.version}</version> |
| 107 | + <executions> |
| 108 | + <execution> |
| 109 | + <id>pre-unit-test</id> |
| 110 | + <phase>test-compile</phase> |
| 111 | + <goals> |
| 112 | + <goal>prepare-agent</goal> |
| 113 | + </goals> |
| 114 | + </execution> |
| 115 | + |
| 116 | + <execution> |
| 117 | + <id>post-unit-test</id> |
| 118 | + <phase>test</phase> |
| 119 | + <goals> |
| 120 | + <goal>report</goal> |
| 121 | + </goals> |
| 122 | + </execution> |
| 123 | + </executions> |
| 124 | + </plugin> |
| 125 | + |
| 126 | + <plugin> |
| 127 | + <groupId>org.eluder.coveralls</groupId> |
| 128 | + <artifactId>coveralls-maven-plugin</artifactId> |
| 129 | + <version>${coveralls-maven-plugin.version}</version> |
| 130 | + <configuration> |
| 131 | + <repoToken>${coveralls-maven-plugin.repoToken}</repoToken> |
| 132 | + </configuration> |
| 133 | + </plugin> |
| 134 | + |
| 135 | + <plugin> |
| 136 | + <groupId>org.apache.maven.plugins</groupId> |
| 137 | + <artifactId>maven-surefire-plugin</artifactId> |
| 138 | + <version>${maven-surefire-plugin.version}</version> |
| 139 | + <configuration> |
| 140 | + <forkCount>1</forkCount> |
| 141 | + <reuseForks>true</reuseForks> |
| 142 | + <!--suppress MavenModelInspection --> |
| 143 | + <argLine>${argLine} -Xmx1024m</argLine> |
| 144 | + </configuration> |
| 145 | + </plugin> |
| 146 | + |
98 | 147 | <plugin> |
99 | 148 | <groupId>org.apache.maven.plugins</groupId> |
100 | 149 | <artifactId>maven-source-plugin</artifactId> |
|
159 | 208 | <target>${jdk.version}</target> |
160 | 209 | </configuration> |
161 | 210 | </plugin> |
162 | | - |
163 | | - <plugin> |
164 | | - <groupId>org.apache.maven.plugins</groupId> |
165 | | - <artifactId>maven-surefire-plugin</artifactId> |
166 | | - <version>${maven-surefire-plugin.version}</version> |
167 | | - <configuration> |
168 | | - <forkCount>1</forkCount> |
169 | | - <reuseForks>true</reuseForks> |
170 | | - <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> |
171 | | - </configuration> |
172 | | - </plugin> |
173 | 211 | </plugins> |
174 | 212 | </build> |
175 | 213 |
|
|
0 commit comments