removed constants from annotations
@@ -51,10 +51,6 @@ public class RebuildMavenMetadataCronJobTestIT
private static final String TRMIR_SNAPSHOTS = "trmir-snapshots";
- private static final String[] CLASSIFIERS = { "javadoc",
- "sources",
- "source-release" };
-
@Inject
private ArtifactMetadataService artifactMetadataService;
@@ -79,7 +75,9 @@ public class RebuildMavenMetadataCronJobTestIT
"2.0-20190512.202015-3",
"2.0-20190512.202015-4",
"2.0-20190512.202015-5" },
- classifiers = CLASSIFIERS)
+ classifiers = { "javadoc",
+ "sources",
+ "source-release" })
List<Path> artifact)
throws Exception
{
@@ -142,7 +140,9 @@ public class RebuildMavenMetadataCronJobTestIT
"2.0-20190512.202015-3",
"2.0-20190512.202015-4",
"2.0-20190512.202015-5" },
- classifiers = CLASSIFIERS)
+ classifiers = { "javadoc",
+ "sources",
+ "source-release" })
List<Path> artifact1,
@MavenTestArtifact(repositoryId = TRMIR_SNAPSHOTS,
id = "org.carlspring.strongbox:strongbox-metadata-second",
@@ -151,7 +151,9 @@ public class RebuildMavenMetadataCronJobTestIT
"2.0-20190512.202015-3",
"2.0-20190512.202015-4",
"2.0-20190512.202015-5" },
- classifiers = CLASSIFIERS)
+ classifiers = { "javadoc",
+ "sources",
+ "source-release" })
List<Path> artifact2)
throws Exception
{
