| <!-- |
| 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/maven-v4_0_0.xsd"> |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix-parent</artifactId> |
| <version>5</version> |
| <relativePath>../pom/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>bundle</packaging> |
| <name>Apache Felix Main</name> |
| <artifactId>org.apache.felix.main</artifactId> |
| <version>6.1.0-SNAPSHOT</version> |
| <scm> |
| <connection>scm:git:https://github.com/apache/felix-dev.git</connection> |
| <developerConnection>scm:git:https://github.com/apache/felix-dev.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=felix-dev.git</url> |
| </scm> |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.apache.felix.framework</artifactId> |
| <version>6.1.0-SNAPSHOT</version> |
| </dependency> |
| </dependencies> |
| <properties> |
| <log.level>4</log.level> |
| <dollar>$</dollar> |
| <gogo.runtime.version>1.1.0</gogo.runtime.version> |
| <gogo.jline.shell.version>1.1.0</gogo.jline.shell.version> |
| <gogo.command.version>1.0.2</gogo.command.version> |
| <jline.version>3.7.0</jline.version> |
| <obr.version>2.0.10</obr.version> |
| <jansi.version>1.17.1</jansi.version> |
| </properties> |
| <profiles> |
| <profile> |
| <id>release</id> |
| <properties> |
| <log.level>1</log.level> |
| <dollar>$</dollar> |
| </properties> |
| </profile> |
| </profiles> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <target>1.5</target> |
| <source>1.5</source> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.5.0</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
| <Main-Class>org.apache.felix.main.Main</Main-Class> |
| <Bundle-SymbolicName>org.apache.felix.main</Bundle-SymbolicName> |
| <Bundle-Name>Apache Felix</Bundle-Name> |
| <Bundle-Description>OSGi R6 framework.</Bundle-Description> |
| <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| <Embed-Dependency>*;artifactId=org.apache.felix.framework;inline=true</Embed-Dependency> |
| <Private-Package>org.apache.felix.main.*</Private-Package> |
| <Export-Package>!org.osgi.service.log, !org.osgi.service.obr, org.osgi.*</Export-Package> |
| <Import-Package>!*</Import-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| <version>${gogo.runtime.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.apache.felix.gogo.jline</artifactId> |
| <version>${gogo.jline.shell.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.apache.felix.gogo.command</artifactId> |
| <version>${gogo.command.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.apache.felix.bundlerepository</artifactId> |
| <version>${obr.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.jline</groupId> |
| <artifactId>jline</artifactId> |
| <version>${jline.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.fusesource.jansi</groupId> |
| <artifactId>jansi</artifactId> |
| <version>${jansi.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <configuration> |
| <tasks> |
| <delete dir="${basedir}/bin" /> |
| <mkdir dir="${basedir}/bin" /> |
| <delete dir="${basedir}/conf" /> |
| <mkdir dir="${basedir}/conf" /> |
| <copy file="${basedir}/target/org.apache.felix.main-${project.version}.jar" tofile="${basedir}/bin/felix.jar" /> |
| <copy file="${basedir}/target/classes/config.properties" todir="${basedir}/conf" /> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <failOnError>false</failOnError> |
| </configuration> |
| </plugin> |
| </plugins> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| </build> |
| </project> |