diff --git a/build.xml b/build.xml index 90d1cdc06..7e7db88fa 100644 --- a/build.xml +++ b/build.xml @@ -1595,7 +1595,7 @@ under the License. - + diff --git a/osgi/pom.xml b/osgi/pom.xml index 9b33aa84f..2849467a9 100644 --- a/osgi/pom.xml +++ b/osgi/pom.xml @@ -37,6 +37,10 @@ http://poi.apache.org/ ${poi.version} + 1.6 @@ -107,7 +111,7 @@ org.osgi org.osgi.core 5.0.0 - test + provided @@ -134,7 +138,6 @@ org.apache.poi.* - diff --git a/osgi/src/main/java/org/apache/poi/osgi/Activator.java b/osgi/src/main/java/org/apache/poi/osgi/Activator.java new file mode 100644 index 000000000..2f0212bd4 --- /dev/null +++ b/osgi/src/main/java/org/apache/poi/osgi/Activator.java @@ -0,0 +1,28 @@ +/* ==================================================================== + 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. +==================================================================== */ + +package org.apache.poi.osgi; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator implements BundleActivator { + public void start(BundleContext context) throws Exception { + } + public void stop(BundleContext context) throws Exception { + } +}