Unverified Commit 25fc0d70 authored by aiwenmo's avatar aiwenmo Committed by GitHub

[Optimization-1329][pom] Optimize package dlink-app (#1330)

parent 056a2c8a
...@@ -15,16 +15,14 @@ ...@@ -15,16 +15,14 @@
~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and
~ limitations under the License. ~ limitations under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>dlink-app</artifactId>
<groupId>com.dlink</groupId> <groupId>com.dlink</groupId>
<artifactId>dlink-app</artifactId>
<version>0.7.0</version> <version>0.7.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>dlink-app-1.11</artifactId> <artifactId>dlink-app-1.11</artifactId>
...@@ -72,21 +70,7 @@ ...@@ -72,21 +70,7 @@
</includes> </includes>
</resource> </resource>
</resources> </resources>
<plugins> <plugins>
<!-- 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${target.java.version}</source>
<target>${target.java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 打jar包插件(会包含所有依赖) -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
...@@ -101,18 +85,18 @@ ...@@ -101,18 +85,18 @@
<mainClass>com.dlink.app.MainApp</mainClass> <mainClass>com.dlink.app.MainApp</mainClass>
</manifest> </manifest>
</archive> </archive>
<outputDirectory>${project.parent.parent.basedir}/build/extends</outputDirectory>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>make-assembly</id> <id>make-assembly</id>
<phase>package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
...@@ -15,16 +15,14 @@ ...@@ -15,16 +15,14 @@
~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and
~ limitations under the License. ~ limitations under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>dlink-app</artifactId>
<groupId>com.dlink</groupId> <groupId>com.dlink</groupId>
<artifactId>dlink-app</artifactId>
<version>0.7.0</version> <version>0.7.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>dlink-app-1.12</artifactId> <artifactId>dlink-app-1.12</artifactId>
...@@ -74,19 +72,6 @@ ...@@ -74,19 +72,6 @@
</resources> </resources>
<plugins> <plugins>
<!-- 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${target.java.version}</source>
<target>${target.java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 打jar包插件(会包含所有依赖) -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
...@@ -101,14 +86,15 @@ ...@@ -101,14 +86,15 @@
<mainClass>com.dlink.app.MainApp</mainClass> <mainClass>com.dlink.app.MainApp</mainClass>
</manifest> </manifest>
</archive> </archive>
<outputDirectory>${project.parent.parent.basedir}/build/extends</outputDirectory>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>make-assembly</id> <id>make-assembly</id>
<phase>package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
......
...@@ -15,16 +15,14 @@ ...@@ -15,16 +15,14 @@
~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and
~ limitations under the License. ~ limitations under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>dlink-app</artifactId>
<groupId>com.dlink</groupId> <groupId>com.dlink</groupId>
<artifactId>dlink-app</artifactId>
<version>0.7.0</version> <version>0.7.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>dlink-app-1.13</artifactId> <artifactId>dlink-app-1.13</artifactId>
...@@ -74,19 +72,6 @@ ...@@ -74,19 +72,6 @@
</resources> </resources>
<plugins> <plugins>
<!-- 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${target.java.version}</source>
<target>${target.java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 打jar包插件(会包含所有依赖) -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
...@@ -101,18 +86,18 @@ ...@@ -101,18 +86,18 @@
<mainClass>com.dlink.app.MainApp</mainClass> <mainClass>com.dlink.app.MainApp</mainClass>
</manifest> </manifest>
</archive> </archive>
<outputDirectory>${project.parent.parent.basedir}/build/extends</outputDirectory>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>make-assembly</id> <id>make-assembly</id>
<phase>package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
...@@ -75,19 +75,6 @@ ...@@ -75,19 +75,6 @@
</resources> </resources>
<plugins> <plugins>
<!-- 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>${target.java.version}</source>
<target>${target.java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 打jar包插件(会包含所有依赖) -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
...@@ -102,6 +89,7 @@ ...@@ -102,6 +89,7 @@
<mainClass>com.dlink.app.MainApp</mainClass> <mainClass>com.dlink.app.MainApp</mainClass>
</manifest> </manifest>
</archive> </archive>
<outputDirectory>${project.parent.parent.basedir}/build/extends</outputDirectory>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
......
...@@ -15,16 +15,14 @@ ...@@ -15,16 +15,14 @@
~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and
~ limitations under the License. ~ limitations under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>dlink-app</artifactId>
<groupId>com.dlink</groupId> <groupId>com.dlink</groupId>
<artifactId>dlink-app</artifactId>
<version>0.7.0</version> <version>0.7.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>dlink-app-1.15</artifactId> <artifactId>dlink-app-1.15</artifactId>
...@@ -74,19 +72,6 @@ ...@@ -74,19 +72,6 @@
</resources> </resources>
<plugins> <plugins>
<!-- 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${target.java.version}</source>
<target>${target.java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 打jar包插件(会包含所有依赖) -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
...@@ -101,14 +86,15 @@ ...@@ -101,14 +86,15 @@
<mainClass>com.dlink.app.MainApp</mainClass> <mainClass>com.dlink.app.MainApp</mainClass>
</manifest> </manifest>
</archive> </archive>
<outputDirectory>${project.parent.parent.basedir}/build/extends</outputDirectory>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>make-assembly</id> <id>make-assembly</id>
<phase>package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>dlink-app</artifactId>
<groupId>com.dlink</groupId> <groupId>com.dlink</groupId>
<artifactId>dlink-app</artifactId>
<version>0.7.0</version> <version>0.7.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>dlink-app-1.16</artifactId> <artifactId>dlink-app-1.16</artifactId>
...@@ -57,19 +56,6 @@ ...@@ -57,19 +56,6 @@
</resources> </resources>
<plugins> <plugins>
<!-- 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${target.java.version}</source>
<target>${target.java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 打jar包插件(会包含所有依赖) -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
...@@ -84,14 +70,15 @@ ...@@ -84,14 +70,15 @@
<mainClass>com.dlink.app.MainApp</mainClass> <mainClass>com.dlink.app.MainApp</mainClass>
</manifest> </manifest>
</archive> </archive>
<outputDirectory>${project.parent.parent.basedir}/build/extends</outputDirectory>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>make-assembly</id> <id>make-assembly</id>
<phase>package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment