zhourui 5 лет назад
Родитель
Сommit
5f22fbea5c
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      o2server/x_console/pom.xml

+ 7 - 1
o2server/x_console/pom.xml

@@ -1,5 +1,8 @@
 <?xml version="1.0"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+	xmlns="http://maven.apache.org/POM/4.0.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 	<modelVersion>4.0.0</modelVersion>
 	<parent>
 		<groupId>o2oa</groupId>
@@ -58,6 +61,9 @@
 							<addClasspath>false</addClasspath>
 							<mainClass>com.x.server.console.Main</mainClass>
 						</manifest>
+						<manifestEntries>
+							<Premain-Class>com.x.server.console.InstrumentationAgent</Premain-Class>
+						</manifestEntries>
 					</archive>
 				</configuration>
 			</plugin>