[Edgent-442] j7 connectors/websocket-jetty jar lacks LICENSE,...
diff --git a/platforms/java7/connectors/websocket-jetty/pom.xml b/platforms/java7/connectors/websocket-jetty/pom.xml
index 1f95bf5..70ba1d5 100644
--- a/platforms/java7/connectors/websocket-jetty/pom.xml
+++ b/platforms/java7/connectors/websocket-jetty/pom.xml
@@ -53,7 +53,14 @@
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
- <excludes>META-INF/*,META-INF/maven/**</excludes>
+ <!--
+ We can't use the typical <excludes>META-INF/**</excludes>,
+ that avoids getting other inappropriate metadata like
+ the pom info and DEPENDENCIES,
+ because we need to get the "service" metadata and impl
+ from the j8 jar.
+ -->
+ <includes>META-INF/services/**,**/*.class</includes>
</artifactItem>
</artifactItems>
</configuration>
@@ -79,16 +86,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <classesDirectory>${project.build.directory}/classes</classesDirectory>
- <includes>
- <include>META-INF/services/**</include>
- <include>org/apache/edgent/javax/websocket/impl/*.class</include>
- </includes>
- </configuration>
- </plugin>
</plugins>
</build>