| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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/xsd/maven-4.0.0.xsd"> |
| <parent> |
| <artifactId>knights</artifactId> |
| <groupId>org.apache.geronimo.arthur.knights</groupId> |
| <version>1.0.7-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>openwebbeans-knight</artifactId> |
| <name>Arthur :: Knights :: OpenWebBeans</name> |
| |
| <properties> |
| <geronimo-arthur.shortname>knight.openwebbeans</geronimo-arthur.shortname> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.arthur</groupId> |
| <artifactId>arthur-spi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jcdi_2.0_spec</artifactId> |
| <version>1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-el_2.2_spec</artifactId> |
| <version>1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-annotation_1.3_spec</artifactId> |
| <version>1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-atinject_1.0_spec</artifactId> |
| <version>1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-interceptor_1.2_spec</artifactId> |
| <version>1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-se</artifactId> |
| <version>2.0.26</version> |
| </dependency> |
| <dependency> |
| <groupId>org.graalvm.nativeimage</groupId> |
| <artifactId>svm</artifactId> |
| <version>${graalvm.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>3.2.4</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>jakarta</shadedClassifierName> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <artifactSet> <!-- don't include transitive deps --> |
| <includes> |
| <include>${project.groupId}:${project.artifactId}</include> |
| </includes> |
| </artifactSet> |
| <relocations> |
| <relocation> |
| <pattern>javax.inject</pattern> |
| <shadedPattern>jakarta.inject</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>javax.interceptor</pattern> |
| <shadedPattern>jakarta.interceptor</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>javax.enterprise</pattern> |
| <shadedPattern>jakarta.enterprise</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>javax.annotation</pattern> |
| <shadedPattern>jakarta.annotation</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |