123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <?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>net.o2oa</groupId>
- <artifactId>o2help_sso</artifactId>
- <version>7.3</version>
- </parent>
- <artifactId>x_sso_assemble_control</artifactId>
- <packaging>war</packaging>
- <dependencies>
- <dependency>
- <groupId>net.o2oa</groupId>
- <artifactId>x_base_core_project</artifactId>
- </dependency>
- <dependency>
- <groupId>net.o2oa</groupId>
- <artifactId>x_organization_core_entity</artifactId>
- </dependency>
- <dependency>
- <groupId>net.o2oa</groupId>
- <artifactId>x_organization_core_express</artifactId>
- </dependency>
- <dependency>
- <groupId>net.o2oa</groupId>
- <artifactId>x_sso_core_entity</artifactId>
- <version>7.3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpmime</artifactId>
- <version>4.5.13</version>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- <version>1.69</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>DescribeWoBuilder</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.DescribeWoBuilder</mainClass>
- <arguments>
- <argument>${basedir}</argument>
- <argument>${project.build.sourceDirectory}</argument>
- </arguments>
- </configuration>
- </execution>
- <execution>
- <id>describeBuilder</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.DescribeBuilder</mainClass>
- <arguments>
- <argument>${basedir}</argument>
- <argument>${project.build.sourceDirectory}</argument>
- </arguments>
- </configuration>
- </execution>
- <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>
- <execution>
- <id>checkAssemble</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.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>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-war</id>
- <phase>verify</phase>
- <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>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.2.3</version>
- <executions>
- <execution>
- <id>default-war</id>
- <phase>package</phase>
- <goals>
- <goal>war</goal>
- </goals>
- <configuration>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- </archive>
- <packagingExcludes>persistence.xml,WEB-INF/lib/**,META-INF</packagingExcludes>
- <failOnMissingWebXml>false</failOnMissingWebXml>
- <webResources>
- <resource>
- <directory>ext</directory>
- <targetPath>WEB-INF/ext</targetPath>
- </resource>
- </webResources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|