Skip to content

Commit 6edd82a

Browse files
chore: fix CI by removing examples module; remove *.db files from tests module (#941)
* tests(persistence): remove legacy DB sample files superseded by DBGenerator * chore: fix CI by removing examples module; remove *.db files from tests module Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com> * Fix performRelase var; remove unneeded exception Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com> * Revert impl/tests to match origin/main * Adjusting exec-maven-plugin to not run DbGenerator Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com> * Fix DbGenerator classname Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com> --------- Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
1 parent c9c41eb commit 6edd82a

File tree

3 files changed

+43
-9
lines changed

3 files changed

+43
-9
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Maven release ${{steps.metadata.outputs.current-version}}
6161
run: |
6262
git checkout -b release
63-
mvn -B release:prepare -Prelease -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}}
63+
mvn -B release:prepare -DperformRelease -Prelease -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}}
6464
cat release.properties
6565
git checkout ${{github.base_ref}}
6666
git rebase release

impl/test/pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,34 @@
9696
</plugin>
9797
</plugins>
9898
</build>
99+
<profiles>
100+
<profile>
101+
<id>dbgen</id>
102+
<activation>
103+
<property>
104+
<name>dbgen</name>
105+
<value>true</value>
106+
</property>
107+
</activation>
108+
<build>
109+
<plugins>
110+
<plugin>
111+
<groupId>org.codehaus.mojo</groupId>
112+
<artifactId>exec-maven-plugin</artifactId>
113+
<executions>
114+
<execution>
115+
<id>generate-db-samples</id>
116+
<goals>
117+
<goal>java</goal>
118+
</goals>
119+
<configuration>
120+
<mainClass>io.serverlessworkflow.impl.test.DBGenerator</mainClass>
121+
</configuration>
122+
</execution>
123+
</executions>
124+
</plugin>
125+
</plugins>
126+
</build>
127+
</profile>
128+
</profiles>
99129
</project>

pom.xml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
<module>annotations</module>
4444
<module>generators</module>
4545
<module>serialization</module>
46-
<module>examples</module>
4746
<module>experimental</module>
4847
<module>fluent</module>
4948
<module>mermaid</module>
@@ -559,13 +558,6 @@
559558
<groupId>org.codehaus.mojo</groupId>
560559
<artifactId>exec-maven-plugin</artifactId>
561560
<version>${version.org.codehaus.mojo}</version>
562-
<executions>
563-
<execution>
564-
<goals>
565-
<goal>java</goal>
566-
</goals>
567-
</execution>
568-
</executions>
569561
</plugin>
570562
</plugins>
571563
</pluginManagement>
@@ -584,6 +576,18 @@
584576
</pluginRepositories>
585577

586578
<profiles>
579+
<profile>
580+
<id>examples</id>
581+
<activation>
582+
<property>
583+
<name>performRelease</name>
584+
<value>!true</value>
585+
</property>
586+
</activation>
587+
<modules>
588+
<module>examples</module>
589+
</modules>
590+
</profile>
587591
<profile>
588592
<id>release</id>
589593
<build>

0 commit comments

Comments
 (0)