|
|
@@ -11,6 +11,10 @@
|
|
|
|
|
|
<artifactId>dagent</artifactId>
|
|
|
|
|
|
+ <properties>
|
|
|
+ <project.build.outputDir>${project.basedir}/bin</project.build.outputDir>
|
|
|
+ </properties>
|
|
|
+
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>cn.reghao.autodop</groupId>
|
|
|
@@ -44,7 +48,7 @@
|
|
|
</profiles>
|
|
|
|
|
|
<build>
|
|
|
- <finalName>autodop-dagent</finalName>
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
|
|
|
<extensions>
|
|
|
<extension>
|
|
|
@@ -68,6 +72,31 @@
|
|
|
</resources>
|
|
|
|
|
|
<plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <version>3.1.2</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy-artifact</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <artifactItems>
|
|
|
+ <artifactItem>
|
|
|
+ <groupId>${project.groupId}</groupId>
|
|
|
+ <artifactId>${project.artifactId}</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ <type>${project.packaging}</type>
|
|
|
+ </artifactItem>
|
|
|
+ </artifactItems>
|
|
|
+ <outputDirectory>${project.build.outputDir}</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|