From 318da3f94db2a46159e63b41b42f06d90c4a365f Mon Sep 17 00:00:00 2001 From: Ryan Ashcraft Date: Tue, 25 Apr 2023 12:26:37 -0400 Subject: [PATCH] #1: :truck: migrate to Technology Brewery governance structure and github --- LICENSE | 21 +++++ README.md | 16 ++-- pom.xml | 88 ++++--------------- reinheitsgebot-rules/pom.xml | 3 +- ...ciesIncludingDependencyManagementRule.java | 2 +- ...omDependencyManagementArtifactHandler.java | 2 +- ...ncludingDependencyManagementTestSetup.java | 2 +- ...DependencyManagementDependenciesSteps.java | 2 +- .../reinheitsgebot/RunCucumberTests.java | 2 +- reinheitsgebot-test/pom.xml | 4 +- 10 files changed, 52 insertions(+), 90 deletions(-) create mode 100644 LICENSE rename reinheitsgebot-rules/src/main/java/org/{bitbucket/cpointe => technologybrewery}/reinheitsgebot/BannedDependenciesIncludingDependencyManagementRule.java (99%) rename reinheitsgebot-rules/src/main/java/org/{bitbucket/cpointe => technologybrewery}/reinheitsgebot/FromDependencyManagementArtifactHandler.java (86%) rename reinheitsgebot-rules/src/test/java/org/{bitbucket/cpointe => technologybrewery}/reinheitsgebot/BannedDependenciesIncludingDependencyManagementTestSetup.java (98%) rename reinheitsgebot-rules/src/test/java/org/{bitbucket/cpointe => technologybrewery}/reinheitsgebot/BannedDependencyManagementDependenciesSteps.java (98%) rename reinheitsgebot-rules/src/test/java/org/{bitbucket/cpointe => technologybrewery}/reinheitsgebot/RunCucumberTests.java (88%) diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..43a6ac1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Technology Brewery + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 8e4af07..8c0fd6d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Reinheitsgebot # -[![Maven Central](https://img.shields.io/maven-central/v/org.bitbucket.cpointe.reinheitsgebot/reinheitsgebot.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.bitbucket.cpointe.reinheitsgebot%22%20AND%20a%3A%22reinheitsgdsebot%22) +[![Maven Central](https://img.shields.io/maven-central/v/org.technologybrewery.reinheitsgebot/reinheitsgebot.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.technologybrewery.reinheitsgebot%22%20AND%20a%3A%22reinheitsgdsebot%22) [![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/mit) In German history, Reinheitsgebot (pronounced RINE-HITES-KUH-BOWT) was a ["purity order"](https://en.wikipedia.org/wiki/Reinheitsgebot) regulating the ingredients that @@ -23,7 +23,7 @@ Enforcer Plugin and how to layer Reinheitsgebot into it: - + @@ -39,7 +39,7 @@ Enforcer Plugin and how to layer Reinheitsgebot into it: - org.bitbucket.askllc.fermenter.stout:stout-java + org.technologybrewery.fermenter.stout:stout-java ... @@ -50,7 +50,7 @@ Enforcer Plugin and how to layer Reinheitsgebot into it: - org.bitbucket.cpointe.reinheitsgebot + org.technologybrewery.reinheitsgebot reinheitsgebot-rules 1.0.0-SNAPSHOT @@ -70,10 +70,10 @@ like the following - please note the `(via dependencyManagement)` addition to warning output when the banned dependency exists in dependency management: ``` [INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-banned-dependencies-and-dependency-management-dependencies) @ reinheitsgebot-test --- -[WARNING] Rule 0: org.bitbucket.cpointe.reinheitsgebot.BannedDependenciesIncludingDependencyManagementRule failed with message: +[WARNING] Rule 0: org.technologybrewery.reinheitsgebot.BannedDependenciesIncludingDependencyManagementRule failed with message: Typically, you would like fail the build - but we just want to see warning here -Found Banned Dependency (via dependencyManagement): org.bitbucket.askllc.fermenter.stout:stout-java:jar:1.0.0 -Found Banned Dependency: org.bitbucket.askllc.krausening:krausening:jar:10 +Found Banned Dependency (via dependencyManagement): org.technologybrewery.fermenter.stout:stout-java:jar:1.0.0 +Found Banned Dependency: org.technologybrewery.krausening:krausening:jar:10 Use 'mvn dependency:tree' to locate the source of the banned dependencies. ``` @@ -81,7 +81,7 @@ Use 'mvn dependency:tree' to locate the source of the banned dependencies. Reinheitsgebot uses both the `maven-release-plugin` and the `nexus-staging-maven-plugin` to facilitate the release and deployment of new Reinheitsgebot builds. In order to perform a release, you must: -1.) Obtain a [JIRA](https://issues.sonatype.org/secure/Dashboard.jspa) account with Sonatype OSSRH and access to the `org.bitbucket.askllc` project group +1.) Obtain a [JIRA](https://issues.sonatype.org/secure/Dashboard.jspa) account with Sonatype OSSRH and access to the `org.technologybrewery` project group 2.) Ensure that your Sonatype OSSRH JIRA account credentials are specified in your `settings.xml`: diff --git a/pom.xml b/pom.xml index 4c88d3b..cd3bce8 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,13 @@ 4.0.0 - org.bitbucket.cpointe.reinheitsgebot + + org.technologybrewery + parent + 1 + + + org.technologybrewery.reinheitsgebot reinheitsgebot 1.0.2-SNAPSHOT pom @@ -14,7 +20,7 @@ the standard ability to ban dependencies by checking dependency management in addition to standard dependencies (that is using this rule simultaneously handles banning regular and dependency management dependencies). - https://bitbucket.org/cpointe/reinheitsgebot + https://github.com/TechnologyBrewery/reinheitsgebot @@ -27,31 +33,20 @@ Ryan Ashcraft - ryan@cpointe-inc.com - Counterpointe Solutions Inc. - http://www.cpointe-inc.com + dryanashcraft@gmail.com + Technology Brewery + https://technologybrewery.org - scm:git:ssh://git@bitbucket.org/cpointe/reinheitgebot.git - scm:git:ssh://git@bitbucket.org/cpointe/reinheitsgebot.git - https://bitbucket.org/cpointe/reinheitsgebot/ + scm:git:ssh://git@github.com/TechnologyBrewery/reinheitgebot.git + scm:git:ssh://git@github.com/TechnologyBrewery/reinheitsgebot.git + https://github.com/TechnologyBrewery/reinheitsgebot HEAD - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - - 11 - 11 - UTF-8 - 3.1.0 @@ -60,7 +55,6 @@ org.apache.maven.plugins maven-release-plugin - 2.5.3 true false @@ -71,11 +65,10 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 true ossrh - https://oss.sonatype.org/ + https://s01.oss.sonatype.org/ true @@ -93,57 +86,6 @@ reinheitsgebot-test - - ossrh-release - - reinheitsgebot-rules - reinheitsgebot-test - - - - - org.apache.maven.plugins - maven-source-plugin - 3.2.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.4.0 - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 3.0.1 - - - sign-artifacts - verify - - sign - - - - - - - \ No newline at end of file diff --git a/reinheitsgebot-rules/pom.xml b/reinheitsgebot-rules/pom.xml index f10a1d6..f4c5fc5 100644 --- a/reinheitsgebot-rules/pom.xml +++ b/reinheitsgebot-rules/pom.xml @@ -3,7 +3,7 @@ 4.0.0 - org.bitbucket.cpointe.reinheitsgebot + org.technologybrewery.reinheitsgebot reinheitsgebot 1.0.2-SNAPSHOT @@ -21,7 +21,6 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.2 --tags not @manual diff --git a/reinheitsgebot-rules/src/main/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependenciesIncludingDependencyManagementRule.java b/reinheitsgebot-rules/src/main/java/org/technologybrewery/reinheitsgebot/BannedDependenciesIncludingDependencyManagementRule.java similarity index 99% rename from reinheitsgebot-rules/src/main/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependenciesIncludingDependencyManagementRule.java rename to reinheitsgebot-rules/src/main/java/org/technologybrewery/reinheitsgebot/BannedDependenciesIncludingDependencyManagementRule.java index 2234402..7e76031 100644 --- a/reinheitsgebot-rules/src/main/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependenciesIncludingDependencyManagementRule.java +++ b/reinheitsgebot-rules/src/main/java/org/technologybrewery/reinheitsgebot/BannedDependenciesIncludingDependencyManagementRule.java @@ -1,4 +1,4 @@ -package org.bitbucket.cpointe.reinheitsgebot; +package org.technologybrewery.reinheitsgebot; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.DefaultArtifact; diff --git a/reinheitsgebot-rules/src/main/java/org/bitbucket/cpointe/reinheitsgebot/FromDependencyManagementArtifactHandler.java b/reinheitsgebot-rules/src/main/java/org/technologybrewery/reinheitsgebot/FromDependencyManagementArtifactHandler.java similarity index 86% rename from reinheitsgebot-rules/src/main/java/org/bitbucket/cpointe/reinheitsgebot/FromDependencyManagementArtifactHandler.java rename to reinheitsgebot-rules/src/main/java/org/technologybrewery/reinheitsgebot/FromDependencyManagementArtifactHandler.java index 5eac026..10e7b00 100644 --- a/reinheitsgebot-rules/src/main/java/org/bitbucket/cpointe/reinheitsgebot/FromDependencyManagementArtifactHandler.java +++ b/reinheitsgebot-rules/src/main/java/org/technologybrewery/reinheitsgebot/FromDependencyManagementArtifactHandler.java @@ -1,4 +1,4 @@ -package org.bitbucket.cpointe.reinheitsgebot; +package org.technologybrewery.reinheitsgebot; import org.apache.maven.artifact.handler.DefaultArtifactHandler; diff --git a/reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependenciesIncludingDependencyManagementTestSetup.java b/reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/BannedDependenciesIncludingDependencyManagementTestSetup.java similarity index 98% rename from reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependenciesIncludingDependencyManagementTestSetup.java rename to reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/BannedDependenciesIncludingDependencyManagementTestSetup.java index 9df333c..84ef36d 100644 --- a/reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependenciesIncludingDependencyManagementTestSetup.java +++ b/reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/BannedDependenciesIncludingDependencyManagementTestSetup.java @@ -1,4 +1,4 @@ -package org.bitbucket.cpointe.reinheitsgebot; +package org.technologybrewery.reinheitsgebot; import org.apache.maven.artifact.Artifact; import org.apache.maven.enforcer.rule.api.EnforcerRuleException; diff --git a/reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependencyManagementDependenciesSteps.java b/reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/BannedDependencyManagementDependenciesSteps.java similarity index 98% rename from reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependencyManagementDependenciesSteps.java rename to reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/BannedDependencyManagementDependenciesSteps.java index 16ef978..3a2bae6 100644 --- a/reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/BannedDependencyManagementDependenciesSteps.java +++ b/reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/BannedDependencyManagementDependenciesSteps.java @@ -1,4 +1,4 @@ -package org.bitbucket.cpointe.reinheitsgebot; +package org.technologybrewery.reinheitsgebot; import io.cucumber.java.DefaultDataTableEntryTransformer; import io.cucumber.java.en.Given; diff --git a/reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/RunCucumberTests.java b/reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/RunCucumberTests.java similarity index 88% rename from reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/RunCucumberTests.java rename to reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/RunCucumberTests.java index 37ce975..ed362bd 100644 --- a/reinheitsgebot-rules/src/test/java/org/bitbucket/cpointe/reinheitsgebot/RunCucumberTests.java +++ b/reinheitsgebot-rules/src/test/java/org/technologybrewery/reinheitsgebot/RunCucumberTests.java @@ -1,4 +1,4 @@ -package org.bitbucket.cpointe.reinheitsgebot; +package org.technologybrewery.reinheitsgebot; import io.cucumber.junit.Cucumber; import io.cucumber.junit.CucumberOptions; diff --git a/reinheitsgebot-test/pom.xml b/reinheitsgebot-test/pom.xml index 2b0de23..cc5213f 100644 --- a/reinheitsgebot-test/pom.xml +++ b/reinheitsgebot-test/pom.xml @@ -3,7 +3,7 @@ 4.0.0 - org.bitbucket.cpointe.reinheitsgebot + org.technologybrewery.reinheitsgebot reinheitsgebot 1.0.2-SNAPSHOT @@ -19,7 +19,7 @@ ${version.enforcer} - +