| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>cn.vbdsm</groupId>
- <artifactId>vbdsm-api</artifactId>
- <version>2.0.0</version>
- <distributionManagement>
- <repository>
- <id>vbpdsm-releases</id>
- <name>Releases</name>
- <url>http://shvber.com:8881/repository/vbpdsm-releases/</url>
- </repository>
- <snapshotRepository>
- <id>vbpdsm-snapshots</id>
- <name>Snapshot</name>
- <url>http://shvber.com:8881/repository/vbpdsm-snapshots/</url>
- </snapshotRepository>
- </distributionManagement>
- <repositories>
- <repository>
- <id>vbpdsm</id>
- <name>vbpdsm Repository</name>
- <url>http://shvber.com:8881/repository/vbpdsm/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- <profiles>
- <profile>
- <id>local</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <package.environment>local</package.environment>
- </properties>
- </profile>
- <profile>
- <id>test</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <package.environment>test</package.environment>
- </properties>
- </profile>
- <profile>
- <id>product</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <package.environment>product</package.environment>
- </properties>
- </profile>
- </profiles>
- <properties>
- <core.common.version>1.0</core.common.version>
- <spring.version>3.1.2.RELEASE</spring.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <version>1.0</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>${artifactId}</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <!-- here the phase you need -->
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <encoding>UTF-8</encoding>
- <outputDirectory>${basedir}/target/classes</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/resources/${package.environment}</directory>
- <includes>
- <include>**/*.*</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <groupId>org.apache.maven.plugins</groupId>
- <version>2.2-beta-2</version>
- <configuration>
- <finalName>${project.artifactId}</finalName>
- <descriptors>
- <descriptor>src/main/assembly/distribution.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|