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
o2sword 已提交
10
		<version>6.2</version>
R
roo00 已提交
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
	</parent>
	<artifactId>x_cms_core_entity</artifactId>
	<packaging>jar</packaging>
	<dependencies>
		<dependency>
			<groupId>o2oa</groupId>
			<artifactId>x_base_core_project</artifactId>
		</dependency>
		<dependency>
			<groupId>o2oa</groupId>
			<artifactId>x_query_core_entity</artifactId>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<plugin>
R
roo00 已提交
27 28
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
R
roo00 已提交
29
				<executions>
hlwwx's avatar
hlwwx 已提交
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
					<execution>
						<id>TableBuilder</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.TableBuilder</mainClass>
							<arguments>
								<argument>${basedir}</argument>
								<argument>${project.build.sourceDirectory}</argument>
							</arguments>
						</configuration>
					</execution>
R
roo00 已提交
47
					<execution>
R
roo00 已提交
48
						<id>metaModelBuilder</id>
R
roo00 已提交
49
						<phase>generate-sources</phase>
R
roo00 已提交
50 51 52 53 54 55 56 57 58 59 60 61 62 63
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<addOutputToClasspath>true</addOutputToClasspath>
							<includePluginDependencies>true</includePluginDependencies>
							<includeProjectDependencies>true</includeProjectDependencies>
							<mainClass>com.x.base.core.entity.tools.MetaModelBuilder</mainClass>
							<arguments>
								<argument>${basedir}</argument>
								<argument>${project.build.sourceDirectory}</argument>
								<argument>${project.build.outputDirectory}</argument>
							</arguments>
						</configuration>
R
roo00 已提交
64 65
					</execution>
					<execution>
R
roo00 已提交
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
						<id>enhanceBuilder</id>
						<phase>process-classes</phase>
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<addOutputToClasspath>true</addOutputToClasspath>
							<includePluginDependencies>true</includePluginDependencies>
							<includeProjectDependencies>true</includeProjectDependencies>
							<mainClass>com.x.base.core.entity.tools.EnhanceBuilder</mainClass>
							<arguments>
								<argument>${project.build.directory}</argument>
								<argument>${project.build.outputDirectory}</argument>
							</arguments>
						</configuration>
R
roo00 已提交
81
					</execution>
R
fix  
roo00 已提交
82 83 84
					<execution>
						<id>checkCore</id>
						<phase>prepare-package</phase>
R
roo00 已提交
85 86 87 88 89 90 91 92 93
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<addOutputToClasspath>true</addOutputToClasspath>
							<includePluginDependencies>true</includePluginDependencies>
							<includeProjectDependencies>true</includeProjectDependencies>
							<mainClass>com.x.base.core.project.build.CheckCore</mainClass>
						</configuration>
R
fix  
roo00 已提交
94
					</execution>
R
roo00 已提交
95 96 97
				</executions>
			</plugin>
			<plugin>
R
roo00 已提交
98 99
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
R
roo00 已提交
100 101
				<executions>
					<execution>
R
roo00 已提交
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
						<id>copy-jar</id>
						<phase>verify</phase>
						<goals>
							<goal>copy-resources</goal>
						</goals>
						<configuration>
							<outputDirectory>../store/jars</outputDirectory>
							<resources>
								<resource>
									<directory>target</directory>
									<includes>
										<include>${project.artifactId}.jar</include>
									</includes>
								</resource>
							</resources>
						</configuration>
R
roo00 已提交
118 119 120 121
					</execution>
				</executions>
			</plugin>
			<plugin>
R
roo00 已提交
122
				<artifactId>maven-compiler-plugin</artifactId>
R
roo00 已提交
123 124
				<executions>
					<execution>
R
roo00 已提交
125 126 127 128
						<phase>initialize</phase>
						<goals>
							<goal>compile</goal>
						</goals>
R
roo00 已提交
129 130 131 132 133
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
O
o2sword 已提交
134
</project>