打包脚本调整
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<directory>${project.basedir}/src/main/resources</directory>
|
<directory>${project.basedir}/src/main/resources</directory>
|
||||||
<outputDirectory>config</outputDirectory>
|
<outputDirectory>config</outputDirectory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>*/**</include>
|
<include>*.yml</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ set JAVA_CMD=%JAVA_HOME%\bin\java
|
|||||||
set JAVA_OPTS=-Xmx512m -Xms512m -Xmn256m -Xss256k
|
set JAVA_OPTS=-Xmx512m -Xms512m -Xmn256m -Xss256k
|
||||||
set CONFIG_FILE=../config/application.yml
|
set CONFIG_FILE=../config/application.yml
|
||||||
set TARGET=../lib/kafka-console-ui.jar
|
set TARGET=../lib/kafka-console-ui.jar
|
||||||
%JAVA_CMD% -jar %TARGET% --spring.config.location=%CONFIG_FILE%
|
set DATA_DIR=..
|
||||||
|
%JAVA_CMD% -jar %TARGET% --spring.config.location=%CONFIG_FILE% --data.dir=%DATA_DIR%
|
||||||
40
pom.xml
40
pom.xml
@@ -155,26 +155,26 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<!-- <plugin>-->
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<!-- <groupId>org.codehaus.mojo</groupId>-->
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<!-- <artifactId>build-helper-maven-plugin</artifactId>-->
|
||||||
<version>3.2.0</version>
|
<!-- <version>3.2.0</version>-->
|
||||||
<executions>
|
<!-- <executions>-->
|
||||||
<execution>
|
<!-- <execution>-->
|
||||||
<id>add-source</id>
|
<!-- <id>add-source</id>-->
|
||||||
<phase>generate-sources</phase>
|
<!-- <phase>generate-sources</phase>-->
|
||||||
<goals>
|
<!-- <goals>-->
|
||||||
<goal>add-source</goal>
|
<!-- <goal>add-source</goal>-->
|
||||||
</goals>
|
<!-- </goals>-->
|
||||||
<configuration>
|
<!-- <configuration>-->
|
||||||
<sources>
|
<!-- <sources>-->
|
||||||
<source>src/main/java</source>
|
<!-- <source>src/main/java</source>-->
|
||||||
<source>src/main/scala</source>
|
<!-- <source>src/main/scala</source>-->
|
||||||
</sources>
|
<!-- </sources>-->
|
||||||
</configuration>
|
<!-- </configuration>-->
|
||||||
</execution>
|
<!-- </execution>-->
|
||||||
</executions>
|
<!-- </executions>-->
|
||||||
</plugin>
|
<!-- </plugin>-->
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
|||||||
Reference in New Issue
Block a user