forked from DataLinkDC/dinky
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
219 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@echo off | ||
|
||
echo "Clean Project ..." | ||
call mvn clean -f pom.xml | ||
|
||
echo "Build Project ..." | ||
call mvn package -f pom.xml -D"maven.test.skip=true" | ||
|
||
:exit | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
mvn clean package -Dmaven.test.skip=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,75 @@ | ||
<assembly | ||
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> | ||
<id>bin-${package.version}</id> | ||
<assembly> | ||
<id>${project.version}</id> | ||
|
||
<formats> | ||
<format>dir</format> | ||
<format>tar.gz</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<baseDirectory>dlink</baseDirectory> | ||
|
||
<includeBaseDirectory>true</includeBaseDirectory> | ||
|
||
<fileSets> | ||
<!-- 打包dlink-doc中的bin目录到 打包目录下 --> | ||
<fileSet> | ||
<directory>${project.parent.basedir}/dlink-doc/bin</directory> | ||
<outputDirectory>./</outputDirectory> | ||
<fileMode>0755</fileMode> | ||
</fileSet> | ||
|
||
<!-- 打包dlink-doc中的配置文件到打包目录/sql下 --> | ||
<fileSet> | ||
<directory>${project.parent.basedir}/dlink-doc/sql</directory> | ||
<outputDirectory>sql</outputDirectory> | ||
<includes> | ||
<include>*.sql</include> | ||
</includes> | ||
</fileSet> | ||
|
||
<!-- 打包dlink-admin中的配置文件到打包目录/config下 --> | ||
<fileSet> | ||
<directory>${project.parent.basedir}/dlink-admin/src/main/resources/ | ||
</directory> | ||
<outputDirectory>config</outputDirectory> | ||
<includes> | ||
<include>application.yml</include> | ||
</includes> | ||
</fileSet> | ||
|
||
<!-- 将模块dlink-admin的jar文件放到打包目录下 --> | ||
<fileSet> | ||
<directory>${project.parent.basedir}/dlink-admin/target | ||
</directory> | ||
<outputDirectory>./</outputDirectory> | ||
<includes> | ||
<include>dlink-admin-${project.version}.jar</include> | ||
</includes> | ||
</fileSet> | ||
|
||
<!-- 打包dlink主要代码--> | ||
<!-- 将模块dlink-client的jar文件放到打包目录/lib下 --> | ||
<fileSet> | ||
<directory>../dlink-admin/target/dlink-service/</directory> | ||
<directory>${project.parent.basedir}/dlink-client/dlink-client-1.12/target</directory> | ||
<outputDirectory>lib</outputDirectory> | ||
<includes> | ||
<include>**/*.*</include> | ||
<include>dlink-client-1.12-${project.version}.jar</include> | ||
</includes> | ||
<outputDirectory>dlink</outputDirectory> | ||
</fileSet> | ||
|
||
<!-- 打包dlink-client Jar包--> | ||
<!-- 将模块dlink-connectors的jar文件放到打包目录/lib下 --> | ||
<fileSet> | ||
<directory>../dlink-client/dlink-client-1.12/target/</directory> | ||
<directory>${project.parent.basedir}/dlink-connectors/dlink-connector-jdbc/target</directory> | ||
<outputDirectory>lib</outputDirectory> | ||
<includes> | ||
<include>*.jar</include> | ||
<include>dlink-connector-jdbc-${project.version}.jar</include> | ||
</includes> | ||
<outputDirectory>dlink/lib/</outputDirectory> | ||
</fileSet> | ||
|
||
<!-- 打包dlink-connectors Jar包--> | ||
<!-- 将模块dlink-function的jar文件放到打包目录/lib下 --> | ||
<fileSet> | ||
<directory>../dlink-connectors/dlink-connectors-jdbc/target/</directory> | ||
<directory>${project.parent.basedir}/dlink-function/target | ||
</directory> | ||
<outputDirectory>lib</outputDirectory> | ||
<includes> | ||
<include>*.jar</include> | ||
<include>dlink-function-${project.version}.jar</include> | ||
</includes> | ||
<outputDirectory>dlink/lib/</outputDirectory> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.