|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<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"> |
3 |
| - <modelVersion>4.0.0</modelVersion> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
4 | 5 |
|
5 |
| - <groupId>my.example</groupId> |
6 |
| - <artifactId>example</artifactId> |
7 |
| - <version>1.0-SNAPSHOT</version> |
8 |
| - <packaging>pom</packaging> |
| 6 | + <groupId>my.example</groupId> |
| 7 | + <artifactId>example</artifactId> |
| 8 | + <version>1.0-SNAPSHOT</version> |
| 9 | + <packaging>pom</packaging> |
9 | 10 |
|
10 |
| - <properties> |
11 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
12 |
| - </properties> |
| 11 | + <properties> |
| 12 | + <default.encoding>UTF-8</default.encoding> |
| 13 | + <project.build.sourceEncoding>${default.encoding}</project.build.sourceEncoding> |
| 14 | + <project.reporting.outputEncoding>${default.encoding}</project.reporting.outputEncoding> |
| 15 | + <maven.compiler.plugin.encoding>${default.encoding}</maven.compiler.plugin.encoding> |
| 16 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 17 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 18 | + <jetty.version>9.4.15.v20190215</jetty.version> |
| 19 | + <wildfly.version>16.0.0.Final</wildfly.version> |
| 20 | + </properties> |
13 | 21 |
|
14 |
| - <dependencyManagement> |
15 |
| - <dependencies> |
16 |
| - <dependency> |
17 |
| - <groupId>com.google.gwt</groupId> |
18 |
| - <artifactId>gwt</artifactId> |
19 |
| - <version>2.8.2</version> |
20 |
| - <type>pom</type> |
21 |
| - <scope>import</scope> |
22 |
| - </dependency> |
23 |
| - <dependency> |
24 |
| - <groupId>javax.servlet</groupId> |
25 |
| - <artifactId>javax.servlet-api</artifactId> |
26 |
| - <version>3.1.0</version> |
27 |
| - </dependency> |
28 |
| - </dependencies> |
29 |
| - </dependencyManagement> |
| 22 | + <build> |
| 23 | + <plugins> |
| 24 | + <plugin> |
| 25 | + <groupId>net.ltgt.gwt.maven</groupId> |
| 26 | + <artifactId>gwt-maven-plugin</artifactId> |
| 27 | + <inherited>false</inherited> |
| 28 | + <configuration> |
| 29 | + <launcherDir>${project.build.directory}/gwt/launcherDir</launcherDir> |
| 30 | + </configuration> |
| 31 | + </plugin> |
| 32 | + <plugin> |
| 33 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 34 | + <version>1.4.1</version> |
| 35 | + <executions> |
| 36 | + <execution> |
| 37 | + <id>enforce</id> |
| 38 | + <goals> |
| 39 | + <goal>enforce</goal> |
| 40 | + </goals> |
| 41 | + <phase>verify</phase> |
| 42 | + </execution> |
| 43 | + </executions> |
| 44 | + <configuration> |
| 45 | + <rules> |
| 46 | + <requireNoRepositories /> |
| 47 | + <requirePluginVersions /> |
| 48 | + <dependencyConvergence /> |
| 49 | + <requireUpperBoundDeps /> |
| 50 | + <requireReleaseDeps> |
| 51 | + <message>No Snapshots Allowed!</message> |
| 52 | + <onlyWhenRelease>true</onlyWhenRelease> |
| 53 | + </requireReleaseDeps> |
| 54 | + <requireJavaVersion> |
| 55 | + <version>[1.8,)</version> |
| 56 | + </requireJavaVersion> |
| 57 | + <requireMavenVersion> |
| 58 | + <version>[3.0,)</version> |
| 59 | + </requireMavenVersion> |
| 60 | + </rules> |
| 61 | + </configuration> |
| 62 | + </plugin> |
| 63 | + </plugins> |
| 64 | + <pluginManagement> |
| 65 | + <plugins> |
| 66 | + <plugin> |
| 67 | + <artifactId>maven-clean-plugin</artifactId> |
| 68 | + <version>3.1.0</version> |
| 69 | + </plugin> |
| 70 | + <plugin> |
| 71 | + <artifactId>maven-compiler-plugin</artifactId> |
| 72 | + <version>3.8.0</version> |
| 73 | + </plugin> |
| 74 | + <plugin> |
| 75 | + <artifactId>maven-install-plugin</artifactId> |
| 76 | + <version>3.0.0-M1</version> |
| 77 | + </plugin> |
| 78 | + <plugin> |
| 79 | + <artifactId>maven-site-plugin</artifactId> |
| 80 | + <version>3.7.1</version> |
| 81 | + </plugin> |
| 82 | + <plugin> |
| 83 | + <artifactId>maven-deploy-plugin</artifactId> |
| 84 | + <version>3.0.0-M1</version> |
| 85 | + </plugin> |
| 86 | + <plugin> |
| 87 | + <artifactId>maven-surefire-plugin</artifactId> |
| 88 | + <version>3.0.0-M3</version> |
| 89 | + </plugin> |
| 90 | + <plugin> |
| 91 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 92 | + <version>3.0.0-M3</version> |
| 93 | + </plugin> |
| 94 | + <plugin> |
| 95 | + <artifactId>maven-jar-plugin</artifactId> |
| 96 | + <version>3.1.1</version> |
| 97 | + </plugin> |
| 98 | + <plugin> |
| 99 | + <artifactId>maven-resources-plugin</artifactId> |
| 100 | + <version>3.1.0</version> |
| 101 | + </plugin> |
| 102 | + <plugin> |
| 103 | + <groupId>org.eclipse.jetty</groupId> |
| 104 | + <artifactId>jetty-maven-plugin</artifactId> |
| 105 | + <version>${jetty.version}</version> |
| 106 | + </plugin> |
| 107 | + <plugin> |
| 108 | + <groupId>net.ltgt.gwt.maven</groupId> |
| 109 | + <artifactId>gwt-maven-plugin</artifactId> |
| 110 | + <version>1.0-rc-10</version> |
| 111 | + <extensions>true</extensions> |
| 112 | + <configuration> |
| 113 | + <failOnError>true</failOnError> |
| 114 | + </configuration> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <artifactId>maven-source-plugin</artifactId> |
| 118 | + <version>3.0.1</version> |
| 119 | + <executions> |
| 120 | + <execution> |
| 121 | + <id>attach-sources</id> |
| 122 | + <phase>package</phase> |
| 123 | + <goals> |
| 124 | + <goal>jar-no-fork</goal> |
| 125 | + </goals> |
| 126 | + </execution> |
| 127 | + </executions> |
| 128 | + </plugin> |
| 129 | + <plugin> |
| 130 | + <groupId>org.apache.tomcat.maven</groupId> |
| 131 | + <artifactId>tomcat7-maven-plugin</artifactId> |
| 132 | + <version>2.2</version> |
| 133 | + </plugin> |
| 134 | + </plugins> |
| 135 | + </pluginManagement> |
| 136 | + </build> |
| 137 | + |
| 138 | + <modules> |
| 139 | + <module>example-client</module> |
| 140 | + <module>example-shared</module> |
| 141 | + <module>example-server</module> |
| 142 | + </modules> |
| 143 | + |
| 144 | + <dependencyManagement> |
| 145 | + <dependencies> |
| 146 | + <dependency> |
| 147 | + <groupId>com.google.gwt</groupId> |
| 148 | + <artifactId>gwt</artifactId> |
| 149 | + <version>2.8.2</version> |
| 150 | + <type>pom</type> |
| 151 | + <scope>import</scope> |
| 152 | + </dependency> |
| 153 | + |
| 154 | + <dependency> |
| 155 | + <groupId>commons-codec</groupId> |
| 156 | + <artifactId>commons-codec</artifactId> |
| 157 | + <version>1.10</version> |
| 158 | + </dependency> |
| 159 | + <dependency> |
| 160 | + <groupId>commons-io</groupId> |
| 161 | + <artifactId>commons-io</artifactId> |
| 162 | + <version>2.6</version> |
| 163 | + </dependency> |
| 164 | + <dependency> |
| 165 | + <groupId>com.google.code.gson</groupId> |
| 166 | + <artifactId>gson</artifactId> |
| 167 | + <version>2.8.5</version> |
| 168 | + </dependency> |
| 169 | + <dependency> |
| 170 | + <groupId>javax.servlet</groupId> |
| 171 | + <artifactId>javax.servlet-api</artifactId> |
| 172 | + <version>3.1.0</version> |
| 173 | + </dependency> |
| 174 | + <dependency> |
| 175 | + <groupId>xml-apis</groupId> |
| 176 | + <artifactId>xml-apis</artifactId> |
| 177 | + <version>1.4.01</version> |
| 178 | + </dependency> |
| 179 | + </dependencies> |
| 180 | + </dependencyManagement> |
30 | 181 |
|
31 |
| - <build> |
32 |
| - <plugins> |
33 |
| - <plugin> |
34 |
| - <groupId>net.ltgt.gwt.maven</groupId> |
35 |
| - <artifactId>gwt-maven-plugin</artifactId> |
36 |
| - <inherited>false</inherited> |
37 |
| - <configuration> |
38 |
| - <launcherDir>${project.build.directory}/gwt/launcherDir</launcherDir> |
39 |
| - </configuration> |
40 |
| - </plugin> |
41 |
| - </plugins> |
42 |
| - <pluginManagement> |
43 |
| - <plugins> |
44 |
| - <plugin> |
45 |
| - <artifactId>maven-compiler-plugin</artifactId> |
46 |
| - <version>3.8.0</version> |
47 |
| - <configuration> |
48 |
| - <source>1.8</source> |
49 |
| - <target>1.8</target> |
50 |
| - </configuration> |
51 |
| - </plugin> |
52 |
| - <plugin> |
53 |
| - <groupId>org.eclipse.jetty</groupId> |
54 |
| - <artifactId>jetty-maven-plugin</artifactId> |
55 |
| - <version>9.4.14.v20181114</version> |
56 |
| - </plugin> |
57 |
| - <plugin> |
58 |
| - <groupId>net.ltgt.gwt.maven</groupId> |
59 |
| - <artifactId>gwt-maven-plugin</artifactId> |
60 |
| - <version>1.0-rc-10</version> |
61 |
| - <extensions>true</extensions> |
62 |
| - <configuration> |
63 |
| - <sourceLevel>1.8</sourceLevel> |
64 |
| - <failOnError>true</failOnError> |
65 |
| - </configuration> |
66 |
| - </plugin> |
67 |
| - <plugin> |
68 |
| - <artifactId>maven-source-plugin</artifactId> |
69 |
| - <version>3.0.1</version> |
70 |
| - <executions> |
71 |
| - <execution> |
72 |
| - <id>attach-sources</id> |
73 |
| - <phase>package</phase> |
74 |
| - <goals> |
75 |
| - <goal>jar-no-fork</goal> |
76 |
| - </goals> |
77 |
| - </execution> |
78 |
| - </executions> |
79 |
| - </plugin> |
80 |
| - <plugin> |
81 |
| - <groupId>org.apache.tomcat.maven</groupId> |
82 |
| - <artifactId>tomcat7-maven-plugin</artifactId> |
83 |
| - <version>2.2</version> |
84 |
| - </plugin> |
85 |
| - </plugins> |
86 |
| - </pluginManagement> |
87 |
| - </build> |
88 |
| - <modules> |
89 |
| - <module>example-client</module> |
90 |
| - <module>example-shared</module> |
91 |
| - <module>example-server</module> |
92 |
| - </modules> |
93 | 182 | </project>
|
0 commit comments