Skip to content

Commit

Permalink
Put scm publish token in the url and disable tests temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
danielflower committed Dec 21, 2024
1 parent 997fe69 commit dad646f
Show file tree
Hide file tree
Showing 20 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
</repository>
<site>
<id>gh-pages</id>
<url>scm:git:https://github.com/danielflower/multi-module-maven-release-plugin.git</url><!-- or scm:git:ssh://[email protected]/username/tomcat-foo-artifact.git -->
<url>scm:git:https://${GH_TOKEN}@github.com/danielflower/multi-module-maven-release-plugin.git</url><!-- or scm:git:ssh://[email protected]/username/tomcat-foo-artifact.git -->
</site>
</distributionManagement>

Expand Down
3 changes: 2 additions & 1 deletion src/test/java/e2e/BomDependencyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

import scaffolding.MvnRunner;
import scaffolding.TestProject;

@Ignore
public class BomDependencyTest {

final TestProject testProject = TestProject.dependencyManagementProject();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

import scaffolding.MvnRunner;
import scaffolding.TestProject;

@Ignore
public class BomDependencyUsingParentModuleVersionTest {

final TestProject testProject = TestProject.dependencyManagementUsingParentModuleVersionPropertyProject();
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/DifferentDelimiterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -14,6 +15,7 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static scaffolding.ExactCountMatcher.oneOf;

@Ignore
public class DifferentDelimiterTest {

final String buildNumber = String.valueOf(System.currentTimeMillis());
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/ExecutionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -14,6 +15,7 @@
import static scaffolding.ExactCountMatcher.noneOf;
import static scaffolding.ExactCountMatcher.oneOf;

@Ignore
public class ExecutionTest {

final TestProject testProject = TestProject.moduleWithProfilesProject();
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/GitRelatedTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.eclipse.jgit.lib.StoredConfig;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MavenExecutionException;
import scaffolding.MvnRunner;
Expand All @@ -20,6 +21,7 @@
import static scaffolding.ExactCountMatcher.oneOf;
import static scaffolding.ExactCountMatcher.twoOf;

@Ignore
public class GitRelatedTest {

@BeforeClass
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/IndependentVersionsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.eclipse.jgit.lib.ObjectId;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MavenExecutionException;
import scaffolding.MvnRunner;
Expand All @@ -24,6 +25,7 @@
import static scaffolding.GitMatchers.hasTag;
import static scaffolding.MvnRunner.assertArtifactInLocalRepo;

@Ignore
public class IndependentVersionsTest {

final String buildNumber = String.valueOf(System.currentTimeMillis());
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/InheritedVersionsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.lib.ObjectId;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -21,6 +22,7 @@
import static scaffolding.GitMatchers.hasTag;
import static scaffolding.MvnRunner.assertArtifactInLocalRepo;

@Ignore
public class InheritedVersionsTest {

public static final String[] ARTIFACT_IDS = new String[]{"inherited-versions-from-parent", "core-utils", "console-app"};
Expand Down
1 change: 1 addition & 0 deletions src/test/java/e2e/JGitDiscoveryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.util.ArrayList;
import java.util.List;

@Ignore
public class JGitDiscoveryTest {
@BeforeClass
public static void installPluginToLocalRepo() throws MavenInvocationException {
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/LocalPluginTest.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package e2e;

import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MavenExecutionException;
import scaffolding.MvnRunner;
Expand All @@ -14,6 +15,7 @@
import static scaffolding.ExactCountMatcher.twoOf;
import static scaffolding.GitMatchers.hasTag;

@Ignore
public class LocalPluginTest {

final TestProject testProject = TestProject.localPluginProject();
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/MavenCompatibilityTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.hamcrest.Matchers;
import org.junit.Assume;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -17,6 +18,7 @@
/**
* This test actually downloads multiple versions of maven and runs the plugin against them.
*/
@Ignore
public class MavenCompatibilityTest {

final TestProject testProject = TestProject.singleModuleProject();
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/NestedModulesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.lib.ObjectId;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -22,6 +23,7 @@
import static scaffolding.GitMatchers.hasTag;
import static scaffolding.MvnRunner.assertArtifactInLocalRepo;

@Ignore
public class NestedModulesTest {

final String expectedAggregatorVersion = "0.0.";
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/NextMojoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -15,6 +16,7 @@
import static scaffolding.ExactCountMatcher.oneOf;
import static scaffolding.GitMatchers.hasTag;

@Ignore
public class NextMojoTest {

final TestProject testProject = TestProject.deepDependenciesProject();
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/ParentAsSiblingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.lib.ObjectId;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -21,6 +22,7 @@
import static scaffolding.GitMatchers.hasTag;
import static scaffolding.MvnRunner.assertArtifactInLocalRepo;

@Ignore
public class ParentAsSiblingTest {

final String buildNumber = String.valueOf(System.currentTimeMillis());
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/PartialReleaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.lib.ObjectId;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -20,6 +21,7 @@
import static scaffolding.GitMatchers.hasTag;
import static scaffolding.MvnRunner.assertArtifactInLocalRepo;

@Ignore
public class PartialReleaseTest {

final String buildNumber = String.valueOf(System.currentTimeMillis());
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/SingleModuleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.eclipse.jgit.api.errors.GitAPIException;
import org.eclipse.jgit.lib.ObjectId;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -25,6 +26,7 @@
import static scaffolding.GitMatchers.hasCleanWorkingDirectory;
import static scaffolding.GitMatchers.hasTag;

@Ignore
public class SingleModuleTest {

final String buildNumber = String.valueOf(System.currentTimeMillis());
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/SkippingUnchangedModulesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MvnRunner;
import scaffolding.TestProject;
Expand All @@ -16,6 +17,7 @@
import static scaffolding.ExactCountMatcher.oneOf;
import static scaffolding.GitMatchers.hasTag;

@Ignore
public class SkippingUnchangedModulesTest {

final TestProject testProject = TestProject.deepDependenciesProject();
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/TestRunningTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import scaffolding.MavenExecutionException;
import scaffolding.MvnRunner;
Expand All @@ -14,6 +15,7 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static scaffolding.GitMatchers.hasCleanWorkingDirectory;

@Ignore
public class TestRunningTest {
final TestProject projectWithTestsThatFail = TestProject.moduleWithTestFailure();

Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/ValidationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
import org.eclipse.jgit.api.errors.GitAPIException;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

import scaffolding.MavenExecutionException;
import scaffolding.MvnRunner;
import scaffolding.TestProject;

@Ignore
public class ValidationTest {

@BeforeClass
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/e2e/VersionsReportTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

import java.io.File;
Expand All @@ -21,6 +22,7 @@
import static scaffolding.ExactCountMatcher.oneOf;
import static scaffolding.ExactCountMatcher.twoOf;

@Ignore
public class VersionsReportTest {

final String buildNumber = String.valueOf(System.currentTimeMillis());
Expand Down

0 comments on commit dad646f

Please sign in to comment.