|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + Copyright (C) 2000 - 2017 Silverpeas |
| 5 | +
|
| 6 | + This program is free software: you can redistribute it and/or modify |
| 7 | + it under the terms of the GNU Affero General Public License as |
| 8 | + published by the Free Software Foundation, either version 3 of the |
| 9 | + License, or (at your option) any later version. |
| 10 | +
|
| 11 | + As a special exception to the terms and conditions of version 3.0 of |
| 12 | + the GPL, you may redistribute this Program in connection with Free/Libre |
| 13 | + Open Source Software ("FLOSS") applications as described in Silverpeas's |
| 14 | + FLOSS exception. You should have received a copy of the text describing |
| 15 | + the FLOSS exception, and it is also available here: |
| 16 | + "http://www.silverpeas.org/legal/licensing" |
| 17 | +
|
| 18 | + This program is distributed in the hope that it will be useful, |
| 19 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | + GNU Affero General Public License for more details. |
| 22 | +
|
| 23 | + You should have received a copy of the GNU Affero General Public License |
| 24 | + along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 25 | +
|
| 26 | +--> |
| 27 | + |
1 | 28 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
2 | 29 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 | 30 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
16 | 43 | <url>http://www.silverpeas.org</url>
|
17 | 44 |
|
18 | 45 | <scm>
|
19 |
| - <connection>scm:git@github.com:Silverpeas/Silverpeas-JCR-AccessControl.git</connection> |
20 |
| - <developerConnection>scm:git@github.com:Silverpeas/Silverpeas-JCR-AccessControl.git |
| 46 | + <connection>scm:git:git@github.com:Silverpeas/Silverpeas-JCR-AccessControl.git</connection> |
| 47 | + <developerConnection>scm:git:git@github.com:Silverpeas/Silverpeas-JCR-AccessControl.git |
21 | 48 | </developerConnection>
|
22 | 49 | <url>http://gitub.com/Silverpeas/Silverpeas-JCR-AccessControl.git</url>
|
23 | 50 | <tag>HEAD</tag>
|
|
69 | 96 | </distributionManagement>
|
70 | 97 |
|
71 | 98 | <properties>
|
| 99 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 100 | + <maven.compiler.target>1.8</maven.compiler.target> |
72 | 101 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
73 | 102 | <jackrabbit.version>2.8.0</jackrabbit.version>
|
74 | 103 | </properties>
|
|
108 | 137 | <build>
|
109 | 138 | <pluginManagement>
|
110 | 139 | <plugins>
|
| 140 | + <plugin> |
| 141 | + <groupId>org.apache.maven.plugins</groupId> |
| 142 | + <artifactId>maven-gpg-plugin</artifactId> |
| 143 | + <version>1.6</version> |
| 144 | + </plugin> |
| 145 | + <plugin> |
| 146 | + <groupId>com.mycila</groupId> |
| 147 | + <artifactId>license-maven-plugin</artifactId> |
| 148 | + <version>3.0</version> |
| 149 | + <configuration> |
| 150 | + <header>silverpeas-license.txt</header> |
| 151 | + <quiet>true</quiet> |
| 152 | + <excludes> |
| 153 | + <exclude>**/*.properties</exclude> |
| 154 | + <exclude>**/*.txt</exclude> |
| 155 | + </excludes> |
| 156 | + <encoding>UTF-8</encoding> |
| 157 | + </configuration> |
| 158 | + </plugin> |
| 159 | + <plugin> |
| 160 | + <groupId>org.apache.maven.plugins</groupId> |
| 161 | + <artifactId>maven-jarsigner-plugin</artifactId> |
| 162 | + <version>1.4</version> |
| 163 | + </plugin> |
111 | 164 | <plugin>
|
112 | 165 | <groupId>org.apache.maven.plugins</groupId>
|
113 | 166 | <artifactId>maven-release-plugin</artifactId>
|
114 | 167 | <version>2.5</version>
|
| 168 | + <configuration> |
| 169 | + <localCheckout>true</localCheckout> |
| 170 | + <pushChanges>false</pushChanges> |
| 171 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 172 | + <allowTimestampedSnapshots>true</allowTimestampedSnapshots> |
| 173 | + <goals>deploy</goals> |
| 174 | + </configuration> |
115 | 175 | </plugin>
|
116 | 176 | <plugin>
|
117 | 177 | <groupId>org.apache.maven.plugins</groupId>
|
|
135 | 195 | </plugins>
|
136 | 196 | </pluginManagement>
|
137 | 197 | </build>
|
| 198 | + |
| 199 | + <profiles> |
| 200 | + <profile> |
| 201 | + <id>release-sign-artifacts</id> |
| 202 | + <activation> |
| 203 | + <property> |
| 204 | + <name>performRelease</name> |
| 205 | + <value>true</value> |
| 206 | + </property> |
| 207 | + </activation> |
| 208 | + <build> |
| 209 | + <plugins> |
| 210 | + <plugin> |
| 211 | + <groupId>org.apache.maven.plugins</groupId> |
| 212 | + <artifactId>maven-gpg-plugin</artifactId> |
| 213 | + <executions> |
| 214 | + <execution> |
| 215 | + <id>sign-artifacts</id> |
| 216 | + <phase>verify</phase> |
| 217 | + <goals> |
| 218 | + <goal>sign</goal> |
| 219 | + </goals> |
| 220 | + </execution> |
| 221 | + </executions> |
| 222 | + </plugin> |
| 223 | + </plugins> |
| 224 | + </build> |
| 225 | + </profile> |
| 226 | + </profiles> |
| 227 | + |
| 228 | + <prerequisites> |
| 229 | + <maven>3.2.5</maven> |
| 230 | + </prerequisites> |
138 | 231 | </project>
|
0 commit comments