|
7 | 7 | <modelVersion>4.0.0</modelVersion> |
8 | 8 | <groupId>phpbb</groupId> |
9 | 9 | <artifactId>phpbbauth</artifactId> |
10 | | - <version>1.2-SNAPSHOT</version> |
| 10 | + <version>1.3-SNAPSHOT</version> |
11 | 11 |
|
12 | 12 | <organization> |
13 | 13 | <name>phpBB</name> |
14 | | - <url>http://www.phpbb.com/</url> |
| 14 | + <url>https://www.phpBB.com/</url> |
15 | 15 | </organization> |
16 | 16 |
|
17 | 17 | <name>phpbbauth</name> |
18 | 18 | <description>This is the phpbb:phpbbauth plugin for Atlassian Crowd.</description> |
19 | 19 | <packaging>jar</packaging> |
20 | 20 |
|
| 21 | + <dependencyManagement> |
| 22 | + <dependencies> |
| 23 | + <dependency> |
| 24 | + <groupId>com.atlassian.crowd</groupId> |
| 25 | + <artifactId>atlassian-crowd</artifactId> |
| 26 | + <version>${crowd.version}</version> |
| 27 | + <type>pom</type> |
| 28 | + <scope>import</scope> |
| 29 | + </dependency> |
| 30 | + </dependencies> |
| 31 | + </dependencyManagement> |
| 32 | + |
21 | 33 | <dependencies> |
22 | | - <dependency> |
23 | | - <groupId>junit</groupId> |
24 | | - <artifactId>junit</artifactId> |
25 | | - <version>4.6</version> |
26 | | - <scope>test</scope> |
27 | | - </dependency> |
28 | 34 | <dependency> |
29 | 35 | <groupId>com.atlassian.crowd</groupId> |
30 | 36 | <artifactId>crowd-api</artifactId> |
31 | | - <version>2.4.0</version> |
32 | | - <scope>provided</scope> |
33 | | - </dependency> |
34 | | - <dependency> |
35 | | - <groupId>com.atlassian.crowd</groupId> |
36 | | - <artifactId>crowd-integration-api</artifactId> |
37 | | - <version>2.4.0</version> |
38 | | - <scope>provided</scope> |
39 | 37 | </dependency> |
40 | 38 | </dependencies> |
41 | 39 |
|
42 | 40 | <build> |
43 | 41 | <plugins> |
44 | 42 | <plugin> |
45 | | - <artifactId>maven-compiler-plugin</artifactId> |
| 43 | + <groupId>com.atlassian.maven.plugins</groupId> |
| 44 | + <artifactId>crowd-maven-plugin</artifactId> |
| 45 | + <version>${amps.version}</version> |
| 46 | + <extensions>true</extensions> |
46 | 47 | <configuration> |
47 | | - <source>1.6</source> |
48 | | - <target>1.6</target> |
| 48 | + <productVersion>${crowd.version}</productVersion> |
| 49 | + <productDataVersion>${crowd.data.version}</productDataVersion> |
| 50 | + <enableQuickReload>true</enableQuickReload> |
| 51 | + |
| 52 | + <!-- See here for an explanation of default instructions: --> |
| 53 | + <!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins --> |
| 54 | + <instructions> |
| 55 | + <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key> |
| 56 | + |
| 57 | + <!-- Add package to export here --> |
| 58 | + <Export-Package> |
| 59 | + com.phpbb.crowd, |
| 60 | + </Export-Package> |
| 61 | + |
| 62 | + <Import-Package> |
| 63 | + * |
| 64 | + </Import-Package> |
| 65 | + </instructions> |
| 66 | + <compilerArgument>-Xlint:all</compilerArgument> |
| 67 | + <showDeprecation>true</showDeprecation> |
49 | 68 | </configuration> |
50 | 69 | </plugin> |
| 70 | + <!--plugin> |
| 71 | + <groupId>org.apache.maven.plugins</groupId> |
| 72 | + <artifactId>maven-compiler-plugin</artifactId> |
| 73 | + <configuration> |
| 74 | + <source>1.8</source> |
| 75 | + <target>1.8</target> |
| 76 | + <compilerArgument>-Xlint:all</compilerArgument> |
| 77 | + </configuration> |
| 78 | + </plugin--> |
51 | 79 | </plugins> |
52 | 80 | </build> |
53 | 81 |
|
54 | 82 | <properties> |
55 | | - <crowd.version>2.4.0</crowd.version> |
56 | | - <crowd.data.version>2.4.0</crowd.data.version> |
| 83 | + <crowd.version>3.3.3</crowd.version> |
| 84 | + <crowd.data.version>3.3.3</crowd.data.version> |
| 85 | + <amps.version>8.0.0</amps.version> |
| 86 | + <!-- This property ensures consistency between the key in atlassian-plugin.xml and the OSGi bundle's key. --> |
| 87 | + <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key> |
| 88 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 89 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 90 | + <maven.compiler.target>1.8</maven.compiler.target> |
57 | 91 | </properties> |
58 | 92 |
|
59 | 93 | </project> |
0 commit comments