From 3ad9a6b8f65de19b80b20dc05d5340b389595a8a Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Tue, 12 Feb 2019 11:03:12 +1100 Subject: [PATCH] Remove dependency on shamrock-core-deployment from infinispan-hibernate-cache-protean This results in deployment scoped artifacts being pulled into runtime scope --- .../org/jboss/shamrock/jpa}/HibernateCacheProcessor.java | 5 ++++- .../infinispan-hibernate-cache-protean/pom.xml | 6 ------ 2 files changed, 4 insertions(+), 7 deletions(-) rename {independent-projects/infinispan-hibernate-cache-protean/src/main/java/org/infinispan/protean/hibernate/cache => extensions/jpa/deployment/src/main/java/org/jboss/shamrock/jpa}/HibernateCacheProcessor.java (86%) diff --git a/independent-projects/infinispan-hibernate-cache-protean/src/main/java/org/infinispan/protean/hibernate/cache/HibernateCacheProcessor.java b/extensions/jpa/deployment/src/main/java/org/jboss/shamrock/jpa/HibernateCacheProcessor.java similarity index 86% rename from independent-projects/infinispan-hibernate-cache-protean/src/main/java/org/infinispan/protean/hibernate/cache/HibernateCacheProcessor.java rename to extensions/jpa/deployment/src/main/java/org/jboss/shamrock/jpa/HibernateCacheProcessor.java index c426efcf73c6a..3c333678f6600 100644 --- a/independent-projects/infinispan-hibernate-cache-protean/src/main/java/org/infinispan/protean/hibernate/cache/HibernateCacheProcessor.java +++ b/extensions/jpa/deployment/src/main/java/org/jboss/shamrock/jpa/HibernateCacheProcessor.java @@ -1,9 +1,12 @@ -package org.infinispan.protean.hibernate.cache; +package org.jboss.shamrock.jpa; import org.jboss.shamrock.deployment.annotations.BuildProducer; import org.jboss.shamrock.deployment.annotations.BuildStep; import org.jboss.shamrock.deployment.builditem.substrate.ReflectiveClassBuildItem; +/** + * TODO: is this the correct place for this? Should the cache have its own extension? + */ public final class HibernateCacheProcessor { @BuildStep diff --git a/independent-projects/infinispan-hibernate-cache-protean/pom.xml b/independent-projects/infinispan-hibernate-cache-protean/pom.xml index 6429542ec3ccd..00aba693dd180 100644 --- a/independent-projects/infinispan-hibernate-cache-protean/pom.xml +++ b/independent-projects/infinispan-hibernate-cache-protean/pom.xml @@ -51,12 +51,6 @@ ${version.jboss-logging} - - org.jboss.shamrock - shamrock-core-deployment - ${project.version} - - org.hibernate hibernate-core