Commits

Don Brown committed b38a1e5

Add heroku deployment info

  • Participants
  • Parent commits 3acce22

Comments (0)

Files changed (2)

+web: java $JAVA_OPTS -jar target/remotable-plugins-container-standalone.jar target/helloworldpage-app-plugin.jar
         </dependency>
     </dependencies>
 
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>log4j</groupId>
+                <artifactId>log4j</artifactId>
+                <version>1.2.15</version>
+                <scope>provided</scope>
+                <exclusions>
+                    <exclusion>
+                        <groupId>javax.jms</groupId>
+                        <artifactId>jms</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
     <build>
+        <finalName>${project.artifactId}</finalName>
         <plugins>
             <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
                     <extractDependencies>true</extractDependencies>
                 </configuration>
             </plugin>
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>com.atlassian.plugins</groupId>
+                                    <artifactId>remotable-plugins-container</artifactId>
+                                    <version>${remotable.plugins.version}</version>
+                                    <classifier>standalone</classifier>
+                                </artifactItem>
+                            </artifactItems>
+                            <stripVersion>true</stripVersion>
+                            <outputDirectory>${build.directory}</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
+
+    <repositories>
+        <repository>
+          <id>atlassian-public</id>
+           <name>Atlassian Maven 2.x Repository</name>
+           <url>https://maven.atlassian.com/repository/public</url>
+        </repository>
+    </repositories>
+    <pluginRepositories>
+        <pluginRepository>
+            <id>atlassian-public</id>
+            <name>Atlassian Maven 2.x Repository</name>
+            <url>https://maven.atlassian.com/repository/public</url>
+        </pluginRepository>
+    </pluginRepositories>
+
     <properties>
         <remotable.plugins.version>0.5.725</remotable.plugins.version>
     </properties>