build: 增加allatori
This commit is contained in:
parent
b54ae2769b
commit
85d6b34bdb
|
@ -365,6 +365,54 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-and-filter-allatori-config</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${basedir}/target</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${basedir}/allatori</directory>
|
||||||
|
<includes>
|
||||||
|
<include>allatori.xml</include>
|
||||||
|
</includes>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>run-allatori</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>exec</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<executable>java</executable>
|
||||||
|
<arguments>
|
||||||
|
<argument>-Xms128m</argument>
|
||||||
|
<argument>-Xmx512m</argument>
|
||||||
|
<argument>-jar</argument>
|
||||||
|
<argument>${basedir}/target/classes/allatori/allatori.jar</argument>
|
||||||
|
<argument>${basedir}/target/classes/allatori/allatori.xml</argument>
|
||||||
|
</arguments>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,14 @@
|
||||||
|
<config>
|
||||||
|
<input>
|
||||||
|
<jar in="../../*.jar" out="../../*.jar"/>
|
||||||
|
</input>
|
||||||
|
|
||||||
|
<keep-names>
|
||||||
|
<class access="private+">
|
||||||
|
<field access="protected+"/>
|
||||||
|
<method access="protected+"/>
|
||||||
|
</class>
|
||||||
|
</keep-names>
|
||||||
|
|
||||||
|
<property name="log-file" value="log.xml"/>
|
||||||
|
</config>
|
Loading…
Reference in New Issue