Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into snyk-fix-402ba91d…
Browse files Browse the repository at this point in the history
…fe0cf51fcc934f73a9a29545
  • Loading branch information
carlosthe19916 committed Oct 10, 2022
2 parents 7382168 + 6acffc6 commit d6b9704
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 6 deletions.
Expand Up @@ -166,12 +166,14 @@ private void runWindup(List<String> arguments) {

// Target - interactive
Collection<String> targets = (Collection<String>) optionValues.get(TargetOption.NAME);
if (targets != null && targets.contains("eap")) {
System.err.println("ERROR: " + "Version must be specified for target 'eap' (for example, 'eap7' or 'eap6')");
if (targets != null && targets.contains("eap"))
{
System.err.println("ERROR: " + "Version must be specified for target 'eap' (for example, 'eap7' or 'eap8')");
return;
}

if ((targets == null || targets.isEmpty()) && !batchMode.get()) {
if ((targets == null || targets.isEmpty()) && !batchMode.get())
{
String target = Bootstrap.promptForListItem("Please select a target:", ruleProviderRegistryCache.getAvailableTargetTechnologies(), "eap7");
targets = Collections.singleton(target);
optionValues.put(TargetOption.NAME, targets);
Expand Down
4 changes: 4 additions & 0 deletions bootstraps-themed/pom.xml
Expand Up @@ -42,6 +42,10 @@
<groupId>org.jboss.windup.config</groupId>
<artifactId>windup-config-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.windup</groupId>
<artifactId>windup-tooling-api</artifactId>
</dependency>
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
Expand Down
5 changes: 4 additions & 1 deletion exec/api/pom.xml
Expand Up @@ -54,6 +54,9 @@
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
</dependency>
</dependencies>
</project>
Expand Up @@ -40,8 +40,9 @@ public String getLabel() {
}

@Override
public String getDescription() {
return "The target server/technology/framework to migrate to. This could include multiple items (eg, \"eap7\" and \"cloud-readiness\") separated by a space. Use --listTargetTechnologies to get known targets.";
public String getDescription()
{
return "The target server/technology/framework to migrate to. This could include multiple items (eg, \"eap8\" and \"cloud-readiness\") separated by a space. Use --listTargetTechnologies to get known targets.";
}

@Override
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Expand Up @@ -211,6 +211,11 @@
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
<version>3.3.4</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
4 changes: 4 additions & 0 deletions windup-test-harness/pom.xml
Expand Up @@ -24,5 +24,9 @@
<groupId>org.jboss.forge.furnace.test</groupId>
<artifactId>arquillian-furnace-classpath</artifactId>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
</dependency>
</dependencies>
</project>

0 comments on commit d6b9704

Please sign in to comment.