Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Jun 30, 2023
1 parent 1e78206 commit 5c6a09e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions src/it/add-third-party-missing-file/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
# <http://www.gnu.org/licenses/lgpl-3.0.html>.
# #L%
###
invoker.goals=clean generate-resources
invoker.failureBehavior=fail-fast
invoker.goals=clean generate-resources
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
org.json--json--20070829=The JSON License by file url
org.json--json--20230227=The JSON License by file url
javax.resource--connector-api--1.5=CDDL + GPLv2 with classpath exception by file url
10 changes: 3 additions & 7 deletions src/it/add-third-party-missing-file/prebuild.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,10 @@
* #L%
*/

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
import java.util.zip.ZipEntry;
import java.util.jar.JarOutputStream
import java.util.zip.ZipEntry

String missingLicences = "org.json--json--20070829=The JSON License by classpath url\n" +
String missingLicences = "org.json--json--20230227=The JSON License by classpath url\n" +
"javax.resource--connector-api--1.5=CDDL + GPLv2 with classpath exception by classpath url";

JarOutputStream licenseRepo = new JarOutputStream(new FileOutputStream(new File(basedir, "license-repo.jar")));
Expand Down

0 comments on commit 5c6a09e

Please sign in to comment.