Skip to content

polopoly/confluence-nexus-plugin

Repository files navigation

Introduction

This is Confluence Plugin that List Maven Artifact(s) information in Confluence page via Macro. There also have a configuration page used to configure Nexus credential, Nexus URL and default Group ID used to search Maven Artifact(s).

Confluence

Tested on Confluence 4.0 and 3.4.3

Nexus

  • Tested on Nexus 1.9.2.2
  • Tested on Nexus 2.x
  • Tested on Nexus 3.x

Compilation

To compile you need apache maven 2 (tested with 2.2.1) using the following switches:

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

since the atlassian repository is not well configured (as of 20210324).

Release Notes

confluence-nexus-plugin-1.5.6

  • view commit Added ignore unit test
  • view commit Use java.util.logging so we can see when the plugin is used in tomcat logs.
  • view commit Added missing scripts
  • view commit [maven-release-plugin] prepare for next development iteration

confluence-nexus-plugin-1.5.5

  • view commit gson should be embedded in the bundle.
  • view commit [maven-release-plugin] prepare for next development iteration

confluence-nexus-plugin-1.5.4

  • view commit Settings are still not saved.
  • view commit [maven-release-plugin] prepare for next development iteration

confluence-nexus-plugin-1.5.3

  • view commit The plugin was not saving correctly the new nexus3 property.
  • view commit Updated deploy instructions
  • view commit Updated deploy instructions
  • view commit [maven-release-plugin] prepare for next development iteration

confluence-nexus-plugin-1.5.2

confluence-nexus-plugin-1.5.1

  • view commit Made plugin search more specificly for the artifacts, removed unused code, added some more info to the most common error message, added ignore of DS_Store and made the plugin ignore inherited polopoly.version property when printing supported version.

confluence-nexus-plugin-1.5.0

  • view commit MDCPD-188 Add validation and tune unit test case
  • view commit MDCPD-188 Make the maven repo link customizable from configuration page
  • view commit Merge branch 'master' of github.com:polopoly/confluence-nexus-plugin
  • view commit MDCPD-168 MDCPD-170 Change text label

Deploy guide

You need to use java 1.8

(Re)Deploy an existing release

mvn clean install deploy -Pdeploy

Prepare for a release

First you need to generate the release notes, use the last tag generated:

./getReleaseNotes.sh  confluence-nexus-plugin-xxxx | pbcopy

Edit the file README.md by adding the new release on top and pasting the output of the script above and then push to git.

git commit -a -m "update release notes"
git push
mvn clean install deploy release:prepare -Pdeploy -DautoVersionSubmodules=true
mvn clean install deploy release:perform -Pdeploy

For these two tasks you can use the scripts:

./releasePrepare.sh <maven settings.xml>
./releasePerform.sh <maven settings.xml>

Cleanup a broken release

Sometimes when you perform a release it may fail with an error Unable to tag SCM.

You need to clean the release

mvn release:clean

and remove the tag from the local and remote git:

git tag -d confluence-nexus-plugin-xxxx
git push --delete origin confluence-nexus-plugin-xxxx

finally you can cleanup the checked out files (this will revert all the modified files!!!):

git reset HEAD --hard

Then you can try to release it again.

About

A Confluence Plugin to List Nexus Artifacts

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages