From f602dbde0b0f847be098bcf2baf1fb5346a07f9a Mon Sep 17 00:00:00 2001 From: reiner_jung Date: Thu, 10 Mar 2016 09:40:10 +0000 Subject: [PATCH] added ajc compile time weaving for inner structure analysis --- .../cloud-logic-ejb/pom.xml | 157 +++++++++++++++--- .../src/main/resources/META-INF/aop.xml | 16 ++ .../cloud-logic-webservice/pom.xml | 38 +++++ .../src/main/resources/META-INF/aop.xml | 16 ++ .../cloud-web-frontend/pom.xml | 39 +++++ .../src/main/resources/aop.xml | 16 ++ 6 files changed, 257 insertions(+), 25 deletions(-) create mode 100644 cocome-maven-project/cloud-logic-service/cloud-logic-ejb/src/main/resources/META-INF/aop.xml create mode 100644 cocome-maven-project/cloud-logic-service/cloud-logic-webservice/src/main/resources/META-INF/aop.xml create mode 100644 cocome-maven-project/cloud-web-frontend/src/main/resources/aop.xml diff --git a/cocome-maven-project/cloud-logic-service/cloud-logic-ejb/pom.xml b/cocome-maven-project/cloud-logic-service/cloud-logic-ejb/pom.xml index e1f69ff9..f2e090b3 100644 --- a/cocome-maven-project/cloud-logic-service/cloud-logic-ejb/pom.xml +++ b/cocome-maven-project/cloud-logic-service/cloud-logic-ejb/pom.xml @@ -17,31 +17,51 @@ ${project.build.directory}/endorsed - - - de.kit.ipd - java.utils - 1.1 - - - org.apache.logging.log4j - log4j-1.2-api - - - junit - junit - - - - org.jboss.spec - jboss-javaee-all-6.0 - provided - - - org.mockito - mockito-core - - + + + de.kit.ipd + java.utils + 1.1 + + + org.apache.logging.log4j + log4j-1.2-api + + + junit + junit + + + + org.jboss.spec + jboss-javaee-all-6.0 + provided + + + org.mockito + mockito-core + + + net.kieker-monitoring + kieker + 1.12 + + + org.iobserve + monitoring + 0.0.1-SNAPSHOT + + + org.iobserve + common + 0.0.1-SNAPSHOT + + + org.aspectj + aspectjrt + 1.8.7 + + @@ -68,6 +88,93 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + + ${endorsed.dir} + + + + org/cocome/tradingsystem/inventory/data/store/StoreQueryProvider.java + org/cocome/tradingsystem/inventory/data/enterprise/EnterpriseQueryProvider.java + org/cocome/tradingsystem/inventory/data/persistence/*Transaction*.java + de/kit/ipd/java/tradingsystem/entity/*.java + + + + + org.codehaus.mojo + aspectj-maven-plugin + 1.8 + + 1.7 + 1.7 + 1.7 + + + net.kieker-monitoring + kieker + + + ${basedir}/src/main/resources/META-INF/aop.xml + + + ${basedir}/src/main/java + + ** + + + org/cocome/tradingsystem/inventory/data/store/StoreQueryProvider.java + org/cocome/tradingsystem/inventory/data/enterprise/EnterpriseQueryProvider.java + org/cocome/tradingsystem/inventory/data/persistence/*Transaction*.java + de/kit/ipd/java/tradingsystem/entity/*.java + org/cocome/tradingsystem/util/** + org/cocome/tradingsystem/inventory/application/store/ProductMovementTO.java + org/cocome/tradingsystem/inventory/application/store/StoreServer.java + org/cocome/tradingsystem/inventory/data/enterprise/CloudEnterpriseQueryProvider.java + org/cocome/tradingsystem/inventory/data/enterprise/Product.java + org/cocome/tradingsystem/inventory/data/enterprise/ProductSupplier.java + org/cocome/tradingsystem/inventory/data/enterprise/TradingEnterprise.java + org/cocome/tradingsystem/inventory/data/persistence/ServiceAdapterEntityConverter.java + org/cocome/tradingsystem/inventory/data/store/OrderEntry.java + org/cocome/tradingsystem/inventory/data/store/ProductOrder.java + org/cocome/tradingsystem/inventory/data/store/StockItem.java + org/cocome/tradingsystem/inventory/data/store/Store.java + org/cocome/tradingsystem/cashdeskline/cashdesk/IllegalCashDeskStateException.java + org/cocome/tradingsystem/cashdeskline/cashdesk/userdisplay/MessageKind.java + org/cocome/tradingsystem/cashdeskline/datatypes/*.java + org/cocome/tradingsystem/cashdeskline/events/*Event.java + org/cocome/tradingsystem/remote/access/connection/IPersistenceConnection.java + + + + + + + + compile + test-compile + + + + + + org.apache.maven.plugins + maven-ejb-plugin + + true + + **/I*.class + **/*Event.class + **/*Exception.class + **/scope/CashDeskSessionScoped.class + **/datatypes/*.class + + + org.apache.maven.plugins maven-dependency-plugin diff --git a/cocome-maven-project/cloud-logic-service/cloud-logic-ejb/src/main/resources/META-INF/aop.xml b/cocome-maven-project/cloud-logic-service/cloud-logic-ejb/src/main/resources/META-INF/aop.xml new file mode 100644 index 00000000..b12161cf --- /dev/null +++ b/cocome-maven-project/cloud-logic-service/cloud-logic-ejb/src/main/resources/META-INF/aop.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/cocome-maven-project/cloud-logic-service/cloud-logic-webservice/pom.xml b/cocome-maven-project/cloud-logic-service/cloud-logic-webservice/pom.xml index c24602ea..dc61a3b9 100644 --- a/cocome-maven-project/cloud-logic-service/cloud-logic-webservice/pom.xml +++ b/cocome-maven-project/cloud-logic-service/cloud-logic-webservice/pom.xml @@ -42,6 +42,11 @@ monitoring 0.0.1-SNAPSHOT + + org.aspectj + aspectjrt + 1.8.7 + @@ -55,6 +60,39 @@ --> + + org.codehaus.mojo + aspectj-maven-plugin + 1.8 + + 1.7 + 1.7 + 1.7 + + + net.kieker-monitoring + kieker + + + ${basedir}/src/main/resources/META-INF/aop.xml + + + ${basedir}/src/main/java + + **/**.java + + + + + + + + compile + test-compile + + + + org.apache.maven.plugins maven-war-plugin diff --git a/cocome-maven-project/cloud-logic-service/cloud-logic-webservice/src/main/resources/META-INF/aop.xml b/cocome-maven-project/cloud-logic-service/cloud-logic-webservice/src/main/resources/META-INF/aop.xml new file mode 100644 index 00000000..b12161cf --- /dev/null +++ b/cocome-maven-project/cloud-logic-service/cloud-logic-webservice/src/main/resources/META-INF/aop.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/cocome-maven-project/cloud-web-frontend/pom.xml b/cocome-maven-project/cloud-web-frontend/pom.xml index 95e1e1c7..2e513e29 100644 --- a/cocome-maven-project/cloud-web-frontend/pom.xml +++ b/cocome-maven-project/cloud-web-frontend/pom.xml @@ -49,10 +49,49 @@ monitoring 0.0.1-SNAPSHOT + + org.aspectj + aspectjrt + 1.8.7 + + + org.codehaus.mojo + aspectj-maven-plugin + 1.8 + + 1.7 + 1.7 + 1.7 + + + net.kieker-monitoring + kieker + + + ${basedir}/src/main/resources/aop.xml + + + ${basedir}/src/main/java + + **/**.java + + + + + + + + compile + test-compile + + + + + org.apache.maven.plugins maven-compiler-plugin diff --git a/cocome-maven-project/cloud-web-frontend/src/main/resources/aop.xml b/cocome-maven-project/cloud-web-frontend/src/main/resources/aop.xml new file mode 100644 index 00000000..b12161cf --- /dev/null +++ b/cocome-maven-project/cloud-web-frontend/src/main/resources/aop.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + +