TangCheng
8 天以前 cd65c4eba1fa852fd18614c0d20f913954761eac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.smtaiserver.smtaiserver</groupId>
  <artifactId>SMTAIServerVer</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  
      <build>
        <finalName>demo</finalName>
        <plugins>
            <plugin>
                <artifactId>exec-maven-plugin</artifactId>
                <groupId>org.codehaus.mojo</groupId>
                <version>3.0.0</version>
                <executions>
                    <execution>
                        <id>uncompress</id>
                        <phase>install</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <executable>${basedir}/../SMTAIServer/build_war_version.bat</executable>
                    <arguments>
                        <argument>${basedir}/../SMTAIServer/src/main/resources/version.txt</argument>
                    </arguments>
                </configuration>
            </plugin>
        </plugins>
    </build>
  
</project>