pom.xml 4.0 KB
Newer Older
R
roo00 已提交
1 2 3 4 5 6 7 8 9
<?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">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>o2oa</groupId>
		<artifactId>o2server</artifactId>
O
o2null 已提交
10
		<version>6.4</version>
R
roo00 已提交
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
	</parent>
	<artifactId>x_mind_assemble_control</artifactId>
	<packaging>war</packaging>
	<dependencies>
		<dependency>
			<groupId>o2oa</groupId>
			<artifactId>x_base_core_project</artifactId>
		</dependency>
		<dependency>
			<groupId>o2oa</groupId>
			<artifactId>x_organization_core_express</artifactId>
		</dependency>
		<dependency>
			<groupId>o2oa</groupId>
			<artifactId>x_mind_core_entity</artifactId>
		</dependency>
O
o2sword 已提交
27 28 29 30
		<dependency>
			<groupId>o2oa</groupId>
			<artifactId>x_general_core_entity</artifactId>
		</dependency>
R
roo00 已提交
31 32 33 34
	</dependencies>
	<build>
		<plugins>
			<plugin>
R
roo00 已提交
35 36
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
R
roo00 已提交
37 38
				<executions>
					<execution>
R
roo00 已提交
39
						<id>describeBuilder</id>
R
roo00 已提交
40
						<phase>prepare-package</phase>
R
roo00 已提交
41 42 43 44 45 46 47 48 49 50 51 52 53
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<addOutputToClasspath>true</addOutputToClasspath>
							<includePluginDependencies>true</includePluginDependencies>
							<includeProjectDependencies>true</includeProjectDependencies>
							<mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
							<arguments>
								<argument>${basedir}</argument>
								<argument>${project.build.sourceDirectory}</argument>
							</arguments>
						</configuration>
R
roo00 已提交
54
					</execution>
R
update  
roo00 已提交
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
					<execution>
						<id>apiBuilder</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<addOutputToClasspath>true</addOutputToClasspath>
							<includePluginDependencies>true</includePluginDependencies>
							<includeProjectDependencies>true</includeProjectDependencies>
							<mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
							<arguments>
								<argument>${basedir}</argument>
								<argument>${project.build.sourceDirectory}</argument>
							</arguments>
						</configuration>
					</execution>
R
fix  
roo00 已提交
72 73 74
					<execution>
						<id>checkAssemble</id>
						<phase>prepare-package</phase>
R
roo00 已提交
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<addOutputToClasspath>true</addOutputToClasspath>
							<includePluginDependencies>true</includePluginDependencies>
							<includeProjectDependencies>true</includeProjectDependencies>
							<mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
						</configuration>
					</execution>
					<execution>
						<id>createWebXml</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<addOutputToClasspath>true</addOutputToClasspath>
							<includePluginDependencies>true</includePluginDependencies>
							<includeProjectDependencies>true</includeProjectDependencies>
							<mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
							<arguments>
								<argument>${basedir}</argument>
								<argument>${project.artifactId}</argument>
							</arguments>
						</configuration>
R
fix  
roo00 已提交
101
					</execution>
R
roo00 已提交
102 103 104 105 106 107 108 109
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-resources-plugin</artifactId>
				<executions>
					<execution>
						<id>copy-war</id>
						<phase>verify</phase>
R
roo00 已提交
110 111 112 113 114 115 116 117 118 119 120 121 122 123
						<goals>
							<goal>copy-resources</goal>
						</goals>
						<configuration>
							<outputDirectory>../store</outputDirectory>
							<resources>
								<resource>
									<directory>target</directory>
									<includes>
										<include>${project.artifactId}.war</include>
									</includes>
								</resource>
							</resources>
						</configuration>
R
roo00 已提交
124 125 126
					</execution>
				</executions>
			</plugin>
O
o2sword 已提交
127 128 129 130 131 132
			<plugin>
				<artifactId>maven-deploy-plugin</artifactId>
				<configuration>
					<skip>true</skip>
				</configuration>
			</plugin>
R
roo00 已提交
133 134 135
		</plugins>
	</build>
</project>