Skip to content

Commit b4a187a

Browse files
committed
Fix fmt downgrading
Signed-off-by: Ricardo Zanini <[email protected]>
1 parent 7a9d0b3 commit b4a187a

File tree

7 files changed

+11
-21
lines changed

7 files changed

+11
-21
lines changed

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
</executions>
144144
</plugin>
145145
<plugin>
146-
<groupId>com.spotify.fmt</groupId>
146+
<groupId>com.coveo</groupId>
147147
<artifactId>fmt-maven-plugin</artifactId>
148148
<configuration>
149149
<sourceDirectory>src/main/java</sourceDirectory>

diagram/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
</executions>
131131
</plugin>
132132
<plugin>
133-
<groupId>com.spotify.fmt</groupId>
133+
<groupId>com.coveo</groupId>
134134
<artifactId>fmt-maven-plugin</artifactId>
135135
<configuration>
136136
<sourceDirectory>src/main/java</sourceDirectory>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<version.deploy.plugin>2.8.2</version.deploy.plugin>
6161
<version.enforcer.plugin>3.0.0-M2</version.enforcer.plugin>
6262
<version.failsafe.plugin>3.1.2</version.failsafe.plugin>
63-
<version.fmt-maven-plugin>2.9</version.fmt-maven-plugin>
63+
<version.fmt-maven-plugin>2.9.1</version.fmt-maven-plugin>
6464
<version.gpg.plugin>3.1.0</version.gpg.plugin>
6565
<version.jar.plugin>3.2.0</version.jar.plugin>
6666
<version.jdk>${java.version}</version.jdk>

spi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
</executions>
103103
</plugin>
104104
<plugin>
105-
<groupId>com.spotify.fmt</groupId>
105+
<groupId>com.coveo</groupId>
106106
<artifactId>fmt-maven-plugin</artifactId>
107107
<configuration>
108108
<sourceDirectory>src/main/java</sourceDirectory>

utils/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
</executions>
103103
</plugin>
104104
<plugin>
105-
<groupId>com.spotify.fmt</groupId>
105+
<groupId>com.coveo</groupId>
106106
<artifactId>fmt-maven-plugin</artifactId>
107107
<configuration>
108108
<sourceDirectory>src/main/java</sourceDirectory>

utils/src/main/java/io/serverlessworkflow/utils/WorkflowUtils.java

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -117,24 +117,18 @@ public static List<EventDefinition> getDefinedEvents(
117117
.collect(Collectors.toList());
118118
}
119119

120-
/**
121-
* @return {@code int} Returns count of defined event count matching eventKind
122-
*/
120+
/** @return {@code int} Returns count of defined event count matching eventKind */
123121
public static int getDefinedEventsCount(Workflow workflow, EventDefinition.Kind eventKind) {
124122
List<EventDefinition> definedEvents = getDefinedEvents(workflow, eventKind);
125123
return definedEvents == null ? 0 : definedEvents.size();
126124
}
127125

128-
/**
129-
* @return {@code int} Returns count of Defined Consumed Event Count
130-
*/
126+
/** @return {@code int} Returns count of Defined Consumed Event Count */
131127
public static int getDefinedConsumedEventsCount(Workflow workflow) {
132128
return getDefinedEventsCount(workflow, EventDefinition.Kind.CONSUMED);
133129
}
134130

135-
/**
136-
* @return {@code int} Returns count of Defined Produced Event Count
137-
*/
131+
/** @return {@code int} Returns count of Defined Produced Event Count */
138132
public static int getDefinedProducedEventsCount(Workflow workflow) {
139133
return getDefinedEventsCount(workflow, EventDefinition.Kind.PRODUCED);
140134
}
@@ -258,9 +252,7 @@ public static int getWorkflowProducedEventsCount(Workflow workflow) {
258252
return workflowProducedEvents == null ? 0 : workflowProducedEvents.size();
259253
}
260254

261-
/**
262-
* @return Returns function definition for actions
263-
*/
255+
/** @return Returns function definition for actions */
264256
public static FunctionDefinition getFunctionDefinitionsForAction(
265257
Workflow workflow, String action) {
266258
if (!hasFunctionDefs(workflow)) return null;
@@ -275,9 +267,7 @@ public static FunctionDefinition getFunctionDefinitionsForAction(
275267
return functionDefinition.isPresent() ? functionDefinition.get() : null;
276268
}
277269

278-
/**
279-
* @return : Returns @{code List<Action>} which uses a function defintion
280-
*/
270+
/** @return : Returns @{code List<Action>} which uses a function defintion */
281271
public static List<Action> getActionsForFunctionDefinition(
282272
Workflow workflow, String functionDefinitionName) {
283273
if (!hasFunctionDefs(workflow, functionDefinitionName)) return null;

validation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
</executions>
125125
</plugin>
126126
<plugin>
127-
<groupId>com.spotify.fmt</groupId>
127+
<groupId>com.coveo</groupId>
128128
<artifactId>fmt-maven-plugin</artifactId>
129129
<configuration>
130130
<sourceDirectory>src/main/java</sourceDirectory>

0 commit comments

Comments
 (0)