7474 <properties >
7575 <packages .export>javax.inject.*</packages .export>
7676 <spec_version >1.1</spec_version >
77+ <maven .compiler.source>1.8</maven .compiler.source>
78+ <maven .compiler.target>1.8</maven .compiler.target>
7779 </properties >
7880
7981 <build >
8991 </resources >
9092
9193 <plugins >
92- <plugin >
93- <groupId >org.apache.maven.plugins</groupId >
94- <artifactId >maven-jar-plugin</artifactId >
95- <configuration >
96- <archive >
97- <manifestEntries >
98- <Automatic-Module-Name >java.inject</Automatic-Module-Name >
99- </manifestEntries >
100- </archive >
101- </configuration >
102- </plugin >
10394 <plugin >
10495 <groupId >org.apache.maven.plugins</groupId >
10596 <artifactId >maven-source-plugin</artifactId >
106- <version >3.2.1</version >
10797 </plugin >
10898 <plugin >
10999 <groupId >org.apache.maven.plugins</groupId >
110100 <artifactId >maven-javadoc-plugin</artifactId >
111- <version >3.2.0</version >
112101 <configuration >
113102 <docfilessubdirs >true</docfilessubdirs >
114103 <description >Jakarta Dependency Injection API</description >
118107 </header >
119108 <bottom ><![CDATA[
120109Comments to: <a href="mailto:cdi-dev@eclipse.org">cdi-dev@eclipse.org</a>.<br>
121- Copyright © 2019 Eclipse Foundation.<br>
110+ Copyright © 2018,2020 Eclipse Foundation.<br>
122111Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
123112 </bottom >
124113 </configuration >
@@ -133,31 +122,51 @@ Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">
133122 </executions >
134123 </plugin >
135124 <plugin >
136- <groupId >org.apache.maven.plugins</groupId >
137- <artifactId >maven-jar-plugin</artifactId >
125+ <groupId >org.apache.maven.plugins</groupId >
126+ <artifactId >maven-jar-plugin</artifactId >
138127 <version >3.2.0</version >
139- <configuration >
140- <archive >
141- <manifestFile >target/classes/META-INF/MANIFEST.MF</manifestFile >
142- </archive >
143- </configuration >
128+ <configuration >
129+ <archive >
130+ <manifestFile >target/classes/META-INF/MANIFEST.MF</manifestFile >
131+ </archive >
132+ </configuration >
144133 </plugin >
145134 <plugin >
146- <groupId >org.apache.felix</groupId >
147- <artifactId >maven-bundle-plugin</artifactId >
148- <version >4.2.1</version >
149- <configuration >
150- <instructions >
151- <Implementation-Version >${spec_version} </Implementation-Version >
152- </instructions >
153- </configuration >
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+ <plugin >
154+ <groupId >org.moditect</groupId >
155+ <artifactId >moditect-maven-plugin</artifactId >
156+ <version >1.0.0.RC1</version >
154157 <executions >
155158 <execution >
156- <id >osgi-manifest </id >
157- <phase >process-classes </phase >
159+ <id >add-module-infos </id >
160+ <phase >package </phase >
158161 <goals >
159- <goal >manifest </goal >
162+ <goal >add-module-info </goal >
160163 </goals >
164+ <configuration >
165+ <jvmVersion >9</jvmVersion >
166+ <module >
167+ <moduleInfoFile >src/main/java9/module-info.java</moduleInfoFile >
168+ </module >
169+ </configuration >
161170 </execution >
162171 </executions >
163172 </plugin >
0 commit comments