|
6 | 6 | <parent>
|
7 | 7 | <artifactId>gwt-material-parent</artifactId>
|
8 | 8 | <groupId>com.github.gwtmaterialdesign</groupId>
|
9 |
| - <version>2.3.0</version> |
| 9 | + <version>2.4.0-rc1</version> |
10 | 10 | </parent>
|
11 | 11 |
|
12 | 12 | <artifactId>gwt-material-table</artifactId>
|
13 | 13 | <packaging>gwt-lib</packaging>
|
14 |
| - <version>2.3.0</version> |
| 14 | + <version>2.4.0-rc1</version> |
15 | 15 |
|
16 | 16 | <name>Gwt Material Table</name>
|
17 | 17 | <description>A complex table component designed for the material design specifications</description>
|
|
58 | 58 | <maven.compiler.target>1.8</maven.compiler.target>
|
59 | 59 | <project.encoding>UTF-8</project.encoding>
|
60 | 60 | <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
61 |
| - |
62 | 61 | <!-- Libraries -->
|
63 |
| - <gwt-material.version>2.3.0</gwt-material.version> |
64 |
| - |
65 |
| - <!-- Testing --> |
66 |
| - <junit.version>4.11</junit.version> |
67 |
| - |
| 62 | + <gwt-material.version>2.4.0-rc1</gwt-material.version> |
68 | 63 | <!-- Plugin Versions -->
|
69 | 64 | <maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version>
|
70 | 65 | <maven-compiler-plugin.version>3.2</maven-compiler-plugin.version>
|
| 66 | + <maven.failsafe.plugin>2.22.1</maven.failsafe.plugin> |
71 | 67 | </properties>
|
72 | 68 |
|
73 | 69 | <licenses>
|
|
117 | 113 | <groupId>junit</groupId>
|
118 | 114 | <artifactId>junit</artifactId>
|
119 | 115 | <version>${junit.version}</version>
|
120 |
| - <!-- this can be overridden --> |
121 | 116 | <scope>test</scope>
|
122 | 117 | </dependency>
|
| 118 | + <dependency> |
| 119 | + <groupId>net.sourceforge.htmlunit</groupId> |
| 120 | + <artifactId>htmlunit</artifactId> |
| 121 | + <version>${htmlunit.version}</version> |
| 122 | + </dependency> |
123 | 123 | </dependencies>
|
124 | 124 |
|
125 | 125 | <build>
|
|
134 | 134 |
|
135 | 135 | <plugins>
|
136 | 136 | <plugin>
|
137 |
| - <groupId>net.ltgt.gwt.maven</groupId> |
138 |
| - <artifactId>gwt-maven-plugin</artifactId> |
139 |
| - <version>${tbroyer.version}</version> |
140 |
| - <extensions>true</extensions> |
| 137 | + <artifactId>maven-surefire-plugin</artifactId> |
| 138 | + <version>${surefire.version}</version> |
141 | 139 | <configuration>
|
142 |
| - <moduleName>gwt.material.design.GwtMaterialTable</moduleName> |
143 |
| - <style>OBFUSCATED</style> |
144 |
| - <logLevel>INFO</logLevel> |
145 |
| - <sourceLevel>1.8</sourceLevel> |
146 |
| - <jvmArgs> |
147 |
| - <jvmArg>-Xmx1g</jvmArg> |
148 |
| - <jvmArg>-Xms1g</jvmArg> |
149 |
| - <jvmArg>-XX:CompileThreshold=7000</jvmArg> |
150 |
| - </jvmArgs> |
151 |
| - <optimize>9</optimize> |
152 |
| - <compilerArgs> |
153 |
| - <compilerArg>-compileReport</compilerArg> |
154 |
| - <compilerArg>-XcompilerMetrics</compilerArg> |
155 |
| - </compilerArgs> |
156 |
| - <skipModule>true</skipModule> |
157 |
| - <classpathScope>compile+runtime</classpathScope> |
158 |
| - <failOnError>true</failOnError> |
159 |
| - <skipModule>true</skipModule> |
| 140 | + <excludes> |
| 141 | + <exclude>**/**.java</exclude> |
| 142 | + </excludes> |
160 | 143 | </configuration>
|
161 | 144 | <executions>
|
162 | 145 | <execution>
|
| 146 | + <phase>test</phase> |
163 | 147 | <goals>
|
164 |
| - <goal>compile</goal> |
| 148 | + <goal>test</goal> |
165 | 149 | </goals>
|
166 | 150 | </execution>
|
167 | 151 | </executions>
|
168 | 152 | </plugin>
|
| 153 | + |
169 | 154 | <plugin>
|
170 |
| - <artifactId>maven-surefire-plugin</artifactId> |
171 |
| - <version>${surefire.version}</version> |
| 155 | + <!-- |
| 156 | + The integration-test phase runs after regular test phase (but before verify/install). |
| 157 | + We use this to our advantage to peak at the compiled output from the GWTTestSuite |
| 158 | + --> |
| 159 | + <groupId>org.apache.maven.plugins</groupId> |
| 160 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 161 | + <version>${maven.failsafe.plugin}</version> |
| 162 | + <configuration> |
| 163 | + <includes> |
| 164 | + <include>**/*.class</include> |
| 165 | + </includes> |
| 166 | + </configuration> |
| 167 | + </plugin> |
| 168 | + |
| 169 | + <plugin> |
| 170 | + <!-- |
| 171 | + The integration-test phase runs after regular test phase (but before verify/install). |
| 172 | + We use this to our advantage to peak at the compiled output from the GWTTestSuite |
| 173 | + --> |
| 174 | + <groupId>org.apache.maven.plugins</groupId> |
| 175 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 176 | + <version>${maven.failsafe.plugin}</version> |
172 | 177 | <configuration>
|
173 | 178 | <includes>
|
174 |
| - <include>**/*Test.java</include> |
| 179 | + <include>**/*.class</include> |
175 | 180 | </includes>
|
176 |
| - <additionalClasspathElements> |
177 |
| - <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement> |
178 |
| - <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement> |
179 |
| - </additionalClasspathElements> |
180 |
| - <useManifestOnlyJar>false</useManifestOnlyJar> |
181 |
| - <forkMode>always</forkMode>16 |
182 |
| - <argLine>-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog</argLine> |
| 181 | + </configuration> |
| 182 | + </plugin> |
| 183 | + |
| 184 | + <plugin> |
| 185 | + <groupId>net.ltgt.gwt.maven</groupId> |
| 186 | + <artifactId>gwt-maven-plugin</artifactId> |
| 187 | + <version>${tbroyer.version}</version> |
| 188 | + <extensions>true</extensions> |
| 189 | + <configuration> |
| 190 | + <moduleName>gwt.material.design.GwtMaterialTable</moduleName> |
| 191 | + <style>OBFUSCATED</style> |
| 192 | + <logLevel>INFO</logLevel> |
| 193 | + <sourceLevel>1.8</sourceLevel> |
| 194 | + <jvmArgs> |
| 195 | + <jvmArg>-Xmx1g</jvmArg> |
| 196 | + <jvmArg>-Xms1g</jvmArg> |
| 197 | + <jvmArg>-XX:CompileThreshold=7000</jvmArg> |
| 198 | + </jvmArgs> |
| 199 | + <optimize>9</optimize> |
| 200 | + <compilerArgs> |
| 201 | + <compilerArg>-compileReport</compilerArg> |
| 202 | + <compilerArg>-XcompilerMetrics</compilerArg> |
| 203 | + </compilerArgs> |
| 204 | + <skipModule>true</skipModule> |
| 205 | + <classpathScope>compile+runtime</classpathScope> |
| 206 | + <failOnError>true</failOnError> |
183 | 207 | </configuration>
|
184 | 208 | <executions>
|
185 | 209 | <execution>
|
| 210 | + <id>compile</id> |
| 211 | + <goals> |
| 212 | + <goal>compile</goal> |
| 213 | + </goals> |
| 214 | + </execution> |
| 215 | + <execution> |
| 216 | + <id>default-test</id> |
186 | 217 | <goals>
|
187 | 218 | <goal>test</goal>
|
188 | 219 | </goals>
|
| 220 | + <configuration> |
| 221 | + <!-- |
| 222 | + Because we expressly disable asserts in tests to avoid a compiler bug, we also must run surefire manually |
| 223 | + on the JRE tests |
| 224 | + --> |
| 225 | + <excludes> |
| 226 | + <exclude>**/ui/**.java</exclude> |
| 227 | + </excludes> |
| 228 | + <includes> |
| 229 | + <include>**/DataTableTestSuite.java</include> |
| 230 | + </includes> |
| 231 | + |
| 232 | + <!-- disable JVM asserts, but enable JS asserts for tests --> |
| 233 | + <enableAssertions>false</enableAssertions> |
| 234 | + <testArgs> |
| 235 | + <testArg>-checkAssertions</testArg> |
| 236 | + </testArgs> |
| 237 | + </configuration> |
189 | 238 | </execution>
|
190 | 239 | </executions>
|
191 | 240 | </plugin>
|
|
0 commit comments