• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<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">
2  <parent>
3    <groupId>org.eclipse.ee4j</groupId>
4    <artifactId>project</artifactId>
5    <version>1.0.6</version>
6    <relativePath />
7  </parent>
8
9  <modelVersion>4.0.0</modelVersion>
10  <groupId>jakarta.inject</groupId>
11  <artifactId>jakarta.inject-api</artifactId>
12  <packaging>jar</packaging>
13  <name>Jakarta Dependency Injection</name>
14  <version>2.0.1</version>
15  <description>Jakarta Dependency Injection</description>
16  <url>https://github.com/eclipse-ee4j/injection-api</url>
17  <licenses>
18    <license>
19      <name>The Apache Software License, Version 2.0</name>
20      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
21      <distribution>repo</distribution>
22    </license>
23  </licenses>
24  <scm>
25    <connection>scm:git:ssh://git@github.com/eclipse-ee4j/injection-api.git</connection>
26    <developerConnection>scm:git:ssh://git@github.com/eclipse-ee4j/injection-api.git</developerConnection>
27    <url>https://github.com/eclipse-ee4j/injection-api</url>
28    <tag>2.0.1</tag>
29  </scm>
30
31  <developers>
32    <developer>
33      <name>Antoine Sabot-Durand</name>
34      <id>asabotdu</id>
35      <timezone>CET</timezone>
36      <organization>Red Hat Inc.</organization>
37      <roles>
38        <role>Specfication Lead</role>
39      </roles>
40      <email>asd[at]redhat[dot]com</email>
41    </developer>
42
43    <developer>
44      <name>Martin Kouba</name>
45      <id>mkouba</id>
46      <organization>Red Hat Inc.</organization>
47      <roles>
48        <role>RI tech lead</role>
49      </roles>
50      <email>mkouba[at]redhat[dot]com</email>
51    </developer>
52
53    <developer>
54      <name>Tomas Remes</name>
55      <id>tremes</id>
56      <organization>Red Hat Inc.</organization>
57      <roles>
58        <role>TCK tech lead</role>
59      </roles>
60      <email>tremes[at]redhat[dot]com</email>
61    </developer>
62
63    <developer>
64      <name>Matej Novotny</name>
65      <id>manovotn</id>
66      <organization>Red Hat Inc.</organization>
67      <roles>
68        <role>TCK and RI developer</role>
69      </roles>
70      <email>manovotn[at]redhat[dot]com</email>
71    </developer>
72  </developers>
73
74  <properties>
75    <packages.export>jakarta.inject.*</packages.export>
76    <spec_version>2.0</spec_version>
77  </properties>
78
79  <build>
80    <resources>
81      <resource>
82        <directory>${project.basedir}</directory>
83        <includes>
84          <include>LICENSE.txt</include>
85          <include>NOTICE.md</include>
86        </includes>
87        <targetPath>META-INF</targetPath>
88      </resource>
89    </resources>
90
91    <plugins>
92      <plugin>
93        <groupId>org.apache.maven.plugins</groupId>
94        <artifactId>maven-source-plugin</artifactId>
95        <version>3.2.1</version>
96      </plugin>
97      <plugin>
98        <groupId>org.apache.maven.plugins</groupId>
99        <artifactId>maven-javadoc-plugin</artifactId>
100        <version>3.3.0</version>
101        <configuration>
102          <docfilessubdirs>true</docfilessubdirs>
103          <description>Jakarta Dependency Injection API</description>
104          <doctitle>Jakarta Dependency Injection API</doctitle>
105          <windowtitle>Jakarta Dependency Injection API</windowtitle>
106          <header><![CDATA[<br>Jakarta Dependency Injection ${project.version}]]>
107          </header>
108          <bottom><![CDATA[
109Comments to: <a href="mailto:cdi-dev@eclipse.org">cdi-dev@eclipse.org</a>.<br>
110Copyright &#169; 2018,2020 Eclipse Foundation.<br>
111Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
112          </bottom>
113        </configuration>
114
115        <executions>
116          <execution>
117            <id>attach-javadocs</id>
118            <goals>
119              <goal>jar</goal>
120            </goals>
121          </execution>
122        </executions>
123      </plugin>
124      <plugin>
125        <groupId>org.apache.maven.plugins</groupId>
126        <artifactId>maven-jar-plugin</artifactId>
127        <version>3.2.0</version>
128        <configuration>
129          <archive>
130            <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
131          </archive>
132        </configuration>
133      </plugin>
134      <plugin>
135        <groupId>org.apache.felix</groupId>
136        <artifactId>maven-bundle-plugin</artifactId>
137        <version>4.2.1</version>
138        <configuration>
139          <instructions>
140            <Implementation-Version>${spec_version}</Implementation-Version>
141          </instructions>
142        </configuration>
143        <executions>
144          <execution>
145            <id>osgi-manifest</id>
146            <phase>process-classes</phase>
147            <goals>
148              <goal>manifest</goal>
149            </goals>
150          </execution>
151        </executions>
152      </plugin>
153      <!--
154      Use the JDK 9+ compiler but with -source 1.8 for all
155      but the module-info.java file.
156      -->
157      <plugin>
158        <artifactId>maven-compiler-plugin</artifactId>
159        <version>3.8.1</version>
160        <!-- This is the common/default-compile execution configuration -->
161        <configuration>
162          <release>9</release>
163          <compilerArgs>
164            <arg>-Xlint:all</arg>
165          </compilerArgs>
166          <showDeprecation>true</showDeprecation>
167          <showWarnings>true</showWarnings>
168        </configuration>
169        <executions>
170          <!-- This runs after the default-compile execution to rebuild with 8 -->
171          <execution>
172            <id>base-compile</id>
173            <goals>
174              <goal>compile</goal>
175            </goals>
176            <configuration>
177              <release>8</release>
178              <excludes>
179                <exclude>module-info.java</exclude>
180              </excludes>
181            </configuration>
182          </execution>
183        </executions>
184      </plugin>
185    </plugins>
186  </build>
187
188</project>
189