|
38 | 38 | </developers> |
39 | 39 |
|
40 | 40 | <properties> |
41 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
42 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
43 | 41 | <java.version>1.8</java.version> |
44 | 42 | <maven.compiler.target>1.8</maven.compiler.target> |
45 | 43 | <maven.compiler.source>1.8</maven.compiler.source> |
46 | 44 | <start-class>com.microsoft.bot.sample.echo.Application</start-class> |
47 | | - <repo.url>https://botbuilder.myget.org/F/botbuilder-v4-java-daily/maven/</repo.url> |
48 | 45 | </properties> |
49 | 46 |
|
50 | 47 | <dependencies> |
|
84 | 81 | </dependency> |
85 | 82 | </dependencies> |
86 | 83 |
|
87 | | - <repositories> |
88 | | - <repository> |
89 | | - <id>MyGet</id> |
90 | | - <url>${repo.url}</url> |
91 | | - </repository> |
92 | | - </repositories> |
93 | | - |
94 | | - <distributionManagement> |
95 | | - <repository> |
96 | | - <id>ossrh</id> |
97 | | - <!-- <url>${repo.url}</url>--> |
98 | | - <url>https://oss.sonatype.org/</url> |
99 | | - <!-- <url>https://repo.maven.apache.org/maven2</url>--> |
100 | | - </repository> |
101 | | - </distributionManagement> |
102 | | - |
103 | 84 | <profiles> |
104 | 85 | <profile> |
105 | 86 | <id>build</id> |
106 | 87 | <activation> |
107 | 88 | <activeByDefault>true</activeByDefault> |
108 | 89 | </activation> |
109 | 90 | <build> |
| 91 | + <resources> |
| 92 | + <resource> |
| 93 | + <directory>src/main/resources</directory> |
| 94 | + <filtering>false</filtering> |
| 95 | + </resource> |
| 96 | + </resources> |
110 | 97 | <plugins> |
111 | 98 | <plugin> |
112 | 99 | <artifactId>maven-compiler-plugin</artifactId> |
113 | 100 | <version>3.8.1</version> |
114 | | - <configuration> |
115 | | - <source>1.8</source> |
116 | | - <target>1.8</target> |
117 | | - </configuration> |
118 | 101 | </plugin> |
119 | 102 | <plugin> |
120 | 103 | <artifactId>maven-war-plugin</artifactId> |
|
168 | 151 | </deployment> |
169 | 152 | </configuration> |
170 | 153 | </plugin> |
171 | | - <plugin> |
172 | | - <groupId>org.eluder.coveralls</groupId> |
173 | | - <artifactId>coveralls-maven-plugin</artifactId> |
174 | | - <version>4.3.0</version> |
175 | | - <configuration> |
176 | | - <repoToken>yourcoverallsprojectrepositorytoken</repoToken> |
177 | | - </configuration> |
178 | | - </plugin> |
179 | | - <plugin> |
180 | | - <groupId>org.codehaus.mojo</groupId> |
181 | | - <artifactId>cobertura-maven-plugin</artifactId> |
182 | | - <version>2.7</version> |
183 | | - <configuration> |
184 | | - <outputDirectory>../../cobertura-report/spring-echo-sample</outputDirectory> |
185 | | - <format>xml</format> |
186 | | - <maxmem>256m</maxmem> |
187 | | - <!-- aggregated reports for multi-module projects --> |
188 | | - <aggregate>true</aggregate> |
189 | | - </configuration> |
190 | | - </plugin> |
191 | | - <plugin> |
192 | | - <groupId>org.apache.maven.plugins</groupId> |
193 | | - <artifactId>maven-pmd-plugin</artifactId> |
194 | | - <version>3.12.0</version> |
195 | | - <executions> |
196 | | - <execution> |
197 | | - <phase>validate</phase> |
198 | | - <goals> |
199 | | - <goal>check</goal> |
200 | | - </goals> |
201 | | - </execution> |
202 | | - </executions> |
203 | | - </plugin> |
204 | | - |
205 | | - <plugin> |
206 | | - <groupId>org.apache.maven.plugins</groupId> |
207 | | - <artifactId>maven-site-plugin</artifactId> |
208 | | - <version>3.7.1</version> |
209 | | - </plugin> |
210 | | - <plugin> |
211 | | - <groupId>org.apache.maven.plugins</groupId> |
212 | | - <artifactId>maven-project-info-reports-plugin</artifactId> |
213 | | - <version>3.0.0</version> |
214 | | - </plugin> |
215 | | - |
216 | 154 | </plugins> |
217 | 155 | </build> |
218 | 156 | </profile> |
|
227 | 165 | <artifactId>maven-compiler-plugin</artifactId> |
228 | 166 | </plugin> |
229 | 167 | <plugin> |
230 | | - <groupId>org.apache.maven.plugins</groupId> |
231 | | - <artifactId>maven-jar-plugin</artifactId> |
| 168 | + <artifactId>maven-war-plugin</artifactId> |
| 169 | + <version>3.2.3</version> |
| 170 | + <configuration> |
| 171 | + <warSourceDirectory>src/main/webapp</warSourceDirectory> |
| 172 | + </configuration> |
232 | 173 | </plugin> |
233 | 174 |
|
234 | 175 | <plugin> |
|
289 | 230 | </build> |
290 | 231 | </profile> |
291 | 232 | </profiles> |
292 | | - |
293 | | - <reporting> |
294 | | - <plugins> |
295 | | - <plugin> |
296 | | - <groupId>org.apache.maven.plugins</groupId> |
297 | | - <artifactId>maven-pmd-plugin</artifactId> |
298 | | - <version>3.12.0</version> |
299 | | - </plugin> |
300 | | - <plugin> |
301 | | - <groupId>org.apache.maven.plugins</groupId> |
302 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
303 | | - <version>3.1.0</version> |
304 | | - <reportSets> |
305 | | - <reportSet> |
306 | | - <reports> |
307 | | - <report>checkstyle</report> |
308 | | - </reports> |
309 | | - </reportSet> |
310 | | - </reportSets> |
311 | | - </plugin> |
312 | | - </plugins> |
313 | | - </reporting> |
314 | | - |
315 | 233 | </project> |
0 commit comments