• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<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">
3  <modelVersion>4.0.0</modelVersion>
4  <parent>
5    <groupId>org.objenesis</groupId>
6    <artifactId>objenesis-parent</artifactId>
7    <version>2.0-SNAPSHOT</version>
8  </parent>
9  <artifactId>objenesis</artifactId>
10
11  <name>Objenesis</name>
12  <description>A library for instantiating Java objects</description>
13  <url>http://objenesis.org</url>
14
15  <dependencies />
16
17  <build>
18    <plugins>
19      <plugin>
20        <groupId>com.keyboardsamurais.maven</groupId>
21        <artifactId>maven-timestamp-plugin</artifactId>
22      </plugin>
23      <plugin>
24        <groupId>com.google.code.maven-license-plugin</groupId>
25        <artifactId>maven-license-plugin</artifactId>
26      </plugin>
27      <plugin>
28        <groupId>org.apache.maven.plugins</groupId>
29        <artifactId>maven-remote-resources-plugin</artifactId>
30      </plugin>
31      <plugin>
32        <groupId>org.apache.felix</groupId>
33        <artifactId>maven-bundle-plugin</artifactId>
34        <extensions>true</extensions>
35        <configuration>
36          <instructions>
37            <Import-Package>
38            COM.jrockit.reflect;resolution:=optional,
39            jrockit.vm;resolution:=optional,
40            COM.newmonics.PercClassloader;resolution:=optional,
41            sun.reflect;resolution:=optional
42            </Import-Package>
43          </instructions>
44        </configuration>
45      </plugin>
46    </plugins>
47  </build>
48
49  <profiles>
50    <profile>
51      <!-- Activate to create the release bundle -->
52      <id>release</id>
53      <build>
54        <plugins>
55          <plugin>
56            <groupId>org.apache.maven.plugins</groupId>
57            <artifactId>maven-assembly-plugin</artifactId>
58            <configuration>
59              <attach>false</attach>
60              <descriptors>
61                <descriptor>assembly.xml</descriptor>
62              </descriptors>
63            </configuration>
64            <executions>
65              <execution>
66                <id>make-assembly</id>
67                <phase>package</phase>
68                <goals>
69                  <goal>single</goal>
70                </goals>
71              </execution>
72            </executions>
73          </plugin>
74        </plugins>
75      </build>
76    </profile>
77  </profiles>
78</project>
79