Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleSummary

Section
titleContext
  • We have a tool to design blueprints
  • We design a lot of blueprints (300+) in a number of doctype add-ons (apps, 15+)
  • When we deploy a new version, we need to deploy it to different environments (DEV plus 3+)

automation required

Section
titleUse Case 1: Deploy from a Maven App Project

Artifact currently created and located in the target folder.

Image Added

Code Block
languagetext
themeMidnight
titleDeploy to Local Confluence (DEV)
mvn apptools:deploy -PLOCAL
Code Block
languagetext
themeMidnight
titleDeploy to Test Enviroment (TEST)
mvn apptools:deploy -PTEST
Code Block
languagetext
themeMidnight
titleDeploy to Production (PROD)
mvn apptools:deploy -PPROD
Expand
titleMaven Configuration ...
Transclusion
documentAPPMP:Use in App Project
idsbasic-config-xml

Transclusion
documentAPPMP:Configure Servers
tagsxml

Section
titleUse Case 2: Deploy a Set of Add-ons

Set of apps is defined with the POM.

Image Added


Code Block
mvn apptools:deploy -PTEST -DuseLatest=SNAPSHOT

Image Added

Expand
titleMaven Configuration ...
Code Block
languagexml
titlePlugin Configuration with Apps
<pluginManagement>
  <plugins>
    <plugin>
      <groupId>de.smartics.maven.plugin</groupId>
      <artifactId>apptools-maven-plugin</artifactId>
      <version>${version.apptools-maven-plugin}</version>
      <configuration>
        <order>
          <item>smartics-projectdoc-confluence$</item>
          <item>extension</item>
          <item>core</item>
        </order>

        <artifacts>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence:obr:${version.toolbox}</gav>

          <gav>de.smartics.atlassian:smartics-projectdoc-bookmarklets-extension:obr:${version.extension.bookmarklets}</gav>
          <gav>de.smartics.atlassian:smartics-projectdoc-graph-extension:obr:${version.extension.graph}</gav>
          <gav>de.smartics.atlassian:smartics-projectdoc-infosys-extension:obr:${version.extension.infosys}</gav>
          <gav>de.smartics.atlassian:smartics-projectdoc-maven-extension:obr:${version.extension.maven}</gav>
          <gav>de.smartics.atlassian:smartics-projectdoc-webapi-extension:obr:${version.extension.webapi}</gav>

          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-core:obr:${version.doctypes.core}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-agileplanning:${version.doctypes.agileplanning}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-doctype-addon-app:${version.doctypes.app}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-doctype-addon-cfrs:${version.doctypes.cfrs}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-devdiary:obr:${version.doctypes.devdiary}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-doctype-addon-impact:${version.doctypes.impact}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-doctype-addon-lean:${version.doctypes.lean}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-doctype-addon-okrs:${version.doctypes.okrs}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-prjmgmt:${version.doctypes.prjmgmt}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-riskmgmt:${version.doctypes.riskmgmt}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-doctype-addon-services:${version.doctypes.services}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-doctype-addon-strategy:${version.doctypes.strategy}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-swdev:${version.doctypes.swdev}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-teamwork:${version.doctypes.teamwork}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-doctype-addon-vmodellxt:${version.doctypes.vmodellxt}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-arc42:obr:${version.doctypes.arc42}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-java:obr:${version.doctypes.java}</gav>
          <gav>de.smartics.atlassian.confluence:smartics-projectdoc-confluence-space-maven:obr:${version.doctypes.maven}</gav>
        </artifacts>
      </configuration>
    </plugin>
  ...
  </plugins>
</pluginManagement>
Section
titleWhat is next?
  1. Deploy only if not already is up-to-date
  2. Check HTTP 500 on bulk deployment
Section
titleWhere can I get it?


Url qr code
SizeM
URLhttps://www.smartics.de/go/apptools-maven-plugin

Image Added

Section
titleExcerpt
Display Table
doctypeexcerpt
render-no-hits-as-blanktrue
selectName, Short Description
restrict-to-immediate-childrentrue
sort-bySort Key, Name

...