Skip to content

Commit 66c6662

Browse files
committed
cleaned up poms
1 parent 6319167 commit 66c6662

File tree

3 files changed

+39
-52
lines changed

3 files changed

+39
-52
lines changed

modules/swagger-codegen-distribution/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<groupId>com.wordnik</groupId>
1010
<artifactId>swagger-codegen-distribution</artifactId>
1111
<packaging>jar</packaging>
12-
<name>swagger-codegen-distribution</name>
12+
<name>swagger-codegen (executable)</name>
1313
<version>2.1.0-M1</version>
1414
<build>
1515
<testSourceDirectory>src/test/scala</testSourceDirectory>
@@ -18,7 +18,6 @@
1818
<defaultGoal>install</defaultGoal>
1919
<directory>target</directory>
2020
<finalName>${project.artifactId}-${project.version}</finalName>
21-
2221
<plugins>
2322
<plugin>
2423
<groupId>org.apache.maven.plugins</groupId>

modules/swagger-codegen/pom.xml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,6 @@
4949
<mainClass>com.wordnik.swagger.codegen.Codegen</mainClass>
5050
</configuration>
5151
</plugin>
52-
<plugin>
53-
<groupId>org.apache.maven.plugins</groupId>
54-
<artifactId>maven-jar-plugin</artifactId>
55-
<configuration>
56-
<archive>
57-
<manifest>
58-
<addClasspath>true</addClasspath>
59-
<mainClass>com.wordnik.swagger.codegen.Codegen</mainClass>
60-
</manifest>
61-
</archive>
62-
</configuration>
63-
</plugin>
6452
<plugin>
6553
<artifactId>maven-dependency-plugin</artifactId>
6654
<executions>
@@ -113,44 +101,6 @@
113101
</launchers>
114102
</configuration>
115103
</plugin>
116-
<plugin>
117-
<groupId>org.apache.maven.plugins</groupId>
118-
<artifactId>maven-source-plugin</artifactId>
119-
<version>2.1.2</version>
120-
<executions>
121-
<execution>
122-
<id>attach-sources</id>
123-
<phase>verify</phase>
124-
<goals>
125-
<goal>jar-no-fork</goal>
126-
</goals>
127-
</execution>
128-
</executions>
129-
</plugin>
130-
<plugin>
131-
<groupId>org.apache.maven.plugins</groupId>
132-
<artifactId>maven-javadoc-plugin</artifactId>
133-
<version>2.7</version>
134-
<configuration>
135-
<aggregate>true</aggregate>
136-
<source>1.6</source>
137-
<encoding>UTF-8</encoding>
138-
<maxmemory>1g</maxmemory>
139-
<links>
140-
<link>http://java.sun.com/javase/6/docs/api/</link>
141-
</links>
142-
<excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
143-
</configuration>
144-
<executions>
145-
<execution>
146-
<id>attach-javadocs</id>
147-
<phase>verify</phase>
148-
<goals>
149-
<goal>jar</goal>
150-
</goals>
151-
</execution>
152-
</executions>
153-
</plugin>
154104
<plugin>
155105
<artifactId>maven-compiler-plugin</artifactId>
156106
<version>3.0</version>

pom.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,44 @@
168168
<goals>sign</goals>
169169
</configuration>
170170
</plugin>
171+
<plugin>
172+
<groupId>org.apache.maven.plugins</groupId>
173+
<artifactId>maven-javadoc-plugin</artifactId>
174+
<version>2.7</version>
175+
<configuration>
176+
<aggregate>true</aggregate>
177+
<source>1.6</source>
178+
<encoding>UTF-8</encoding>
179+
<maxmemory>1g</maxmemory>
180+
<links>
181+
<link>http://java.sun.com/javase/6/docs/api/</link>
182+
</links>
183+
<excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
184+
</configuration>
185+
<executions>
186+
<execution>
187+
<id>attach-javadocs</id>
188+
<phase>verify</phase>
189+
<goals>
190+
<goal>jar</goal>
191+
</goals>
192+
</execution>
193+
</executions>
194+
</plugin>
195+
<plugin>
196+
<groupId>org.apache.maven.plugins</groupId>
197+
<artifactId>maven-source-plugin</artifactId>
198+
<version>2.1.2</version>
199+
<executions>
200+
<execution>
201+
<id>attach-sources</id>
202+
<phase>verify</phase>
203+
<goals>
204+
<goal>jar-no-fork</goal>
205+
</goals>
206+
</execution>
207+
</executions>
208+
</plugin>
171209
</plugins>
172210
</pluginManagement>
173211
</build>

0 commit comments

Comments
 (0)