Skip to content

Commit

Permalink
修正pom
Browse files Browse the repository at this point in the history
  • Loading branch information
tywo45 committed Jun 4, 2019
1 parent 9b913f1 commit cf57a56
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 88 deletions.
30 changes: 3 additions & 27 deletions src/zoo/flash-policy-server/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>tio-flash-policy-server</artifactId>
Expand All @@ -16,7 +17,7 @@
<groupId>org.t-io</groupId>
<artifactId>tio-core</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -29,31 +30,6 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<addMavenDescriptor>false</addMavenDescriptor><!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 -->
</archive>

<excludes>
<exclude>**/config/**/*</exclude>

<exclude>app.conf</exclude>
<exclude>logback.properties</exclude>
<exclude>logback.xml</exclude>
</excludes>
</configuration>
</plugin>

</plugins>
</build>

</project>
97 changes: 36 additions & 61 deletions src/zoo/websocket/client/pom.xml
Original file line number Diff line number Diff line change
@@ -1,67 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
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">
<modelVersion>4.0.0</modelVersion>

<artifactId>tio-websocket-client</artifactId>

<parent>
<groupId>org.t-io</groupId>
<artifactId>tio-websocket-parent</artifactId>
<version>3.3.2.v20190601-RELEASE</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<dependencies>
<dependency>
<groupId>org.t-io</groupId>
<artifactId>tio-websocket-common</artifactId>
</dependency>

<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxjava</artifactId>
<version>2.2.8</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<artifactId>tio-websocket-client</artifactId>

<parent>
<groupId>org.t-io</groupId>
<artifactId>tio-websocket-parent</artifactId>
<version>3.3.2.v20190601-RELEASE</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<dependencies>
<dependency>
<groupId>org.t-io</groupId>
<artifactId>tio-websocket-common</artifactId>
</dependency>

<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxjava</artifactId>
<version>2.2.8</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<addMavenDescriptor>false</addMavenDescriptor><!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 -->
</archive>

<excludes>
<exclude>**/config/**/*</exclude>

<exclude>app.conf</exclude>
<exclude>logback.properties</exclude>
<exclude>logback.xml</exclude>
</excludes>
</configuration>
</plugin>

</plugins>
</build>

</project>

0 comments on commit cf57a56

Please sign in to comment.