This package contains bash scripts that can be used as libraries in bash scripts
mvn release:clean release:prepare
mvn release:perform
Add the below to your Pom File this will copy the library files into the /target/bash folder
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack Bash Library</id>
<goals>
<goal>unpack</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>io.github.randy-blancett</groupId>
<artifactId>BashLibrary</artifactId>
<version>1.0.0</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target/bash</outputDirectory>
<includes>lib/*</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
Initial release
1) Install GnuPG
sudo apt install gnupg
2) Generate a Key
gpg --gen-key
3) get Key ID
gpg --list-keys
4) Publish Key
gpg --keyserver keyserver.ubuntu.com --send-keys [Key_ID]
1) Cut Release
mvn release:prepare
mvn release:perform
Repository URL: 'https://oss.sonatype.org/#welcome'
1) Log in to nexus at https://s01.oss.sonatype.org/#welcome 2) Go to Stagin Repositoryies on the left under Build Promotion 3) Select the repository there and click the Close button across the top. 4) Wait for the process to finish
1) Need to add connection information to ~/.m2/settings.xml 2) Add
<server>
<id>ossrh</id>
<username>UserName</username>
<password>Password</password>
</server>