Commit 3d74e261 authored by Francesco Chicchiricco's avatar Francesco Chicchiricco
Browse files

Removing the embedded profile from the console module, use the one under enduser, if needed

parent 43aabbb5
......@@ -203,101 +203,4 @@ ORYX.Editor.createByUrl = function(modelUrl){"/>
</testResource>
</testResources>
</build>
<profiles>
<profile>
<id>embedded</id>
<properties>
<conf.directory>${project.build.directory}/test-classes</conf.directory>
</properties>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>clean verify cargo:run</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<id>setupEmbeddedConf</id>
<phase>package</phase>
<configuration>
<target>
<delete dir="../core/target/syncope/WEB-INF/classes/domains"/>
<copy todir="../core/target/syncope/WEB-INF/classes/domains">
<fileset dir="../core/target/test-classes/domains"/>
</copy>
<copy file="../core/target/test-classes/connid.properties"
todir="../core/target/syncope/WEB-INF/classes"
overwrite="true"/>
<copy file="../core/target/test-classes/db.jsp"
todir="../core/target/syncope"
overwrite="true"/>
<copy file="${project.build.directory}/test-classes/console.properties"
todir="${project.build.directory}/${project.build.finalName}/WEB-INF/classes"
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>
<configuration>
<container>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
</dependencies>
</container>
<configuration>
<type>standalone</type>
<properties>
<cargo.servlet.port>${cargo.servlet.port}</cargo.servlet.port>
<cargo.tomcat.ajp.port>${cargo.tomcat.ajp.port}</cargo.tomcat.ajp.port>
<cargo.rmi.port>${cargo.rmi.port}</cargo.rmi.port>
<cargo.jvmargs>-noverify -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC</cargo.jvmargs>
</properties>
</configuration>
<deployables>
<deployable>
<location>../core/target/syncope</location>
<properties>
<context>syncope</context>
</properties>
</deployable>
<deployable>
<location>${project.build.directory}/${project.build.finalName}</location>
<properties>
<context>syncope-console</context>
</properties>
</deployable>
</deployables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment