| <?xml version="1.0"?> |
| <!-- |
| 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>atomos-parent</artifactId> |
| <version>1.0.1-SNAPSHOT</version> |
| <relativePath>../atomos-parent/pom.xml</relativePath> |
| </parent> |
| <groupId>org.apache.felix.atomos</groupId> |
| <packaging>jar</packaging> |
| <artifactId>osgi.core</artifactId> |
| <version>8.0.1-SNAPSHOT</version> |
| <name>osgi.core</name> |
| <scm> |
| <connection>scm:git:https://github.com/apache/felix-atomos.git</connection> |
| <developerConnection>scm:git:https://github.com/apache/felix-atomos.git</developerConnection> |
| <url>https://github.com/apache/felix-atomos</url> |
| <tag>HEAD</tag> |
| </scm> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.moditect</groupId> |
| <artifactId>moditect-maven-plugin</artifactId> |
| <version>1.0.0.RC1</version> |
| <executions> |
| <execution> |
| <id>add-module-infos-equinox</id> |
| <phase>package</phase> |
| <goals> |
| <goal>add-module-info</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/modules/equinox</outputDirectory> |
| <overwriteExistingFiles>true</overwriteExistingFiles> |
| <modules> |
| <module> |
| <file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file> |
| <moduleInfoSource> |
| module osgi.core |
| { |
| requires transitive org.eclipse.osgi; |
| } |
| </moduleInfoSource> |
| </module> |
| </modules> |
| </configuration> |
| </execution> |
| <execution> |
| <id>add-module-infos-felix</id> |
| <phase>package</phase> |
| <goals> |
| <goal>add-module-info</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/modules/felix</outputDirectory> |
| <overwriteExistingFiles>true</overwriteExistingFiles> |
| <modules> |
| <module> |
| <file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file> |
| <moduleInfoSource> |
| module osgi.core |
| { |
| requires transitive org.apache.felix.framework; |
| } |
| </moduleInfoSource> |
| </module> |
| </modules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>3.2.0</version> |
| <executions> |
| <execution> |
| <id>attach-artifacts</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifact> |
| <file>${project.build.directory}/modules/felix/${project.artifactId}-${project.version}.jar</file> |
| <type>jar</type> |
| <classifier>AtomosFelix</classifier> |
| </artifact> |
| <artifact> |
| <file>${project.build.directory}/modules/equinox/${project.artifactId}-${project.version}.jar</file> |
| <type>jar</type> |
| <classifier>AtomosEquinox</classifier> |
| </artifact> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |