1. Jon Mort
  2. autoplan

Commits

jmort  committed ae6d607

AUTOPLAN-1: initial import

git-svn-id: https://adaptavist.jira.com/svn/AUTOPLAN/trunk@8720e6edf6fb-f266-4316-afb4-e53d95876a76

  • Participants
  • Parent commits e877ca2
  • Branches master

Comments (0)

Files changed (4)

File .gitignore

View file
  • Ignore whitespace
+*.iml
+*.ipr
+*.iws
+target/

File pom.xml

View file
  • Ignore whitespace
+<?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.adaptavist.bamboo</groupId>
+    <artifactId>autoplan</artifactId>
+    <version>1.0-SNAPSHOT</version>
+
+    <organization>
+        <name>Adaptavist.com Ltd</name>
+        <url>http://www.adaptavist.com/</url>
+    </organization>
+
+    <name>Auto Plugin Plan</name>
+    <description>This plugin creates a Bamboo plan based on an Atlassian Plugin Pom.</description>
+    <packaging>atlassian-plugin</packaging>
+
+    <properties>
+        <bamboo.version>3.2.2</bamboo.version>
+        <bamboo.data.version>2.6.1</bamboo.data.version>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>com.atlassian.bamboo</groupId>
+            <artifactId>atlassian-bamboo-web</artifactId>
+            <version>${bamboo.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.8.1</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.atlassian.maven.plugins</groupId>
+                <artifactId>maven-bamboo-plugin</artifactId>
+                <version>3.4</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <productVersion>${bamboo.version}</productVersion>
+                    <productDataVersion>${bamboo.data.version}</productDataVersion>
+                </configuration>
+            </plugin>
+	          <!--
+              If you have dependencies that ship with your plugin you should use the shade plugin to include them in the final jar
+              Uncomment the section below and add any jars you want to include by adding <include>groupId:artifactId</include> between the artifactSet elements.
+              See http://atlss.in/mhgZm6 for more information
+            -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+		            <version>1.4</version>
+                <executions>
+                   <execution>
+                     <phase>package</phase>
+                     <goals>
+                       <goal>shade</goal>
+                     </goals>
+                     <!--
+                     <configuration>
+                       <artifactSet>
+                          <includes>
+                            <include>com.mygroupid:my-artifact-id</include>
+                          </includes>
+                        </artifactSet>
+                      </configuration>
+                      -->
+                   </execution>
+                </executions>
+            </plugin>
+          
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.6</source>
+                    <target>1.6</target>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

File src/main/resources/atlassian-plugin.xml

View file
  • Ignore whitespace
+<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
+    <plugin-info>
+        <description>${project.description}</description>
+        <version>${project.version}</version>
+        <vendor name="${project.organization.name}" url="${project.organization.url}" />
+    </plugin-info>
+
+    <resource type="i18n" name="i18n" location="i18n"/>
+
+</atlassian-plugin>

File src/main/resources/i18n.properties

  • Ignore whitespace
Empty file added.