|
40 | 40 | <url>https://github.com/TooTallNate/Java-WebSocket/issues</url> |
41 | 41 | <system>GitHub Issues</system> |
42 | 42 | </issueManagement> |
| 43 | + <dependencyManagement> |
| 44 | + <dependencies> |
| 45 | + <dependency> |
| 46 | + <groupId>org.slf4j</groupId> |
| 47 | + <artifactId>slf4j-api</artifactId> |
| 48 | + <version>${slf4j.version}</version> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>org.slf4j</groupId> |
| 52 | + <artifactId>slf4j-simple</artifactId> |
| 53 | + <version>${slf4j.version}</version> |
| 54 | + <scope>test</scope> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>junit</groupId> |
| 58 | + <artifactId>junit</artifactId> |
| 59 | + <version>${junit.version}</version> |
| 60 | + <scope>test</scope> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>org.json</groupId> |
| 64 | + <artifactId>json</artifactId> |
| 65 | + <version>${org.json.version}</version> |
| 66 | + <scope>test</scope> |
| 67 | + </dependency> |
| 68 | + </dependencies> |
| 69 | + </dependencyManagement> |
43 | 70 | <build> |
| 71 | +<!-- configured plugins --> |
| 72 | + <pluginManagement> |
| 73 | + <plugins> |
| 74 | + <plugin> |
| 75 | + <groupId>org.apache.maven.plugins</groupId> |
| 76 | + <artifactId>maven-compiler-plugin</artifactId> |
| 77 | + <version>${maven.compiler.plugin.version}</version> |
| 78 | + <configuration> |
| 79 | + <source>1.6</source> |
| 80 | + <target>1.6</target> |
| 81 | + </configuration> |
| 82 | + </plugin> |
| 83 | + <plugin> |
| 84 | + <groupId>org.apache.maven.plugins</groupId> |
| 85 | + <artifactId>maven-gpg-plugin</artifactId> |
| 86 | + <version>${maven.gpg.plugin.version}</version> |
| 87 | + <executions> |
| 88 | + <execution> |
| 89 | + <id>sign-artifacts</id> |
| 90 | + <phase>verify</phase> |
| 91 | + <goals> |
| 92 | + <goal>sign</goal> |
| 93 | + </goals> |
| 94 | + </execution> |
| 95 | + </executions> |
| 96 | + </plugin> |
| 97 | + <plugin> |
| 98 | + <groupId>org.apache.maven.plugins</groupId> |
| 99 | + <artifactId>maven-jar-plugin</artifactId> |
| 100 | + <version>${maven.jar.plugin.version}</version> |
| 101 | + </plugin> |
| 102 | + <plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 105 | + <version>${maven.javadoc.plugin.version}</version> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <id>attach-javadocs</id> |
| 109 | + <goals> |
| 110 | + <goal>jar</goal> |
| 111 | + </goals> |
| 112 | + </execution> |
| 113 | + </executions> |
| 114 | + </plugin> |
| 115 | + <plugin> |
| 116 | + <groupId>org.apache.maven.plugins</groupId> |
| 117 | + <artifactId>maven-shade-plugin</artifactId> |
| 118 | + <version>${maven.shade.plugin.version}</version> |
| 119 | + </plugin> |
| 120 | + <plugin> |
| 121 | + <groupId>org.apache.maven.plugins</groupId> |
| 122 | + <artifactId>maven-source-plugin</artifactId> |
| 123 | + <version>${maven.source.plugin.version}</version> |
| 124 | + <executions> |
| 125 | + <execution> |
| 126 | + <id>attach-sources</id> |
| 127 | + <goals> |
| 128 | + <goal>jar-no-fork</goal> |
| 129 | + </goals> |
| 130 | + </execution> |
| 131 | + </executions> |
| 132 | + </plugin> |
| 133 | + <plugin> |
| 134 | + <groupId>org.sonatype.plugins</groupId> |
| 135 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 136 | + <version>${nexus.staging.maven.plugin.version}</version> |
| 137 | + </plugin> |
| 138 | + </plugins> |
| 139 | + </pluginManagement> |
44 | 140 | <sourceDirectory>src/main/java</sourceDirectory> |
45 | 141 | <testSourceDirectory>src/test/java</testSourceDirectory> |
46 | 142 | <plugins> |
47 | 143 | <plugin> |
48 | 144 | <groupId>org.apache.maven.plugins</groupId> |
49 | 145 | <artifactId>maven-compiler-plugin</artifactId> |
50 | | - <version>${maven.compiler.plugin.version}</version> |
51 | | - <configuration> |
52 | | - <source>1.6</source> |
53 | | - <target>1.6</target> |
54 | | - </configuration> |
55 | 146 | </plugin> |
56 | 147 | </plugins> |
57 | 148 | </build> |
|
69 | 160 | <plugin> |
70 | 161 | <groupId>org.apache.maven.plugins</groupId> |
71 | 162 | <artifactId>maven-gpg-plugin</artifactId> |
72 | | - <version>${maven.gpg.plugin.version}</version> |
73 | | - <executions> |
74 | | - <execution> |
75 | | - <id>sign-artifacts</id> |
76 | | - <phase>verify</phase> |
77 | | - <goals> |
78 | | - <goal>sign</goal> |
79 | | - </goals> |
80 | | - </execution> |
81 | | - </executions> |
82 | 163 | </plugin> |
83 | 164 | <plugin> |
84 | 165 | <groupId>org.sonatype.plugins</groupId> |
85 | 166 | <artifactId>nexus-staging-maven-plugin</artifactId> |
86 | | - <version>${nexus.staging.maven.plugin.version}</version> |
87 | 167 | <extensions>true</extensions> |
88 | 168 | <configuration> |
89 | 169 | <serverId>ossrh</serverId> |
|
93 | 173 | <plugin> |
94 | 174 | <groupId>org.apache.maven.plugins</groupId> |
95 | 175 | <artifactId>maven-source-plugin</artifactId> |
96 | | - <version>${maven.source.plugin.version}</version> |
97 | | - <executions> |
98 | | - <execution> |
99 | | - <id>attach-sources</id> |
100 | | - <goals> |
101 | | - <goal>jar-no-fork</goal> |
102 | | - </goals> |
103 | | - </execution> |
104 | | - </executions> |
105 | 176 | </plugin> |
106 | 177 | <plugin> |
107 | 178 | <groupId>org.apache.maven.plugins</groupId> |
108 | 179 | <artifactId>maven-javadoc-plugin</artifactId> |
109 | | - <version>${maven.javadoc.plugin.version}</version> |
110 | | - <executions> |
111 | | - <execution> |
112 | | - <id>attach-javadocs</id> |
113 | | - <goals> |
114 | | - <goal>jar</goal> |
115 | | - </goals> |
116 | | - </execution> |
117 | | - </executions> |
118 | 180 | </plugin> |
119 | 181 | </plugins> |
120 | 182 | </build> |
|
128 | 190 | <dependency> |
129 | 191 | <groupId>org.slf4j</groupId> |
130 | 192 | <artifactId>slf4j-simple</artifactId> |
131 | | - <version>${slf4j.version}</version> |
132 | 193 | </dependency> |
133 | 194 | </dependencies> |
134 | 195 | <build> |
135 | 196 | <plugins> |
136 | 197 | <plugin> |
137 | 198 | <groupId>org.apache.maven.plugins</groupId> |
138 | 199 | <artifactId>maven-shade-plugin</artifactId> |
139 | | - <version>${maven.shade.plugin.version}</version> |
140 | 200 | <executions> |
141 | 201 | <execution> |
142 | 202 | <phase>package</phase> |
|
160 | 220 | <plugin> |
161 | 221 | <groupId>org.apache.maven.plugins</groupId> |
162 | 222 | <artifactId>maven-source-plugin</artifactId> |
163 | | - <version>${maven.source.plugin.version}</version> |
164 | | - <executions> |
165 | | - <execution> |
166 | | - <id>attach-sources</id> |
167 | | - <goals> |
168 | | - <goal>jar-no-fork</goal> |
169 | | - </goals> |
170 | | - </execution> |
171 | | - </executions> |
172 | 223 | </plugin> |
173 | 224 | <plugin> |
174 | 225 | <groupId>org.apache.maven.plugins</groupId> |
175 | 226 | <artifactId>maven-jar-plugin</artifactId> |
176 | | - <version>${maven.jar.plugin.version}</version> |
177 | 227 | <executions> |
178 | 228 | <execution> |
179 | 229 | <goals> |
|
185 | 235 | <plugin> |
186 | 236 | <groupId>org.apache.maven.plugins</groupId> |
187 | 237 | <artifactId>maven-javadoc-plugin</artifactId> |
188 | | - <version>${maven.javadoc.plugin.version}</version> |
189 | | - <executions> |
190 | | - <execution> |
191 | | - <id>attach-javadocs</id> |
192 | | - <goals> |
193 | | - <goal>jar</goal> |
194 | | - </goals> |
195 | | - </execution> |
196 | | - </executions> |
197 | 238 | </plugin> |
198 | 239 | <plugin> |
199 | 240 | <groupId>org.apache.maven.plugins</groupId> |
200 | 241 | <artifactId>maven-gpg-plugin</artifactId> |
201 | | - <version>${maven.gpg.plugin.version}</version> |
202 | | - <executions> |
203 | | - <execution> |
204 | | - <id>sign-artifacts</id> |
205 | | - <phase>verify</phase> |
206 | | - <goals> |
207 | | - <goal>sign</goal> |
208 | | - </goals> |
209 | | - </execution> |
210 | | - </executions> |
211 | 242 | </plugin> |
212 | 243 | </plugins> |
213 | 244 | </build> |
|
227 | 258 | <dependency> |
228 | 259 | <groupId>org.slf4j</groupId> |
229 | 260 | <artifactId>slf4j-api</artifactId> |
230 | | - <version>${slf4j.version}</version> |
231 | 261 | </dependency> |
232 | 262 | <dependency> |
233 | 263 | <groupId>org.slf4j</groupId> |
234 | 264 | <artifactId>slf4j-simple</artifactId> |
235 | | - <version>${slf4j.version}</version> |
236 | 265 | <scope>test</scope> |
237 | 266 | </dependency> |
238 | 267 | <dependency> |
239 | 268 | <groupId>junit</groupId> |
240 | 269 | <artifactId>junit</artifactId> |
241 | | - <version>${junit.version}</version> |
242 | 270 | <scope>test</scope> |
243 | 271 | </dependency> |
244 | 272 | <dependency> |
245 | 273 | <groupId>org.json</groupId> |
246 | 274 | <artifactId>json</artifactId> |
247 | | - <version>${org.json.version}</version> |
248 | 275 | <scope>test</scope> |
249 | 276 | </dependency> |
250 | 277 | </dependencies> |
|
0 commit comments