You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2016/03/10 11:57:31 UTC
syncope git commit: Enabling JRebel features for core even when
starting JRebel under console-reference
Repository: syncope
Updated Branches:
refs/heads/master 601a171a5 -> 40288e97c
Enabling JRebel features for core even when starting JRebel under console-reference
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/40288e97
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/40288e97
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/40288e97
Branch: refs/heads/master
Commit: 40288e97c695b2a65636009330ecd6a17d7e1f44
Parents: 601a171
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Thu Mar 10 11:57:21 2016 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Thu Mar 10 11:57:21 2016 +0100
----------------------------------------------------------------------
fit/console-reference/pom.xml | 29 ++++++++
.../src/test/resources/core-rebel.xml | 78 ++++++++++++++++++++
2 files changed, 107 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/40288e97/fit/console-reference/pom.xml
----------------------------------------------------------------------
diff --git a/fit/console-reference/pom.xml b/fit/console-reference/pom.xml
index 62d9dc9..32cc536 100644
--- a/fit/console-reference/pom.xml
+++ b/fit/console-reference/pom.xml
@@ -410,6 +410,28 @@ under the License.
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <id>enableJRebelForCore</id>
+ <phase>package</phase>
+ <configuration>
+ <target>
+ <copy file="${project.build.directory}/test-classes/core-rebel.xml"
+ tofile="${basedir}/../core-reference/target/syncope-fit-core-reference-${project.version}/WEB-INF/classes/rebel.xml"
+ overwrite="true" />
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<inherited>true</inherited>
@@ -435,6 +457,13 @@ under the License.
</executions>
</plugin>
</plugins>
+
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <filtering>true</filtering>
+ </testResource>
+ </testResources>
</build>
</profile>
http://git-wip-us.apache.org/repos/asf/syncope/blob/40288e97/fit/console-reference/src/test/resources/core-rebel.xml
----------------------------------------------------------------------
diff --git a/fit/console-reference/src/test/resources/core-rebel.xml b/fit/console-reference/src/test/resources/core-rebel.xml
new file mode 100644
index 0000000..7709811
--- /dev/null
+++ b/fit/console-reference/src/test/resources/core-rebel.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://www.zeroturnaround.com"
+ xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">
+
+ <classpath fallback="default">
+ <dir name="${basedir}/../core-reference/target/classes">
+ </dir>
+ <dir name="${basedir}/../../common/lib/target/classes">
+ </dir>
+ <dir name="${basedir}/../../common/rest-api/target/classes">
+ </dir>
+ <dir name="${basedir}/../../core/logic/target/classes">
+ <exclude name="logicContext.xml"/>
+ </dir>
+ <dir name="${basedir}/../../core/rest-cxf/target/classes">
+ <exclude name="restCXFContext.xml"/>
+ </dir>
+ <dir name="${basedir}/../../core/spring/target/classes">
+ <exclude name="securityContext.xml"/>
+ </dir>
+ <dir name="${basedir}/../../core/persistence-api/target/classes">
+ </dir>
+ <dir name="${basedir}/../../core/persistence-jpa/target/classes">
+ <exclude name="persistenceContext.xml"/>
+ </dir>
+ <dir name="${basedir}/../../core/provisioning-api/target/classes">
+ </dir>
+ <dir name="${basedir}/../../core/provisioning-java/target/classes">
+ <exclude name="provisioningContext.xml"/>
+ </dir>
+ <dir name="${basedir}/../../core/workflow-api/target/classes">
+ </dir>
+ <dir name="${basedir}/../../core/workflow-java/target/classes">
+ <exclude name="workflowContext.xml"/>
+ </dir>
+ <dir name="${basedir}/../../core/workflow-activiti/target/classes">
+ <exclude name="workflowActivitiContext.xml"/>
+ </dir>
+ <dir name="${basedir}/../../ext/camel/common-lib/target/classes">
+ </dir>
+ <dir name="${basedir}/../../ext/camel/logic/target/classes">
+ </dir>
+ <dir name="${basedir}/../../ext/camel/provisioning-camel/target/classes">
+ <exclude name="provisioningCamelContext.xml"/>
+ </dir>
+ </classpath>
+
+ <web>
+ <link target="/">
+ <dir name="${basedir}/../fit/core-reference/src/main/webapp">
+ </dir>
+ </link>
+ <link target="/">
+ <dir name="${basedir}/../../ext/swagger-ui/target/classes/META-INF/resources">
+ </dir>
+ </link>
+ </web>
+
+</application>