|
@@ -20,4 +20,50 @@
|
|
<version>${examcloud.version}</version>
|
|
<version>${examcloud.version}</version>
|
|
</dependency>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
+
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <archive>
|
|
|
|
+ <manifest>
|
|
|
|
+ <mainClass>cn.com.qmth.examcloud.exchange.ExchangeApp</mainClass>
|
|
|
|
+ <addClasspath>true</addClasspath>
|
|
|
|
+ <classpathPrefix>./</classpathPrefix>
|
|
|
|
+ </manifest>
|
|
|
|
+ <manifestEntries>
|
|
|
|
+ <Class-Path>../config/</Class-Path>
|
|
|
|
+ </manifestEntries>
|
|
|
|
+ </archive>
|
|
|
|
+ <excludes>
|
|
|
|
+ <exclude>*.properties</exclude>
|
|
|
|
+ <exclude>*.xml </exclude>
|
|
|
|
+ <exclude>*.conf </exclude>
|
|
|
|
+ </excludes>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <finalName>examcloud-exchange</finalName>
|
|
|
|
+ <descriptors>
|
|
|
|
+ <descriptor>assembly.xml</descriptor>
|
|
|
|
+ </descriptors>
|
|
|
|
+ </configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>make-assembly</id>
|
|
|
|
+ <phase>install</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>assembly</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
+
|
|
</project>
|
|
</project>
|