Skip to content

Commit

Permalink
increase timeout for starting feature to fix Jenkins build
Browse files Browse the repository at this point in the history
some cleanup, use newest launcher
  • Loading branch information
kwin committed Aug 11, 2022
1 parent 7ef1df3 commit e5da721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 3 additions & 0 deletions sling-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<sling.java.version>8</sling.java.version>
<mavenVersion>3.3.1</mavenVersion><!-- minimum target Maven version this plugin is compatible with -->
<maven.compiler.target>${sling.java.version}</maven.compiler.target><!-- also set target next to release due to https://issues.apache.org/jira/browse/MPLUGIN-404 -->
<starter-its.startTimeoutSeconds>60</starter-its.startTimeoutSeconds><!-- the time in seconds to wait for Sling Starter Feature to be started for the ITs -->
</properties>

<build>
Expand Down Expand Up @@ -110,6 +111,8 @@
<artifactId>feature-launcher-maven-plugin</artifactId>
<version>0.1.2</version>
<configuration>
<!-- newer versions don't work due to https://issues.apache.org/jira/browse/SLING-11158 -->
<featureLauncherVersion>1.1.26</featureLauncherVersion>
<launches>
<launch>
<id>sling-starter-oak-tar</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,13 @@
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

import javax.json.Json;
import javax.json.JsonException;
import javax.json.JsonWriter;

import org.apache.maven.model.Resource;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
Expand All @@ -49,8 +44,6 @@
import io.github.classgraph.AnnotationParameterValue;
import io.github.classgraph.AnnotationParameterValueList;
import io.github.classgraph.ClassGraph;
import io.github.classgraph.ClassGraph.ClasspathElementFilter;
import io.github.classgraph.ClassGraph.ClasspathElementURLFilter;
import io.github.classgraph.ClassInfo;
import io.github.classgraph.ClassInfoList;
import io.github.classgraph.ScanResult;
Expand Down

0 comments on commit e5da721

Please sign in to comment.