blob: 30f9a5e930cd3e0aa49b17b7125c52e419bfd6e6 [file] [log] [blame]
Felix Meschberger044c4bf2012-01-31 12:47:45 +00001<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
2 license agreements. See the NOTICE file distributed with this work for additional
3 information regarding copyright ownership. The ASF licenses this file to
4 you under the Apache License, Version 2.0 (the "License"); you may not use
5 this file except in compliance with the License. You may obtain a copy of
6 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
7 by applicable law or agreed to in writing, software distributed under the
8 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
9 OF ANY KIND, either express or implied. See the License for the specific
10 language governing permissions and limitations under the License. -->
11<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
13
14 <modelVersion>4.0.0</modelVersion>
15 <parent>
16 <groupId>org.apache.felix</groupId>
17 <artifactId>felix-parent</artifactId>
18 <version>2.1</version>
19 <relativePath>../../../pom/pom.xml</relativePath>
20 </parent>
21
22 <artifactId>org.apache.felix.webconsole.plugins.gogo</artifactId>
23 <packaging>bundle</packaging>
24 <version>0.0.1-SNAPSHOT</version>
25
26 <name>Apache Felix Web Gogo Shell Plugin</name>
27 <description>
28 This is a plugin for the Apache Felix OSGi web console that provides access to Gogo shell commands.
29 </description>
30
31 <properties>
32 <dollar>$</dollar>
33 </properties>
34
35 <scm>
36 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/gogo</connection>
37 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/gogo</developerConnection>
38 <url>http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/gogo</url>
39 </scm>
40
41 <build>
42 <plugins>
43 <!-- translate UTF-8 encoded properties files to ISO-8859-1 -->
44 <plugin>
45 <groupId>org.codehaus.mojo</groupId>
46 <artifactId>native2ascii-maven-plugin</artifactId>
47 <version>1.0-beta-1</version>
48 <executions>
49 <execution>
50 <goals>
51 <goal>native2ascii</goal>
52 </goals>
53 <configuration>
54 <encoding>UTF-8</encoding>
55 </configuration>
56 </execution>
57 </executions>
58 </plugin>
59
60 <plugin>
61 <groupId>org.apache.felix</groupId>
62 <artifactId>maven-scr-plugin</artifactId>
63 <version>1.7.2</version>
64 <!-- As QDox is trying to inspect/load the classes
65 we have to add a slf4j implementation to the
66 class path of the plugin - we usually use
67 a static field for the logger and during class
68 loading this field requires an slf4j implementation!
69 -->
70 <dependencies>
71 <dependency>
72 <groupId>org.slf4j</groupId>
73 <artifactId>slf4j-simple</artifactId>
74 <version>1.5.2</version>
75 </dependency>
76 </dependencies>
77 <executions>
78 <execution>
79 <id>generate-scr-scrdescriptor</id>
80 <goals>
81 <goal>scr</goal>
82 </goals>
83 <configuration>
84 <properties>
85 <service.vendor>The Apache Software Foundation</service.vendor>
86 </properties>
87 </configuration>
88 </execution>
89 </executions>
90 </plugin>
91
92 <plugin>
93 <artifactId>maven-compiler-plugin</artifactId>
94 <configuration>
95 <source>1.5</source>
96 <target>1.5</target>
97 </configuration>
98 </plugin>
99
100 <plugin>
101 <groupId>org.apache.felix</groupId>
102 <artifactId>maven-bundle-plugin</artifactId>
103 <version>2.3.6</version>
104 <extensions>true</extensions>
105 <configuration>
106 <instructions>
107 <Bundle-SymbolicName>
108 ${project.artifactId}
109 </Bundle-SymbolicName>
110 <Bundle-Activator>
111 org.apache.felix.webconsole.plugins.gogo.impl.Activator
112 </Bundle-Activator>
113 <Embed-Dependency>
114 jline;inline=true
115 </Embed-Dependency>
116 <Bundle-NativeCode>
117 META-INF/native/windows32/jansi.dll;osname=Win32;processor=x86,
118 META-INF/native/windows64/jansi.dll;osname=Win32;processor=x86-64,
119 META-INF/native/linux32/libjansi.so;osname=Linux;processor=x86,
120 META-INF/native/linux64/libjansi.so;osname=Linux;processor=x86-64,
121 META-INF/native/osx/libjansi.jnilib;osname=MacOSX,
122 *
123 </Bundle-NativeCode>
124 </instructions>
125 </configuration>
126 </plugin>
127 </plugins>
128 </build>
129
130 <dependencies>
131 <dependency>
132 <groupId>org.apache.felix</groupId>
133 <artifactId>org.apache.felix.gogo.runtime</artifactId>
134 <version>0.6.1</version>
135 <scope>provided</scope>
136 </dependency>
137 <dependency>
138 <groupId>org.osgi</groupId>
139 <artifactId>org.osgi.core</artifactId>
140 <version>4.0.0</version>
141 <scope>provided</scope>
142 </dependency>
143 <dependency>
144 <groupId>org.osgi</groupId>
145 <artifactId>org.osgi.compendium</artifactId>
146 <version>4.0.0</version>
147 <scope>provided</scope>
148 </dependency>
149 <dependency>
150 <groupId>org.slf4j</groupId>
151 <artifactId>slf4j-api</artifactId>
152 <version>1.5.0</version>
153 <scope>provided</scope>
154 </dependency>
155 <dependency>
156 <groupId>org.apache.felix</groupId>
157 <artifactId>org.apache.felix.webconsole</artifactId>
158 <version>3.0.0</version>
159 <scope>provided</scope>
160 </dependency>
161 <dependency>
162 <groupId>javax.servlet</groupId>
163 <artifactId>servlet-api</artifactId>
164 <version>2.3</version>
165 <scope>provided</scope>
166 </dependency>
167 <dependency>
168 <groupId>org.sonatype.jline</groupId>
169 <artifactId>jline</artifactId>
170 <version>2.5</version>
171 <scope>provided</scope>
172 </dependency>
173 <dependency>
174 <groupId>org.apache.felix</groupId>
175 <artifactId>org.apache.felix.scr.annotations</artifactId>
176 <version>1.6.0</version>
177 <scope>provided</scope>
178 </dependency>
179 </dependencies>
180</project>