Skip to content

Commit

Permalink
Do not test implicitly on project: pack
Browse files Browse the repository at this point in the history
  • Loading branch information
jeka-bot committed Feb 22, 2025
1 parent b2c5d6f commit 1b07d2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ public JkProject setDuplicateConflictStrategy(JkCoordinate.ConflictStrategy dupl

// ------------------------- Run ---------------------------


/**
* Sets a {@link Runnable} to create the JAR used by {@link #prepareRunJar(RuntimeDeps)}
*/
Expand Down Expand Up @@ -374,9 +373,7 @@ public JkJavaProcess prepareRunMain() {
/**
* Creates {@link JkJavaProcess} to execute the jar having the specified artifact name.
* The jar is created on the fly if it is not already present.
*
* @param artifactClassifier The classifier of the artifact to run. In a project producing a side 'fat' jar, you can use
* 'fat'. If you want to run the main artifact, just use ''.
* @param runtimeDepInclusion If <code>INCLUDE</code>, the runtime dependencies will be added to the classpath. This should
* values <code>EXCLUDE</code> in case of <i>fat</i> jar.
*/
Expand Down
2 changes: 1 addition & 1 deletion dev.jeka.master/jeka-src/SamplesTester.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void run() {

// Test with injecting dep via @JkDep(...)
run("dev.jeka.samples.jacoco", "-la=false -cp=../../plugins/dev.jeka.plugins.jacoco " +
"project: pack : checkGeneratedReport");
"project: test pack : checkGeneratedReport");

// No Jeka deps test samples
run("dev.jeka.samples.basic", "cleanPackPublish checkedValue=A checkValueIsA");
Expand Down

0 comments on commit 1b07d2a

Please sign in to comment.