Karl Pauls | 5c09375 | 2008-04-22 15:36:51 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 19 | <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"> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 20 | <parent> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
Karl Pauls | 040e432 | 2009-05-10 22:09:56 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
Karl Pauls | a6fc86b | 2011-09-22 12:46:54 +0000 | [diff] [blame] | 23 | <version>2.1</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 27 | <packaging>bundle</packaging> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 28 | <name>Apache Felix Main</name> |
| 29 | <artifactId>org.apache.felix.main</artifactId> |
Karl Pauls | 17108aa | 2015-10-13 14:53:16 +0000 | [diff] [blame] | 30 | <version>5.5.0-SNAPSHOT</version> |
Karl Pauls | ac6574f | 2011-09-22 15:31:25 +0000 | [diff] [blame] | 31 | <scm> |
Karl Pauls | 17108aa | 2015-10-13 14:53:16 +0000 | [diff] [blame] | 32 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/main</connection> |
| 33 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/main</developerConnection> |
| 34 | <url>http://svn.apache.org/repos/asf/felix/main</url> |
Karl Pauls | ac6574f | 2011-09-22 15:31:25 +0000 | [diff] [blame] | 35 | </scm> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 36 | <dependencies> |
| 37 | <dependency> |
A. J. David Bosschaert | 4aba1fa | 2015-05-14 09:09:08 +0000 | [diff] [blame] | 38 | <groupId>${project.groupId}</groupId> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 39 | <artifactId>org.apache.felix.framework</artifactId> |
Karl Pauls | 00c4653 | 2015-10-13 14:41:41 +0000 | [diff] [blame] | 40 | <version>5.4.0</version> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 41 | </dependency> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 42 | </dependencies> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 43 | <properties> |
Karl Pauls | a59b6c4 | 2010-08-18 20:38:51 +0000 | [diff] [blame] | 44 | <log.level>4</log.level> |
Richard S. Hall | 726b616 | 2008-10-09 15:54:32 +0000 | [diff] [blame] | 45 | <dollar>$</dollar> |
Karl Pauls | 845a357 | 2015-04-20 11:52:53 +0000 | [diff] [blame] | 46 | <gogo.runtime.version>0.16.2</gogo.runtime.version> |
Karl Pauls | 00c4653 | 2015-10-13 14:41:41 +0000 | [diff] [blame] | 47 | <gogo.shell.version>0.10.0</gogo.shell.version> |
Karl Pauls | 9ce70ca | 2015-10-13 12:43:51 +0000 | [diff] [blame] | 48 | <gogo.command.version>0.16.0</gogo.command.version> |
| 49 | <obr.version>2.0.6</obr.version> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 50 | </properties> |
Stuart McCulloch | f202a82 | 2008-10-22 11:55:02 +0000 | [diff] [blame] | 51 | <profiles> |
| 52 | <profile> |
| 53 | <id>release</id> |
| 54 | <properties> |
Karl Pauls | 46d1374 | 2009-11-01 19:35:18 +0000 | [diff] [blame] | 55 | <log.level>1</log.level> |
Karl Pauls | 48d887c | 2009-04-26 20:54:43 +0000 | [diff] [blame] | 56 | <dollar>$</dollar> |
Stuart McCulloch | f202a82 | 2008-10-22 11:55:02 +0000 | [diff] [blame] | 57 | </properties> |
| 58 | </profile> |
| 59 | </profiles> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 60 | <build> |
| 61 | <plugins> |
| 62 | <plugin> |
Richard S. Hall | 5c77e1d | 2012-06-16 19:13:30 +0000 | [diff] [blame] | 63 | <groupId>org.apache.maven.plugins</groupId> |
| 64 | <artifactId>maven-compiler-plugin</artifactId> |
| 65 | <configuration> |
| 66 | <target>1.5</target> |
| 67 | <source>1.5</source> |
| 68 | </configuration> |
| 69 | </plugin> |
| 70 | |
| 71 | <plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 72 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 73 | <artifactId>maven-bundle-plugin</artifactId> |
Karl Pauls | 10707b9 | 2014-07-09 16:22:55 +0000 | [diff] [blame] | 74 | <version>2.5.0</version> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 75 | <extensions>true</extensions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 76 | <configuration> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 77 | <instructions> |
Richard S. Hall | 2730552 | 2007-03-28 15:28:25 +0000 | [diff] [blame] | 78 | <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 79 | <Main-Class>org.apache.felix.main.Main</Main-Class> |
Richard S. Hall | f94a18f | 2008-09-23 16:25:54 +0000 | [diff] [blame] | 80 | <Bundle-SymbolicName>org.apache.felix.main</Bundle-SymbolicName> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 81 | <Bundle-Name>Apache Felix</Bundle-Name> |
A. J. David Bosschaert | e208867 | 2015-06-12 21:09:36 +0000 | [diff] [blame] | 82 | <Bundle-Description>OSGi R6 framework.</Bundle-Description> |
Carsten Ziegeler | cf6e51b | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 83 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Richard S. Hall | 42cf9c9 | 2008-10-16 20:22:58 +0000 | [diff] [blame] | 84 | <Embed-Dependency>*;artifactId=org.apache.felix.framework;inline=true</Embed-Dependency> |
| 85 | <Private-Package>org.apache.felix.main.*</Private-Package> |
Richard S. Hall | 5326458 | 2012-05-30 14:47:16 +0000 | [diff] [blame] | 86 | <Export-Package>!org.osgi.service.log, !org.osgi.service.obr, org.osgi.*</Export-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 87 | <Import-Package>!*</Import-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 88 | </instructions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 89 | </configuration> |
| 90 | </plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 91 | <plugin> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 92 | <groupId>org.apache.maven.plugins</groupId> |
| 93 | <artifactId>maven-dependency-plugin</artifactId> |
| 94 | <executions> |
| 95 | <execution> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 96 | <id>copy</id> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 97 | <phase>package</phase> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 98 | <goals> |
| 99 | <goal>copy</goal> |
| 100 | </goals> |
| 101 | <configuration> |
| 102 | <artifactItems> |
| 103 | <artifactItem> |
A. J. David Bosschaert | 4aba1fa | 2015-05-14 09:09:08 +0000 | [diff] [blame] | 104 | <groupId>${project.groupId}</groupId> |
Richard S. Hall | f65896e | 2010-05-05 15:21:54 +0000 | [diff] [blame] | 105 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 106 | <version>${gogo.runtime.version}</version> |
| 107 | <type>jar</type> |
| 108 | <overWrite>true</overWrite> |
| 109 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 110 | </artifactItem> |
| 111 | <artifactItem> |
A. J. David Bosschaert | 4aba1fa | 2015-05-14 09:09:08 +0000 | [diff] [blame] | 112 | <groupId>${project.groupId}</groupId> |
Richard S. Hall | c0e3ef7 | 2010-05-24 19:35:19 +0000 | [diff] [blame] | 113 | <artifactId>org.apache.felix.gogo.shell</artifactId> |
| 114 | <version>${gogo.shell.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 115 | <type>jar</type> |
| 116 | <overWrite>true</overWrite> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 117 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 118 | </artifactItem> |
| 119 | <artifactItem> |
A. J. David Bosschaert | 4aba1fa | 2015-05-14 09:09:08 +0000 | [diff] [blame] | 120 | <groupId>${project.groupId}</groupId> |
Richard S. Hall | c0e3ef7 | 2010-05-24 19:35:19 +0000 | [diff] [blame] | 121 | <artifactId>org.apache.felix.gogo.command</artifactId> |
| 122 | <version>${gogo.command.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 123 | <type>jar</type> |
| 124 | <overWrite>true</overWrite> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 125 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 126 | </artifactItem> |
| 127 | <artifactItem> |
A. J. David Bosschaert | 4aba1fa | 2015-05-14 09:09:08 +0000 | [diff] [blame] | 128 | <groupId>${project.groupId}</groupId> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 129 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 130 | <version>${obr.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 131 | <type>jar</type> |
| 132 | <overWrite>true</overWrite> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 133 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 134 | </artifactItem> |
| 135 | </artifactItems> |
| 136 | </configuration> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
| 140 | <plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 141 | <artifactId>maven-antrun-plugin</artifactId> |
| 142 | <executions> |
| 143 | <execution> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 144 | <phase>package</phase> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 145 | <configuration> |
| 146 | <tasks> |
Karl Pauls | 2b8bd37 | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 147 | <delete dir="${basedir}/bin" /> |
| 148 | <mkdir dir="${basedir}/bin" /> |
| 149 | <delete dir="${basedir}/conf" /> |
| 150 | <mkdir dir="${basedir}/conf" /> |
A. J. David Bosschaert | 4aba1fa | 2015-05-14 09:09:08 +0000 | [diff] [blame] | 151 | <copy file="${basedir}/target/org.apache.felix.main-${project.version}.jar" tofile="${basedir}/bin/felix.jar" /> |
Karl Pauls | 2b8bd37 | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 152 | <copy file="${basedir}/target/classes/config.properties" todir="${basedir}/conf" /> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 153 | </tasks> |
| 154 | </configuration> |
| 155 | <goals> |
| 156 | <goal>run</goal> |
| 157 | </goals> |
| 158 | </execution> |
| 159 | </executions> |
| 160 | </plugin> |
Karl Pauls | 10707b9 | 2014-07-09 16:22:55 +0000 | [diff] [blame] | 161 | <plugin> |
| 162 | <groupId>org.apache.maven.plugins</groupId> |
| 163 | <artifactId>maven-source-plugin</artifactId> |
| 164 | <executions> |
| 165 | <execution> |
| 166 | <id>attach-sources</id> |
| 167 | <goals> |
| 168 | <goal>jar</goal> |
| 169 | </goals> |
| 170 | </execution> |
| 171 | </executions> |
| 172 | </plugin> |
| 173 | <plugin> |
| 174 | <groupId>org.apache.maven.plugins</groupId> |
| 175 | <artifactId>maven-javadoc-plugin</artifactId> |
| 176 | <configuration> |
| 177 | <failOnError>false</failOnError> |
| 178 | </configuration> |
| 179 | </plugin> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 180 | </plugins> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 181 | <resources> |
| 182 | <resource> |
| 183 | <directory>src/main/resources</directory> |
| 184 | <filtering>true</filtering> |
| 185 | </resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 186 | </resources> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 187 | </build> |
Karl Pauls | 250a714 | 2008-04-22 13:27:15 +0000 | [diff] [blame] | 188 | </project> |