Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikolaj Izdebski2015-06-10 05:04:26 -0400
committerMikolaj Izdebski2015-06-10 05:07:25 -0400
commit066c03d6d6064384c611de540442a21cf75d172a (patch)
treec60b58066ba90e5673492bfc6290ba8dfb7dab4a
parentad9d9ea2fa14f6c0f0b2b2126bc157855e4af2b8 (diff)
downloadorg.eclipse.tycho-066c03d6d6064384c611de540442a21cf75d172a.tar.gz
org.eclipse.tycho-066c03d6d6064384c611de540442a21cf75d172a.tar.xz
org.eclipse.tycho-066c03d6d6064384c611de540442a21cf75d172a.zip
Don't use deprecated plexus-archiver API
DefaultArchivedFileSet.setArchive() method has been removed in future versions of plexus-archiver. Signed-off-by: Mikolaj Izdebski <mizdebsk@redhat.com> Change-Id: I4315bafbf08a4c9e8a83a91e7b1763c7debd9525
-rw-r--r--tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/LicenseFeatureHelper.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/LicenseFeatureHelper.java b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/LicenseFeatureHelper.java
index edf4f3d9e..eaa78b693 100644
--- a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/LicenseFeatureHelper.java
+++ b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/LicenseFeatureHelper.java
@@ -117,8 +117,7 @@ public class LicenseFeatureHelper {
// mavenArchiver ignores license feature files that are also present in 'this' feature
// i.e. if there is a conflict, files from 'this' feature win
- DefaultArchivedFileSet result = new DefaultArchivedFileSet();
- result.setArchive(licenseFeature);
+ DefaultArchivedFileSet result = new DefaultArchivedFileSet(licenseFeature);
result.setIncludes(includes.toArray(new String[includes.size()]));
result.setExcludes(excludes.toArray(new String[excludes.size()]));

Back to the top