Skip to content

Commit

Permalink
Cleanup unused profiles and scripts + remove DbSchemaDrop, DbSchemaCr…
Browse files Browse the repository at this point in the history
…eate and DbSchemaUpdate main classes
  • Loading branch information
filiphr committed Jul 16, 2024
1 parent e495e2e commit 15f01a0
Show file tree
Hide file tree
Showing 84 changed files with 28 additions and 6,969 deletions.
250 changes: 0 additions & 250 deletions modules/flowable-app-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -261,256 +261,6 @@
</build>
</profile>

<!-- database qa profile -->
<profile>
<id>database</id>
<activation>
<property>
<name>database</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>database-test-create-schema</id>
<phase>process-test-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo
message="updating flowable configuration to db ${database}" />
<copy
file="${basedir}/../../qa/db/flowable.app.cfg.xml"
todir="target/test-classes"
overwrite="true">
<filterset
filtersfile="${user.home}/.flowable/jdbc/build.flowable6.${database}.properties" />
</copy>
</tasks>
</configuration>
</execution>
<execution>
<id>database-test-drop-schema</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo
message="dropping schema in ${database}" />
<java
classname="org.flowable.app.engine.impl.db.DbSchemaDrop"
classpathref="maven.test.classpath" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>databasemssql</id>
<activation>
<property>
<name>databasemssql</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>database-test-create-schema</id>
<phase>process-test-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo
message="updating flowable configuration to db ${databasemssql}" />
<copy
file="${basedir}/../../qa/db/flowable.mssql.app.cfg.xml"
tofile="target/test-classes/flowable.app.cfg.xml"
overwrite="true">
<filterset
filtersfile="${user.home}/.flowable/jdbc/build.flowable6.${databasemssql}.properties" />
</copy>
</tasks>
</configuration>
</execution>
<execution>
<id>database-test-drop-schema</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo
message="dropping schema in ${databasemssql}" />
<java
classname="org.flowable.app.engine.impl.db.DbSchemaDrop"
classpathref="maven.test.classpath" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>databasewithschema</id>
<activation>
<property>
<name>databasewithschema</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>database-test-create-schema</id>
<phase>process-test-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo
message="updating flowable configuration to db ${databasewithschema}" />
<copy
file="${basedir}/../../qa/db/schema/flowable.app.cfg.xml"
todir="target/test-classes"
overwrite="true">
<filterset
filtersfile="${user.home}/.flowable/jdbc/build.flowable6.${databasewithschema}.properties" />
</copy>
</tasks>
</configuration>
</execution>
<execution>
<id>database-test-drop-schema</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo
message="dropping schema in ${databasewithschema}" />
<java
classname="org.flowable.app.engine.impl.db.DbSchemaDrop"
classpathref="maven.test.classpath" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>oracle</id>
<activation>
<property>
<name>database</name>
<value>oracle</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>${oracle.jdbc.artifact}</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

<profile>
<id>oraclewithschema</id>
<activation>
<property>
<name>databasewithschema</name>
<value>oracle</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>${oracle.jdbc.artifact}</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

<profile>
<id>oraclewithschemaasynchistory</id>
<activation>
<property>
<name>databasewithschemaasynchistory</name>
<value>oracle</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>${oracle.jdbc.artifact}</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

<profile>
<id>db2</id>
<activation>
<property>
<name>database</name>
<value>db2</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.ibm.db2</groupId>
<artifactId>jcc</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

<profile>
<id>db2asynchistory</id>
<activation>
<property>
<name>databaseasynchistory</name>
<value>db2</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.ibm.db2</groupId>
<artifactId>jcc</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

</profiles>

</project>

This file was deleted.

27 changes: 0 additions & 27 deletions modules/flowable-app-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,33 +115,6 @@
</build>

<profiles>
<profile>
<id>buildExecutableWar</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
</configuration>
<executions>
<execution>
<id>tomcat-run</id>
<goals>
<goal>exec-war-only</goal>
</goals>
<phase>package</phase>
<configuration>
<path>/flowable-rest</path>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>swagger</id>
<activation>
Expand Down
Loading

0 comments on commit 15f01a0

Please sign in to comment.