Skip to content

Commit

Permalink
switch to aQute.bnd.exceptions from aQute.lib.exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Bischof <[email protected]>
  • Loading branch information
stbischof committed Sep 2, 2024
1 parent a570b7e commit 1d1ec25
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.json.Decoder;
import aQute.lib.json.Encoder;
import aQute.lib.json.JSONCodec;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import org.junit.Test;

import aQute.lib.exceptions.RunnableWithException;
import aQute.bnd.exceptions.RunnableWithException;
import aQute.lib.io.IO;

public class ExchangeTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import org.osgi.dto.DTO;

import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.libg.glob.Glob;
import aQute.libg.parameters.Attributes;
import aQute.libg.parameters.ParameterMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.osgi.framework.Constants;
import org.osgi.framework.ServiceRegistration;

import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.io.IO;
import biz.aQute.gogo.commands.dtoformatter.DTOFormatter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import org.osgi.framework.ServiceReference;

import aQute.lib.converter.Converter;
import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.justif.Justif;
import aQute.libg.glob.Glob;
import biz.aQute.gogo.commands.dtoformatter.DTOFormatter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
import aQute.jpm.platform.PlatformImpl;
import aQute.lib.base64.Base64;
import aQute.lib.converter.Converter;
import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.filter.Filter;
import aQute.lib.io.IO;
import aQute.lib.json.JSONCodec;
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.jpm/src/main/java/aQute/jpm/lib/MavenAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.osgi.util.promise.PromiseFactory;

import aQute.bnd.http.HttpClient;
import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.io.IO;
import aQute.maven.api.Archive;
import aQute.maven.api.Program;
Expand Down
2 changes: 1 addition & 1 deletion biz.aQute.jpm/src/main/java/aQute/jpm/main/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import aQute.jpm.lib.JustAnotherPackageManager;
import aQute.jpm.platform.PlatformImpl;
import aQute.lib.collections.ExtList;
import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.getopt.Arguments;
import aQute.lib.getopt.CommandLine;
import aQute.lib.getopt.Description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.util.Formatter;

import aQute.lib.converter.Converter;
import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;

public class PDU {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import org.osgi.service.metatype.annotations.Designate;
import org.osgi.util.promise.Promise;

import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import biz.aQute.broker.api.Broker;
import biz.aQute.broker.api.Subscriber;
import biz.aQute.broker.api.Topic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.io.IO;
import aQute.lib.json.JSONCodec;
import biz.aQute.broker.api.Subscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import org.eclipse.paho.client.mqttv3.MqttClient;
import org.eclipse.paho.client.mqttv3.MqttException;

import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.io.ByteBufferOutputStream;
import biz.aQute.broker.api.Topic;

Expand Down
7 changes: 4 additions & 3 deletions biz.aQute.mqtt.test/basic.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
biz.aQute.api.broker;version=snapshot,\
biz.aQute.mqtt.moquette.server;version=snapshot,\
biz.aQute.mqtt.paho.client;version=snapshot,\
org.osgi.util.function;version='[1.1.0,1.1.1)',\
org.osgi.util.promise;version='[1.1.1,1.1.2)',\
org.apache.felix.configadmin;version='[1.9.12,1.9.13)',\
org.apache.felix.scr;version='[2.1.30,2.1.31)',\
com.h2database;version='[1.4.198,1.4.199)'
com.h2database;version='[1.4.198,1.4.199)',\
aQute.libg;version='[6.4.1,6.4.2)',\
org.osgi.util.function;version='[1.2.0,1.2.1)',\
org.osgi.util.promise;version='[1.3.0,1.3.1)'
-resolve: auto
4 changes: 3 additions & 1 deletion biz.aQute.osgi.configuration.util/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Export-Package: \
biz.aQute.osgi.configuration.util,\
org.osgi.service.metatype.annotations

-conditionalpackage: aQute.lib*
-conditionalpackage: \
aQute.lib*,\
aQute.bnd.exceptions

-includeresource: {readme.md}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.junit.AfterClass;
import org.junit.Test;

import aQute.lib.exceptions.RunnableWithException;
import aQute.bnd.exceptions.RunnableWithException;
import biz.aQute.osgi.concurrency.util.InitClose.State;

public class InitCloseTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.apache.felix.service.command.annotations.GogoCommand;
import org.osgi.service.component.annotations.Component;

import aQute.lib.exceptions.Exceptions;
import aQute.bnd.exceptions.Exceptions;
import aQute.lib.io.IO;
import aQute.lib.json.JSONCodec;
import aQute.lib.justif.Justif;
Expand Down

0 comments on commit 1d1ec25

Please sign in to comment.