Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
* Remove unused Attributes
* Configure maven-release-plugin to make the release easier
  • Loading branch information
gaol committed Dec 4, 2024
1 parent 942e43b commit 8bff047
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 26 deletions.
9 changes: 0 additions & 9 deletions galleon-feature-pack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,6 @@
</modules>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
Expand Down
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,15 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
<preparationGoals>clean install</preparationGoals>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>wildfly-assembly-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,6 @@
*/
public abstract class VertxOptionsAttributes implements VertxConstants {

public static final SimpleAttributeDefinition VERTX_OPTION_FILE_PATH = new SimpleAttributeDefinitionBuilder(VertxConstants.ATTR_PATH, ModelType.STRING)
.setRequired(true)
.setAllowExpression(true)
.build();

private static final List<AttributeDefinition> VERTX_OPTIONS_FILE_ATTRS = new ArrayList<>();
static {
VERTX_OPTIONS_FILE_ATTRS.add(VERTX_OPTION_FILE_PATH);
}

/**
* @return Attributes used in element like: /subsystem=vertx/vertx-options-file=vof
*/
static List<AttributeDefinition> getVertxOptionsFileAttributes() {
return VERTX_OPTIONS_FILE_ATTRS;
}

public static final SimpleAttributeDefinition ATTR_EVENTLOOP_POOL_SIZE = new SimpleAttributeDefinitionBuilder(VertxConstants.ATTR_EVENTLOOP_POOL_SIZE, ModelType.INT)
.setRequired(false)
.setAllowExpression(true)
Expand Down

0 comments on commit 8bff047

Please sign in to comment.