Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LMSA-9011 - changes for crosslister #17

Merged
merged 5 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Description
# -----------
# This workflow builds and releases the maven artifact
#
# Setup
# -----
# 1. Create the following secrets inside GitHub:
# - LMS_GIT_CONFIG (Base64 encoded .gitconfig file)

name: Maven Release

on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Setup git and other necessary files
run: |
echo -n '${{ secrets.LMS_GIT_CONFIG }}' | base64 -d > ~/.gitconfig
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Release prepare/perform
run: mvn clean release:prepare release:perform -B
78 changes: 1 addition & 77 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@
</license>
</licenses>

<distributionManagement>
<repository>
<name>Sonatype OSS Repository</name>
<id>Sonatype-OSS</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<name>Sonatype OSS Snapshot Repository</name>
<id>Sonatype-OSS</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<scm>
<connection>scm:git:https://github.com/indiana-university/lms-canvas-crosslisting.git</connection>
<developerConnection>scm:git:https://github.com/indiana-university/lms-canvas-crosslisting.git</developerConnection>
Expand All @@ -82,12 +69,8 @@
<webjars-locator.version>0.47</webjars-locator.version>

<plugins.compiler.version>3.11.0</plugins.compiler.version>
<plugins.gpg.version>3.1.0</plugins.gpg.version>
<plugins.javadoc.version>3.5.0</plugins.javadoc.version>
<plugins.license.version>2.0.0</plugins.license.version>
<plugins.nexus-staging.version>1.6.13</plugins.nexus-staging.version>
<plugins.release.version>3.0.0</plugins.release.version>
<plugins.source.version>3.3.0</plugins.source.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -314,26 +297,14 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${plugins.nexus-staging.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>Sonatype-OSS</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${plugins.release.version}</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
<goals>install</goals>
</configuration>
</plugin>
</plugins>
Expand All @@ -355,53 +326,6 @@
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${plugins.source.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${plugins.javadoc.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${plugins.gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>denodo</id>
<dependencies>
Expand Down
Loading