| <?xml version="1.0" encoding="UTF-8"?> |
| <project |
| xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| |
| <parent> |
| <groupId>org.eclipse.virgo</groupId> |
| <artifactId>greenpages.parent</artifactId> |
| <version>2.5.0.RELEASE</version> |
| <relativePath>../greenpages.parent</relativePath> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>greenpages</artifactId> |
| <name>greenpages.par</name> |
| <description>GreenPages PAR</description> |
| <packaging>par</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.virgo</groupId> |
| <artifactId>greenpages.core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.virgo</groupId> |
| <artifactId>greenpages.jpa</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.virgo</groupId> |
| <artifactId>greenpages.db</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.virgo</groupId> |
| <artifactId>greenpages.web</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- Needs to be included in the PAR so that its classes are loadable via the PAR's synthetic context class loader --> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>com.springsource.org.h2</artifactId> |
| </dependency> |
| <!-- Required for the web bundle as dependencies are not propagated up from war build types --> |
| <dependency> |
| <groupId>org.freemarker</groupId> |
| <artifactId>com.springsource.freemarker</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-par-plugin</artifactId> |
| <version>1.0.0.RELEASE</version> |
| <configuration> |
| <applicationSymbolicName>greenpages</applicationSymbolicName> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <configuration> |
| <outputDirectory>${project.build.directory}/par-provided</outputDirectory> |
| <overWriteIfNewer>true</overWriteIfNewer> |
| <excludeGroupIds>org.eclipse.virgo,org.apache.log4j</excludeGroupIds> |
| </configuration> |
| <executions> |
| <execution> |
| <id>copy-dependencies</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |