Skip to content

Commit 1376ebb

Browse files
committed
Updated Maven configuration for release
1 parent c8e036b commit 1376ebb

File tree

1 file changed

+45
-24
lines changed

1 file changed

+45
-24
lines changed

pom.xml

Lines changed: 45 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
<bootclasspath.java6>${java6.home}/lib/rt.jar</bootclasspath.java6>
5353
<bootclasspath.compile>${bootclasspath.java5}</bootclasspath.compile>
5454
<bootclasspath.testCompile>${bootclasspath.java6}</bootclasspath.testCompile>
55-
<antlr3.version>3.5</antlr3.version>
56-
<st4.version>4.0.7</st4.version>
5755
<aw1.basedir>${basedir}</aw1.basedir>
5856
</properties>
5957

@@ -93,13 +91,19 @@
9391
<dependency>
9492
<groupId>org.antlr</groupId>
9593
<artifactId>antlr-runtime</artifactId>
96-
<version>${antlr3.version}</version>
94+
<version>3.5.1</version>
9795
<scope>compile</scope>
9896
</dependency>
9997
<dependency>
10098
<groupId>org.antlr</groupId>
10199
<artifactId>antlr</artifactId>
102-
<version>${antlr3.version}</version>
100+
<version>3.5.1</version>
101+
<scope>compile</scope>
102+
</dependency>
103+
<dependency>
104+
<groupId>org.antlr</groupId>
105+
<artifactId>stringtemplate</artifactId>
106+
<version>3.2.1</version>
103107
<scope>compile</scope>
104108
</dependency>
105109
<dependency>
@@ -129,17 +133,27 @@
129133
<execution>
130134
<id>default-compile</id>
131135
<configuration>
132-
<compilerArguments>
133-
<bootclasspath>${bootclasspath.compile}</bootclasspath>
134-
</compilerArguments>
136+
<source>1.5</source>
137+
<target>1.5</target>
138+
<compilerArgs>
139+
<arg>-Xlint</arg>
140+
<arg>-Xlint:-serial</arg>
141+
<arg>-bootclasspath</arg>
142+
<arg>${bootclasspath.compile}</arg>
143+
</compilerArgs>
135144
</configuration>
136145
</execution>
137146
<execution>
138147
<id>default-testCompile</id>
139148
<configuration>
140-
<compilerArguments>
141-
<bootclasspath>${bootclasspath.testCompile}</bootclasspath>
142-
</compilerArguments>
149+
<source>1.6</source>
150+
<target>1.6</target>
151+
<compilerArgs>
152+
<arg>-Xlint</arg>
153+
<arg>-Xlint:-serial</arg>
154+
<arg>-bootclasspath</arg>
155+
<arg>${bootclasspath.testCompile}</arg>
156+
</compilerArgs>
143157
</configuration>
144158
</execution>
145159
</executions>
@@ -148,7 +162,7 @@
148162
<plugin>
149163
<groupId>org.apache.maven.plugins</groupId>
150164
<artifactId>maven-shade-plugin</artifactId>
151-
<version>2.0</version>
165+
<version>2.1</version>
152166
<inherited>false</inherited>
153167
<executions>
154168
<execution>
@@ -186,11 +200,11 @@
186200
<plugin>
187201
<groupId>org.codehaus.mojo</groupId>
188202
<artifactId>osxappbundle-maven-plugin</artifactId>
189-
<version>1.0-alpha-2</version>
203+
<version>1.0-alpha-1</version>
190204
<configuration>
191205
<mainClass>org.antlr.works.IDE</mainClass>
192206
<javaApplicationStub>${basedir}/osx/ANTLRWorks.app/Contents/MacOS/JavaApplicationStub</javaApplicationStub>
193-
<dictionaryFile>${aw1.basedir}/osx/Info.plist</dictionaryFile>
207+
<dictionaryFile>osx/Info.plist</dictionaryFile>
194208
<iconFile>${basedir}/osx/ANTLRWorks.app/Contents/Resources/app.icns</iconFile>
195209
<jvmVersion>1.5+</jvmVersion>
196210
<additionalResources>
@@ -281,11 +295,15 @@
281295
<plugin>
282296
<groupId>org.apache.maven.plugins</groupId>
283297
<artifactId>maven-compiler-plugin</artifactId>
284-
<version>3.0</version>
298+
<version>3.1</version>
285299
<configuration>
286300
<sourceDirectory>src</sourceDirectory>
287301
<showWarnings>true</showWarnings>
288302
<showDeprecation>true</showDeprecation>
303+
<compilerArgs>
304+
<arg>-Xlint</arg>
305+
<arg>-Xlint:-serial</arg>
306+
</compilerArgs>
289307
</configuration>
290308

291309
<executions>
@@ -294,30 +312,33 @@
294312
<configuration>
295313
<source>1.5</source>
296314
<target>1.5</target>
297-
<compilerArgument>-Xlint:-serial</compilerArgument>
298-
<compilerArguments>
299-
<Xlint/>
300-
</compilerArguments>
301315
</configuration>
302316
</execution>
303317
<execution>
304318
<id>default-testCompile</id>
305319
<configuration>
306320
<source>1.6</source>
307321
<target>1.6</target>
308-
<compilerArgument>-Xlint:-serial</compilerArgument>
309-
<compilerArguments>
310-
<Xlint/>
311-
</compilerArguments>
312322
</configuration>
313323
</execution>
314324
</executions>
315325
</plugin>
316326

327+
<plugin>
328+
<groupId>org.apache.maven.plugins</groupId>
329+
<artifactId>maven-release-plugin</artifactId>
330+
<!-- override the version inherited from the parent -->
331+
<version>2.4.1</version>
332+
<configuration>
333+
<arguments>-Psonatype-oss-release ${release.arguments}</arguments>
334+
</configuration>
335+
</plugin>
336+
317337
<plugin>
318338
<groupId>org.apache.maven.plugins</groupId>
319339
<artifactId>maven-surefire-plugin</artifactId>
320-
<version>2.12.4</version>
340+
<!-- override the version inherited from the parent -->
341+
<version>2.16</version>
321342
</plugin>
322343

323344
<plugin>
@@ -342,7 +363,7 @@
342363
<groupId>org.apache.maven.plugins</groupId>
343364
<artifactId>maven-javadoc-plugin</artifactId>
344365
<!-- override the version inherited from the parent -->
345-
<version>2.9</version>
366+
<version>2.9.1</version>
346367
<configuration>
347368
<quiet>true</quiet>
348369
</configuration>

0 commit comments

Comments
 (0)