diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/BlueprintFileWriterTest.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/BlueprintFileWriterTest.java index 6a880fe155..1cce70d8fb 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/BlueprintFileWriterTest.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/BlueprintFileWriterTest.java @@ -23,9 +23,9 @@ import org.apache.aries.blueprint.plugin.model.TransactionalDef; import org.apache.aries.blueprint.plugin.test.MyBean1; import org.apache.aries.blueprint.plugin.test.MyProduced; -import org.apache.aries.blueprint.plugin.test.ServiceA; -import org.apache.aries.blueprint.plugin.test.ServiceB; -import org.apache.aries.blueprint.plugin.test.ServiceD; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceD; import org.apache.aries.blueprint.plugin.test.bean.BasicBean; import org.apache.aries.blueprint.plugin.test.bean.BeanWithCallbackMethods; import org.apache.aries.blueprint.plugin.test.bean.NamedBean; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/model/TestBeanForRef.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/model/TestBeanForRef.java index 8679fb506f..03120ca690 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/model/TestBeanForRef.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/model/TestBeanForRef.java @@ -23,8 +23,8 @@ import javax.persistence.EntityManager; import javax.persistence.PersistenceUnit; -import org.apache.aries.blueprint.plugin.test.ServiceA; -import org.apache.aries.blueprint.plugin.test.ServiceB; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/BeanWithSetters.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/BeanWithSetters.java index 96b39161bb..27e4280aca 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/BeanWithSetters.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/BeanWithSetters.java @@ -18,6 +18,8 @@ */ package org.apache.aries.blueprint.plugin.test; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; import org.ops4j.pax.cdi.api.OsgiService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean3.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean3.java index 59b11cef8d..1f6ec09b83 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean3.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean3.java @@ -21,6 +21,8 @@ import javax.inject.Inject; import javax.inject.Named; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean5.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean5.java index 743647a86f..f0a0568d93 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean5.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean5.java @@ -19,6 +19,9 @@ package org.apache.aries.blueprint.plugin.test; import org.apache.aries.blueprint.plugin.AnnotatedService; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceC; import org.ops4j.pax.cdi.api.OsgiService; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.DependsOn; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean6.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean6.java index 3ecb53f48c..ef962047dd 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean6.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean6.java @@ -18,6 +18,7 @@ */ package org.apache.aries.blueprint.plugin.test; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.springframework.context.annotation.DependsOn; import javax.inject.Named; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean7.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean7.java index f59d9d3f69..bb4e914259 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean7.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyBean7.java @@ -18,6 +18,7 @@ */ package org.apache.aries.blueprint.plugin.test; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceD; import org.ops4j.pax.cdi.api.OsgiService; import javax.inject.Singleton; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyFactoryBean.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyFactoryBean.java index c048d8aba7..19fc8ac68e 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyFactoryBean.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyFactoryBean.java @@ -18,6 +18,8 @@ */ package org.apache.aries.blueprint.plugin.test; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceC; import org.ops4j.pax.cdi.api.OsgiService; import org.springframework.beans.factory.annotation.Value; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyProduced.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyProduced.java index 45f994d131..70e6ebbeae 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyProduced.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyProduced.java @@ -18,6 +18,7 @@ */ package org.apache.aries.blueprint.plugin.test; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.springframework.context.annotation.Lazy; import javax.inject.Inject; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyProducedWithConstructor.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyProducedWithConstructor.java index 9389936161..d19e648063 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyProducedWithConstructor.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/MyProducedWithConstructor.java @@ -18,6 +18,7 @@ */ package org.apache.aries.blueprint.plugin.test; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.ops4j.pax.cdi.api.OsgiService; import javax.inject.Inject; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ParentBean.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ParentBean.java index 3b3b007f58..45470c8a37 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ParentBean.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ParentBean.java @@ -25,6 +25,7 @@ import javax.persistence.PersistenceUnit; import javax.transaction.Transactional; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.springframework.beans.factory.annotation.Autowired; public class ParentBean { diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceABImpl.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceABImpl.java index 9d77ededc1..dad56c03f8 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceABImpl.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceABImpl.java @@ -20,6 +20,8 @@ import javax.inject.Singleton; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; import org.ops4j.pax.cdi.api.OsgiServiceProvider; @Singleton diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl1.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl1.java index 4b807feeb8..8af5ac923e 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl1.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl1.java @@ -18,6 +18,8 @@ */ package org.apache.aries.blueprint.plugin.test; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; + import javax.inject.Named; @Named("my1") diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl2.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl2.java index 2640386513..c147b9d124 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl2.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl2.java @@ -21,6 +21,7 @@ import javax.inject.Named; import javax.inject.Singleton; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.ops4j.pax.cdi.api.OsgiServiceProvider; import org.springframework.beans.factory.annotation.Value; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl3.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl3.java index 2051201efd..74904a5760 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl3.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImpl3.java @@ -20,6 +20,7 @@ import javax.inject.Singleton; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.ops4j.pax.cdi.api.OsgiServiceProvider; @Singleton diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImplQualified.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImplQualified.java index 26edb86e9c..5a49eeb3ad 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImplQualified.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceAImplQualified.java @@ -19,6 +19,7 @@ package org.apache.aries.blueprint.plugin.test; import org.apache.aries.blueprint.plugin.AnnotatedService; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import javax.inject.Singleton; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceReferencesParent.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceReferencesParent.java index 8053be9896..ccc42ca44d 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceReferencesParent.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceReferencesParent.java @@ -21,11 +21,13 @@ import javax.inject.Inject; import javax.inject.Named; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; import org.ops4j.pax.cdi.api.OsgiService; public class ServiceReferencesParent { - @Inject @OsgiService(filter="(type=B1)") ServiceB serviceB; + @Inject @OsgiService(filter="(type=B1)") + ServiceB serviceB; @Named("serviceB2Id") @Inject @OsgiService(filter="(type=B2)") ServiceB serviceB2; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/cditransactional/CdiTransactionalAnnotatedBean.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/cditransactional/CdiTransactionalAnnotatedBean.java index 3060df15e4..cbdb95b8f9 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/cditransactional/CdiTransactionalAnnotatedBean.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/cditransactional/CdiTransactionalAnnotatedBean.java @@ -6,9 +6,9 @@ * 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 - * + *

+ * 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 @@ -19,7 +19,6 @@ package org.apache.aries.blueprint.plugin.test.cditransactional; import org.apache.aries.blueprint.plugin.test.ParentBean; -import org.springframework.context.annotation.Lazy; import javax.annotation.PostConstruct; import javax.inject.Singleton; @@ -27,20 +26,9 @@ import javax.transaction.cdi.Transactional.TxType; @Singleton -@Transactional(value=TxType.REQUIRES_NEW) -@Lazy +@Transactional(value = TxType.REQUIRES_NEW) public class CdiTransactionalAnnotatedBean extends ParentBean { - public void overridenInit() { - // By overriding the method and removing the annotation, this method has lost its - // @PostConstruct method because it isn't @Inherited - } - - @PostConstruct - public void init() { - - } - @Transactional(TxType.NOT_SUPPORTED) public void txNotSupported() { } diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/configuration/BeanWithConfigurationProperties.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/configuration/BeanWithConfigurationProperties.java index 89db12299e..79edcc0d15 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/configuration/BeanWithConfigurationProperties.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/configuration/BeanWithConfigurationProperties.java @@ -20,7 +20,6 @@ import org.apache.aries.blueprint.annotation.config.ConfigProperties; import org.apache.aries.blueprint.plugin.test.MyProducedWithConstructor; -import org.ops4j.pax.cdi.api.OsgiService; import javax.enterprise.inject.Produces; import javax.inject.Inject; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceA.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceA.java similarity index 93% rename from blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceA.java rename to blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceA.java index ba80ae72af..5d64c1de77 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceA.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceA.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.aries.blueprint.plugin.test; +package org.apache.aries.blueprint.plugin.test.interfaces; public interface ServiceA { diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceB.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceB.java similarity index 93% rename from blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceB.java rename to blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceB.java index e583a4d3ad..947d4011ab 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceB.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceB.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.aries.blueprint.plugin.test; +package org.apache.aries.blueprint.plugin.test.interfaces; public interface ServiceB { diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceC.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceC.java similarity index 93% rename from blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceC.java rename to blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceC.java index 5db52d144a..1c9565ea15 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceC.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceC.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.aries.blueprint.plugin.test; +package org.apache.aries.blueprint.plugin.test.interfaces; public interface ServiceC { diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceD.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceD.java similarity index 93% rename from blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceD.java rename to blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceD.java index e19f18aaf0..797bd56d6d 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceD.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/interfaces/ServiceD.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.aries.blueprint.plugin.test; +package org.apache.aries.blueprint.plugin.test.interfaces; public interface ServiceD { } diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/osgiserviceprovider/MyFactoryBeanAsService.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/osgiserviceprovider/MyFactoryBeanAsService.java index 180c1601e1..b81cd45c8f 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/osgiserviceprovider/MyFactoryBeanAsService.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/osgiserviceprovider/MyFactoryBeanAsService.java @@ -19,7 +19,7 @@ package org.apache.aries.blueprint.plugin.test.osgiserviceprovider; import org.apache.aries.blueprint.plugin.test.MyProduced; -import org.apache.aries.blueprint.plugin.test.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.ops4j.pax.cdi.api.OsgiServiceProvider; import org.ops4j.pax.cdi.api.Properties; import org.ops4j.pax.cdi.api.Property; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/osgiserviceprovider/ServiceWithRanking.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/osgiserviceprovider/ServiceWithRanking.java index c5591f8534..22e97a13fa 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/osgiserviceprovider/ServiceWithRanking.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/osgiserviceprovider/ServiceWithRanking.java @@ -18,7 +18,7 @@ */ package org.apache.aries.blueprint.plugin.test.osgiserviceprovider; -import org.apache.aries.blueprint.plugin.test.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.ops4j.pax.cdi.api.OsgiServiceProvider; import org.ops4j.pax.cdi.api.Properties; import org.ops4j.pax.cdi.api.Property; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerBeanWithName.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerBeanWithName.java index bd6c4a8fa1..8f996f4f30 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerBeanWithName.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerBeanWithName.java @@ -21,7 +21,7 @@ import com.google.inject.Singleton; import org.apache.aries.blueprint.annotation.referencelistener.Cardinality; import org.apache.aries.blueprint.annotation.referencelistener.ReferenceListener; -import org.apache.aries.blueprint.plugin.test.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import javax.inject.Named; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerBeanWithoutMethodsAnnotation.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerBeanWithoutMethodsAnnotation.java index 8b18c47710..1affb94b27 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerBeanWithoutMethodsAnnotation.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerBeanWithoutMethodsAnnotation.java @@ -20,9 +20,8 @@ import org.apache.aries.blueprint.annotation.referencelistener.Cardinality; import org.apache.aries.blueprint.annotation.referencelistener.ReferenceListener; -import org.apache.aries.blueprint.plugin.test.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; -import javax.inject.Named; import javax.inject.Singleton; @ReferenceListener(referenceInterface = ServiceA.class, cardinality = Cardinality.MULTIPLE, diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerListBean.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerListBean.java index 11cd9d33be..d6951b88ee 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerListBean.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerListBean.java @@ -22,7 +22,7 @@ import org.apache.aries.blueprint.annotation.referencelistener.Bind; import org.apache.aries.blueprint.annotation.referencelistener.ReferenceListener; import org.apache.aries.blueprint.annotation.referencelistener.Unbind; -import org.apache.aries.blueprint.plugin.test.ServiceA; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import javax.inject.Singleton; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerProducer.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerProducer.java index dde512dafe..4b680df3df 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerProducer.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerProducer.java @@ -21,7 +21,7 @@ import org.apache.aries.blueprint.annotation.referencelistener.Availability; import org.apache.aries.blueprint.annotation.referencelistener.Cardinality; import org.apache.aries.blueprint.annotation.referencelistener.ReferenceListener; -import org.apache.aries.blueprint.plugin.test.ServiceB; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; import javax.enterprise.inject.Produces; import javax.inject.Named; diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerToProduce.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerToProduce.java index 1783449deb..9bb718cf62 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerToProduce.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerToProduce.java @@ -20,7 +20,7 @@ import org.apache.aries.blueprint.annotation.referencelistener.Bind; import org.apache.aries.blueprint.annotation.referencelistener.Unbind; -import org.apache.aries.blueprint.plugin.test.ServiceB; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; public class ReferenceListenerToProduce { @Bind diff --git a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerToProduceWithoutAnnotation.java b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerToProduceWithoutAnnotation.java index 79ee3c6487..ffa6d9b491 100644 --- a/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerToProduceWithoutAnnotation.java +++ b/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/referencelistener/ReferenceListenerToProduceWithoutAnnotation.java @@ -18,7 +18,7 @@ */ package org.apache.aries.blueprint.plugin.test.referencelistener; -import org.apache.aries.blueprint.plugin.test.ServiceB; +import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; public class ReferenceListenerToProduceWithoutAnnotation { public void addMe(ServiceB serviceB) {