• 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.5</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  <build>
16    <plugins>
17      <plugin>
18        <artifactId>maven-jar-plugin</artifactId>
19        <configuration>
20          <archive>
21            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
22          </archive>
23        </configuration>
24      </plugin>
25      <plugin>
26        <groupId>com.keyboardsamurais.maven</groupId>
27        <artifactId>maven-timestamp-plugin</artifactId>
28      </plugin>
29      <plugin>
30        <groupId>com.mycila.maven-license-plugin</groupId>
31        <artifactId>maven-license-plugin</artifactId>
32      </plugin>
33      <plugin>
34        <artifactId>maven-remote-resources-plugin</artifactId>
35      </plugin>
36      <plugin>
37        <groupId>org.apache.felix</groupId>
38        <artifactId>maven-bundle-plugin</artifactId>
39        <extensions>true</extensions>
40        <configuration>
41          <instructions>
42            <Import-Package>
43            COM.newmonics.PercClassloader;resolution:=optional,
44            sun.misc;resolution:=optional,
45            sun.reflect;resolution:=optional
46            </Import-Package>
47          </instructions>
48        </configuration>
49        <executions>
50          <execution>
51            <id>bundle-manifest</id>
52            <phase>process-classes</phase>
53            <goals>
54              <goal>manifest</goal>
55            </goals>
56          </execution>
57        </executions>
58      </plugin>
59    </plugins>
60  </build>
61
62  <profiles>
63    <profile>
64      <!-- Activate to create the release bundle -->
65      <id>release</id>
66      <build>
67        <plugins>
68          <plugin>
69            <artifactId>maven-assembly-plugin</artifactId>
70            <configuration>
71              <attach>false</attach>
72              <descriptors>
73                <descriptor>assembly.xml</descriptor>
74              </descriptors>
75            </configuration>
76            <executions>
77              <execution>
78                <id>make-assembly</id>
79                <phase>package</phase>
80                <goals>
81                  <goal>single</goal>
82                </goals>
83              </execution>
84            </executions>
85          </plugin>
86        </plugins>
87      </build>
88    </profile>
89  </profiles>
90</project>
91