|
8 | 8 | <version>9.0.108-SNAPSHOT</version> |
9 | 9 | </parent> |
10 | 10 | <artifactId>apache-el</artifactId> |
11 | | - <packaging>jar</packaging> |
12 | | - <name>MortBay :: Apache EL :: API and Implementation</name> |
13 | | - |
14 | | - <dependencies> |
15 | | - <dependency> |
16 | | - <groupId>javax.servlet</groupId> |
17 | | - <artifactId>javax.servlet-api</artifactId> |
18 | | - <version>4.0.1</version> |
19 | | - <optional>true</optional> |
20 | | - </dependency> |
21 | | - <dependency> |
22 | | - <groupId>org.apache.tomcat</groupId> |
23 | | - <artifactId>tomcat-jasper-el</artifactId> |
24 | | - <version>${tomcat.version}</version> |
25 | | - <optional>true</optional> |
26 | | - </dependency> |
27 | | - |
28 | | - </dependencies> |
29 | | - |
30 | | - <build> |
31 | | - <plugins> |
32 | | - |
33 | | - <plugin> |
34 | | - <groupId>org.apache.felix</groupId> |
35 | | - <artifactId>maven-bundle-plugin</artifactId> |
36 | | - <extensions>true</extensions> |
37 | | - <configuration> |
38 | | - <instructions> |
39 | | - <Automatic-Module-Name>org.mortbay.apache.el</Automatic-Module-Name> |
40 | | - <Bundle-Name>Mortbay Apache EL API and Implementation</Bundle-Name> |
41 | | - <Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment> |
42 | | - <Bundle-Classpath>.</Bundle-Classpath> |
43 | | - <Bundle-Version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</Bundle-Version> |
44 | | - <Specification-Version>3.0</Specification-Version> |
45 | | - <Implementation-Version>${tomcat.version}</Implementation-Version> |
46 | | - <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
47 | | - <Export-Package>!javax.servlet.*, |
48 | | - javax.el;version="3.0", |
49 | | - org.apache.el;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", |
50 | | - org.apache.el.lang;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", |
51 | | - org.apache.el.stream;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", |
52 | | - org.apache.el.parser;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", |
53 | | - org.apache.el.util;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</Export-Package> |
54 | | - <Import-Package>javax.el;version="3.0", |
55 | | - org.apache.el;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", |
56 | | - org.apache.el.lang;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", |
57 | | - org.apache.el.stream;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", |
58 | | - org.apache.el.parser;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", |
59 | | - org.apache.el.util;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</Import-Package> |
60 | | - <_nouses>true</_nouses> |
61 | | - <_contract>!JavaEL</_contract> |
62 | | - </instructions> |
63 | | - </configuration> |
64 | | - <executions> |
65 | | - <execution> |
66 | | - <id>bundle-manifest</id> |
67 | | - <goals> |
68 | | - <goal>manifest</goal> |
69 | | - </goals> |
70 | | - <phase>process-classes</phase> |
71 | | - </execution> |
72 | | - </executions> |
73 | | - </plugin> |
74 | | - <plugin> |
75 | | - <groupId>org.apache.maven.plugins</groupId> |
76 | | - <artifactId>maven-dependency-plugin</artifactId> |
77 | | - <executions> |
78 | | - <execution> |
79 | | - <id>unpack-source</id> |
80 | | - <goals> |
81 | | - <goal>unpack-dependencies</goal> |
82 | | - </goals> |
83 | | - <phase>generate-sources</phase> |
84 | | - <configuration> |
85 | | - <excludeArtifactIds>javax.servlet-api</excludeArtifactIds> |
86 | | - <classifier>sources</classifier> |
87 | | - <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> |
88 | | - <outputDirectory>${project.build.directory}/sources</outputDirectory> |
89 | | - </configuration> |
90 | | - </execution> |
91 | | - </executions> |
92 | | - </plugin> |
93 | | - <plugin> |
94 | | - <groupId>org.apache.maven.plugins</groupId> |
95 | | - <artifactId>maven-jar-plugin</artifactId> |
96 | | - <executions> |
97 | | - <execution> |
98 | | - <id>sources-jar</id> |
99 | | - <goals> |
100 | | - <goal>jar</goal> |
101 | | - </goals> |
102 | | - <phase>package</phase> |
103 | | - <configuration> |
104 | | - <classifier>sources</classifier> |
105 | | - <classesDirectory>${project.build.directory}/sources</classesDirectory> |
106 | | - <forceCreation>true</forceCreation> |
107 | | - <useDefaultManifestFile>false</useDefaultManifestFile> |
108 | | - <excludes> |
109 | | - <exclude>*.java</exclude> |
110 | | - </excludes> |
111 | | - <archive> |
112 | | - <manifestEntries> |
113 | | - <Automatic-Module-Name>org.mortbay.apache.el.sources</Automatic-Module-Name> |
114 | | - <Bundle-Name>Mortbay Apache EL API and Implementation Sources</Bundle-Name> |
115 | | - </manifestEntries> |
116 | | - </archive> |
117 | | - </configuration> |
118 | | - </execution> |
119 | | - </executions> |
120 | | - </plugin> |
121 | | - |
122 | | - <plugin> |
123 | | - <groupId>org.apache.maven.plugins</groupId> |
124 | | - <artifactId>maven-shade-plugin</artifactId> |
125 | | - <executions> |
126 | | - <execution> |
127 | | - <goals> |
128 | | - <goal>shade</goal> |
129 | | - </goals> |
130 | | - <phase>package</phase> |
131 | | - <configuration> |
132 | | - <createSourcesJar>false</createSourcesJar> |
133 | | - <shadeSourcesContent>false</shadeSourcesContent> |
134 | | - <createDependencyReducedPom>false</createDependencyReducedPom> |
135 | | - <filters> |
136 | | - <filter> |
137 | | - <artifact>*:*</artifact> |
138 | | - <includes> |
139 | | - <include>javax/el/**</include> |
140 | | - <include>org/apache/el/**</include> |
141 | | - <include>META-INF/NOTICE</include> |
142 | | - <include>META-INF/LICENSE</include> |
143 | | - </includes> |
144 | | - </filter> |
145 | | - </filters> |
146 | | - <transformers> |
147 | | - <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> |
148 | | - <resource>META-INF/MANIFEST.MF</resource> |
149 | | - <file>target/classes/META-INF/MANIFEST.MF</file> |
150 | | - </transformer> |
151 | | - </transformers> |
152 | | - </configuration> |
153 | | - </execution> |
154 | | - </executions> |
155 | | - </plugin> |
156 | | - |
157 | | - <plugin> |
158 | | - <groupId>org.codehaus.mojo</groupId> |
159 | | - <artifactId>build-helper-maven-plugin</artifactId> |
160 | | - <executions> |
161 | | - <execution> |
162 | | - <id>set-osgi-version</id> |
163 | | - <goals> |
164 | | - <goal>parse-version</goal> |
165 | | - </goals> |
166 | | - <phase>validate</phase> |
167 | | - </execution> |
168 | | - <execution> |
169 | | - <id>add-source</id> |
170 | | - <goals> |
171 | | - <goal>add-source</goal> |
172 | | - </goals> |
173 | | - <phase>generate-sources</phase> |
174 | | - <configuration> |
175 | | - <sources> |
176 | | - <source>${project.build.directory}/sources</source> |
177 | | - </sources> |
178 | | - </configuration> |
179 | | - </execution> |
180 | | - </executions> |
181 | | - </plugin> |
182 | | - |
183 | | - </plugins> |
184 | | - </build> |
| 11 | + <packaging>pom</packaging> |
| 12 | + <name>Relocated MortBay :: Apache EL :: API and Implementation</name> |
| 13 | + |
| 14 | + <distributionManagement> |
| 15 | + <relocation> |
| 16 | + <groupId>org.mortbay.jasper</groupId> |
| 17 | + <artifactId>mortbay-apache-el</artifactId> |
| 18 | + <version>${project.version}</version> |
| 19 | + <message>This artifact has been relocated to org.mortbay.jasper:mortbay-apache-el |
| 20 | + Please update your dependencies accordingly.</message> |
| 21 | + </relocation> |
| 22 | + </distributionManagement> |
185 | 23 |
|
186 | 24 | </project> |
0 commit comments