-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathConfluence.README.txt
35 lines (22 loc) · 1.48 KB
/
Confluence.README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
You have successfully created a plugin using the Confluence plugin archetype. What to do now:
1. CUSTOMISE THE PLUGIN
- Run 'mvn eclipse:eclipse' to generate an Eclipse project file.
- Run 'mvn idea:idea' to generate an IDEA project file.
- Edit pom.xml. Add information about your project, its developers and your organisation. Check the version of
Confluence in the dependencies section is correct.
- Edit the plugin descriptor, src/main/resources/atlassian-plugin.xml. Add or modify plugin modules in your project.
- Edit the plugin code in src/main/java/ or the unit tests in src/test/java/.
More documentation on Bamboo plugins is available here:
http://confluence.atlassian.com/display/BAMBOO/Bamboo+Development+Hub
2. BUILD THE PLUGIN
Building with your plugin with Maven is really easy:
- Run 'mvn compile' to compile the plugin.
- Run 'mvn test' to run the unit tests.
- Run 'mvn package' to produce the JAR.
Please remove this file before releasing your plugin.
** NOTE ON RESOURCE FILTERING **
The default pom has 'resource filtering' enabled, which means files in the src/main/resources directory will have
variables in the form ${var} replaced during the build process. For example, the default atlassian-plugin.xml includes
${project.artifactId}, which is replaced with the artifactId taken from the POM when building the plugin.
More information on resource filtering is available in the Maven documentation:
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html