Skip to content

Commit 15f01a0

Browse files
committed
Cleanup unused profiles and scripts + remove DbSchemaDrop, DbSchemaCreate and DbSchemaUpdate main classes
1 parent e495e2e commit 15f01a0

File tree

84 files changed

+28
-6969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+28
-6969
lines changed

modules/flowable-app-engine/pom.xml

-250
Original file line numberDiff line numberDiff line change
@@ -261,256 +261,6 @@
261261
</build>
262262
</profile>
263263

264-
<!-- database qa profile -->
265-
<profile>
266-
<id>database</id>
267-
<activation>
268-
<property>
269-
<name>database</name>
270-
</property>
271-
</activation>
272-
<build>
273-
<plugins>
274-
<plugin>
275-
<groupId>org.apache.maven.plugins</groupId>
276-
<artifactId>maven-antrun-plugin</artifactId>
277-
<executions>
278-
<execution>
279-
<id>database-test-create-schema</id>
280-
<phase>process-test-classes</phase>
281-
<goals>
282-
<goal>run</goal>
283-
</goals>
284-
<configuration>
285-
<tasks>
286-
<echo
287-
message="updating flowable configuration to db ${database}" />
288-
<copy
289-
file="${basedir}/../../qa/db/flowable.app.cfg.xml"
290-
todir="target/test-classes"
291-
overwrite="true">
292-
<filterset
293-
filtersfile="${user.home}/.flowable/jdbc/build.flowable6.${database}.properties" />
294-
</copy>
295-
</tasks>
296-
</configuration>
297-
</execution>
298-
<execution>
299-
<id>database-test-drop-schema</id>
300-
<phase>prepare-package</phase>
301-
<goals>
302-
<goal>run</goal>
303-
</goals>
304-
<configuration>
305-
<tasks>
306-
<echo
307-
message="dropping schema in ${database}" />
308-
<java
309-
classname="org.flowable.app.engine.impl.db.DbSchemaDrop"
310-
classpathref="maven.test.classpath" />
311-
</tasks>
312-
</configuration>
313-
</execution>
314-
</executions>
315-
</plugin>
316-
</plugins>
317-
</build>
318-
</profile>
319-
320-
<profile>
321-
<id>databasemssql</id>
322-
<activation>
323-
<property>
324-
<name>databasemssql</name>
325-
</property>
326-
</activation>
327-
<build>
328-
<plugins>
329-
<plugin>
330-
<groupId>org.apache.maven.plugins</groupId>
331-
<artifactId>maven-antrun-plugin</artifactId>
332-
<executions>
333-
<execution>
334-
<id>database-test-create-schema</id>
335-
<phase>process-test-classes</phase>
336-
<goals>
337-
<goal>run</goal>
338-
</goals>
339-
<configuration>
340-
<tasks>
341-
<echo
342-
message="updating flowable configuration to db ${databasemssql}" />
343-
<copy
344-
file="${basedir}/../../qa/db/flowable.mssql.app.cfg.xml"
345-
tofile="target/test-classes/flowable.app.cfg.xml"
346-
overwrite="true">
347-
<filterset
348-
filtersfile="${user.home}/.flowable/jdbc/build.flowable6.${databasemssql}.properties" />
349-
</copy>
350-
</tasks>
351-
</configuration>
352-
</execution>
353-
<execution>
354-
<id>database-test-drop-schema</id>
355-
<phase>prepare-package</phase>
356-
<goals>
357-
<goal>run</goal>
358-
</goals>
359-
<configuration>
360-
<tasks>
361-
<echo
362-
message="dropping schema in ${databasemssql}" />
363-
<java
364-
classname="org.flowable.app.engine.impl.db.DbSchemaDrop"
365-
classpathref="maven.test.classpath" />
366-
</tasks>
367-
</configuration>
368-
</execution>
369-
</executions>
370-
</plugin>
371-
</plugins>
372-
</build>
373-
</profile>
374-
375-
<profile>
376-
<id>databasewithschema</id>
377-
<activation>
378-
<property>
379-
<name>databasewithschema</name>
380-
</property>
381-
</activation>
382-
<build>
383-
<plugins>
384-
<plugin>
385-
<groupId>org.apache.maven.plugins</groupId>
386-
<artifactId>maven-antrun-plugin</artifactId>
387-
<executions>
388-
<execution>
389-
<id>database-test-create-schema</id>
390-
<phase>process-test-classes</phase>
391-
<goals>
392-
<goal>run</goal>
393-
</goals>
394-
<configuration>
395-
<tasks>
396-
<echo
397-
message="updating flowable configuration to db ${databasewithschema}" />
398-
<copy
399-
file="${basedir}/../../qa/db/schema/flowable.app.cfg.xml"
400-
todir="target/test-classes"
401-
overwrite="true">
402-
<filterset
403-
filtersfile="${user.home}/.flowable/jdbc/build.flowable6.${databasewithschema}.properties" />
404-
</copy>
405-
</tasks>
406-
</configuration>
407-
</execution>
408-
<execution>
409-
<id>database-test-drop-schema</id>
410-
<phase>prepare-package</phase>
411-
<goals>
412-
<goal>run</goal>
413-
</goals>
414-
<configuration>
415-
<tasks>
416-
<echo
417-
message="dropping schema in ${databasewithschema}" />
418-
<java
419-
classname="org.flowable.app.engine.impl.db.DbSchemaDrop"
420-
classpathref="maven.test.classpath" />
421-
</tasks>
422-
</configuration>
423-
</execution>
424-
</executions>
425-
</plugin>
426-
</plugins>
427-
</build>
428-
</profile>
429-
<profile>
430-
<id>oracle</id>
431-
<activation>
432-
<property>
433-
<name>database</name>
434-
<value>oracle</value>
435-
</property>
436-
</activation>
437-
<dependencies>
438-
<dependency>
439-
<groupId>com.oracle.database.jdbc</groupId>
440-
<artifactId>${oracle.jdbc.artifact}</artifactId>
441-
<scope>test</scope>
442-
</dependency>
443-
</dependencies>
444-
</profile>
445-
446-
<profile>
447-
<id>oraclewithschema</id>
448-
<activation>
449-
<property>
450-
<name>databasewithschema</name>
451-
<value>oracle</value>
452-
</property>
453-
</activation>
454-
<dependencies>
455-
<dependency>
456-
<groupId>com.oracle.database.jdbc</groupId>
457-
<artifactId>${oracle.jdbc.artifact}</artifactId>
458-
<scope>test</scope>
459-
</dependency>
460-
</dependencies>
461-
</profile>
462-
463-
<profile>
464-
<id>oraclewithschemaasynchistory</id>
465-
<activation>
466-
<property>
467-
<name>databasewithschemaasynchistory</name>
468-
<value>oracle</value>
469-
</property>
470-
</activation>
471-
<dependencies>
472-
<dependency>
473-
<groupId>com.oracle.database.jdbc</groupId>
474-
<artifactId>${oracle.jdbc.artifact}</artifactId>
475-
<scope>test</scope>
476-
</dependency>
477-
</dependencies>
478-
</profile>
479-
480-
<profile>
481-
<id>db2</id>
482-
<activation>
483-
<property>
484-
<name>database</name>
485-
<value>db2</value>
486-
</property>
487-
</activation>
488-
<dependencies>
489-
<dependency>
490-
<groupId>com.ibm.db2</groupId>
491-
<artifactId>jcc</artifactId>
492-
<scope>test</scope>
493-
</dependency>
494-
</dependencies>
495-
</profile>
496-
497-
<profile>
498-
<id>db2asynchistory</id>
499-
<activation>
500-
<property>
501-
<name>databaseasynchistory</name>
502-
<value>db2</value>
503-
</property>
504-
</activation>
505-
<dependencies>
506-
<dependency>
507-
<groupId>com.ibm.db2</groupId>
508-
<artifactId>jcc</artifactId>
509-
<scope>test</scope>
510-
</dependency>
511-
</dependencies>
512-
</profile>
513-
514264
</profiles>
515265

516266
</project>

modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/db/DbSchemaDrop.java

-64
This file was deleted.

modules/flowable-app-rest/pom.xml

-27
Original file line numberDiff line numberDiff line change
@@ -115,33 +115,6 @@
115115
</build>
116116

117117
<profiles>
118-
<profile>
119-
<id>buildExecutableWar</id>
120-
<build>
121-
<plugins>
122-
<plugin>
123-
<groupId>org.apache.tomcat.maven</groupId>
124-
<artifactId>tomcat7-maven-plugin</artifactId>
125-
<version>2.2</version>
126-
<configuration>
127-
<path>/</path>
128-
</configuration>
129-
<executions>
130-
<execution>
131-
<id>tomcat-run</id>
132-
<goals>
133-
<goal>exec-war-only</goal>
134-
</goals>
135-
<phase>package</phase>
136-
<configuration>
137-
<path>/flowable-rest</path>
138-
</configuration>
139-
</execution>
140-
</executions>
141-
</plugin>
142-
</plugins>
143-
</build>
144-
</profile>
145118
<profile>
146119
<id>swagger</id>
147120
<activation>

0 commit comments

Comments
 (0)