Skip to content

Commit 2329a06

Browse files
committed
jooby-apt: remove shade from build process, was doing nothing
1 parent 34a3e82 commit 2329a06

2 files changed

Lines changed: 8 additions & 43 deletions

File tree

modules/jooby-apt/pom.xml

Lines changed: 8 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -181,48 +181,14 @@
181181

182182
<plugin>
183183
<groupId>org.apache.maven.plugins</groupId>
184-
<artifactId>maven-shade-plugin</artifactId>
185-
<executions>
186-
<execution>
187-
<id>fat-jar</id>
188-
<goals>
189-
<goal>shade</goal>
190-
</goals>
191-
<phase>package</phase>
192-
<configuration>
193-
<minimizeJar>true</minimizeJar>
194-
<filters>
195-
<filter>
196-
<artifact>*:*</artifact>
197-
<excludes>
198-
<exclude>META-INF/LICENSE</exclude>
199-
<exclude>META-INF/LICENSE.txt</exclude>
200-
<exclude>META-INF/NOTICE</exclude>
201-
<exclude>META-INF/NOTICE.txt</exclude>
202-
<exclude>META-INF/DEPENDENCIES</exclude>
203-
204-
<exclude>META-INF/MANIFEST.MF</exclude>
205-
206-
<exclude>module-info.class</exclude>
207-
<exclude>META-INF/versions/*/module-info.class</exclude>
208-
209-
<exclude>META-INF/*.SF</exclude>
210-
<exclude>META-INF/*.DSA</exclude>
211-
<exclude>META-INF/*.RSA</exclude>
212-
</excludes>
213-
</filter>
214-
</filters>
215-
<transformers>
216-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
217-
<manifestEntries>
218-
<Automatic-Module-Name>io.jooby.apt</Automatic-Module-Name>
219-
</manifestEntries>
220-
</transformer>
221-
<transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"/>
222-
</transformers>
223-
</configuration>
224-
</execution>
225-
</executions>
184+
<artifactId>maven-jar-plugin</artifactId>
185+
<configuration>
186+
<archive>
187+
<manifestEntries>
188+
<Automatic-Module-Name>io.jooby.apt</Automatic-Module-Name>
189+
</manifestEntries>
190+
</archive>
191+
</configuration>
226192
</plugin>
227193
</plugins>
228194
</build>

modules/jooby-flyway/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<version>${jooby.version}</version>
1919
</dependency>
2020

21-
<!-- https://mvnrepository.com/artifact/org.flywaydb/flyway-core -->
2221
<dependency>
2322
<groupId>org.flywaydb</groupId>
2423
<artifactId>flyway-core</artifactId>

0 commit comments

Comments
 (0)