Skip to content

Commit

Permalink
Fixed pom for releasing the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
themnd committed Mar 24, 2021
1 parent 460aafd commit 0438a61
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ amps-standalone
apache-maven-2.2.1/
localrepo2/
dependency-jars/
*.iml
49 changes: 42 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>com.atex.confluence.plugin</groupId>
<artifactId>confluence-nexus-plugin</artifactId>
<version>1.5.2-SNAPSHOT</version>

<organization>
<name>Atex</name>
<url>http://www.atex.com/</url>
</organization>

<name>Nexus Metadata Confluence Tabulator</name>
<description>This is the com.atex.confluence.plugin:confluence-nexus-plugin for Atlassian Confluence.</description>
<packaging>atlassian-plugin</packaging>


<scm>
<connection>scm:git:git@github.com:polopoly/confluence-nexus-plugin.git</connection>
<developerConnection>scm:git:git@github.com:polopoly/confluence-nexus-plugin.git</developerConnection>
<url>https://github.com/polopoly/confluence-nexus-plugin</url>
<tag>HEAD</tag>
</scm>

<dependencies>
<dependency>
<groupId>com.atlassian.confluence</groupId>
Expand Down Expand Up @@ -78,7 +85,7 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand All @@ -101,7 +108,7 @@
</plugin>
</plugins>
</build>

<properties>
<confluence.version>3.4.3</confluence.version>
<confluence.data.version>3.1</confluence.data.version>
Expand All @@ -124,7 +131,7 @@
<repository>
<id>atlassian-external</id>
<url>https://packages.atlassian.com/maven-external/</url>
</repository>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
Expand Down Expand Up @@ -155,7 +162,35 @@
<!-- deploy profile -->
<profile>
<id>deploy</id>

<distributionManagement>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>polopoly-pd-plugins</id>
<name>Polopoly Product Plugins</name>
<url>http://maven.polopoly.com/nexus/content/repositories/polopoly-pd-plugins</url>
<layout>default</layout>
</repository>
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<id>polopoly-pd-plugins-snapshots</id>
<name>Polopoly Plugin Snapshots</name>
<url>http://maven.polopoly.com/nexus/content/repositories/polopoly-pd-plugins-snapshots</url>
<layout>default</layout>
</snapshotRepository>
</distributionManagement>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<!-- bundles the site output into a JAR so that it can be deployed to nexus -->
<plugin>
Expand Down
6 changes: 3 additions & 3 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
</bannerLeft>

<skin>
<groupId>com.polopoly.extensions</groupId>
<artifactId>gt-example-plugin-site-skin</artifactId>
<version>10.4.0-0e345d8</version>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>1.3.1</version>
</skin>

<body>
Expand Down

0 comments on commit 0438a61

Please sign in to comment.