You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fm...@apache.org on 2011/12/17 13:34:04 UTC
svn commit: r1215479 - in /felix/trunk/webconsole: pom.xml
src/main/java/org/apache/felix/webconsole/package-info.java
Author: fmeschbe
Date: Sat Dec 17 12:34:04 2011
New Revision: 1215479
URL: http://svn.apache.org/viewvc?rev=1215479&view=rev
Log:
FELIX-3281 Use Bundle plugin 2.3.6
- Use BND annotations for package export
- Add Package Level JavaDoc
- Use Java 5 source level and Java 4 class file format (target=JSR14)
Added:
felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/package-info.java
Modified:
felix/trunk/webconsole/pom.xml
Modified: felix/trunk/webconsole/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/pom.xml?rev=1215479&r1=1215478&r2=1215479&view=diff
==============================================================================
--- felix/trunk/webconsole/pom.xml (original)
+++ felix/trunk/webconsole/pom.xml Sat Dec 17 12:34:04 2011
@@ -82,9 +82,16 @@
</executions>
</plugin>
<plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>5</source>
+ <target>jsr14</target>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.4.3</version>
+ <version>2.3.6</version>
<extensions>true</extensions>
<configuration>
<instructions>
@@ -100,15 +107,7 @@
<Bundle-Activator>
org.apache.felix.webconsole.internal.OsgiManagerActivator
</Bundle-Activator>
- <Export-Package>
- org.apache.felix.webconsole;version=3.1.2
- </Export-Package>
- <Private-Package>
- !org.apache.felix.webconsole,
- org.apache.felix.webconsole.*,
- </Private-Package>
<Import-Package>
- org.apache.felix.scr;version=1.0;resolution:=optional,
org.osgi.service.http,
org.apache.felix.shell;
org.osgi.service.*;resolution:=optional,
@@ -251,5 +250,13 @@
<optional>true</optional>
</dependency>
+ <!-- BND annotations -->
+ <dependency>
+ <groupId>biz.aQute</groupId>
+ <artifactId>bndlib</artifactId>
+ <version>1.50.0</version>
+ <scope>provided</scope>
+ </dependency>
+
</dependencies>
</project>
Added: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/package-info.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/package-info.java?rev=1215479&view=auto
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/package-info.java (added)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/package-info.java Sat Dec 17 12:34:04 2011
@@ -0,0 +1,39 @@
+/*
+ * 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.
+ */
+
+/**
+ * Provides the plugin and extension API for the Apache Felix Web Console:
+ * <dl>
+ * <dt>{@link org.apache.felix.webconsole.AbstractWebConsolePlugin}</dt>
+ * <dd>Service API for plugins.</dd>
+ * <dt>{@link org.apache.felix.webconsole.ConfigurationPrinter}</dt>
+ * <dd>Service API for plugins for the Configuration Status page.</dd>
+ * <dt>{@link org.apache.felix.webconsole.BrandingPlugin}</dt>
+ * <dd>Service API for the branding of the Web Console.</dd>
+ * <dt>{@link org.apache.felix.webconsole.WebConsoleSecurityProvider}</dt>
+ * <dd>Service API to provide custom authentication and access control.</dd>
+ * </dl>
+ */
+@Version("3.1.2")
+@Export(optional = "provide:=true")
+package org.apache.felix.webconsole;
+
+import aQute.bnd.annotation.Export;
+import aQute.bnd.annotation.Version;
+