Publish site/docs to ID website
[cql-java-moved-to-github.git] / pom.xml
1 <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">
2   <modelVersion>4.0.0</modelVersion>
3   <groupId>org.z3950.zing</groupId>
4   <artifactId>cql-java</artifactId>
5   <packaging>jar</packaging>
6   <version>1.11-SNAPSHOT</version>
7   <name>cql-java</name>
8   <url>http://www.indexdata.com/cql-java</url>
9   <inceptionYear>2008</inceptionYear>
10   <organization>
11     <name>Index Data</name>
12     <url>http://www.indexdata.com</url>
13   </organization>
14   <developers>
15     <developer>
16       <name>Mike Taylor</name>      
17       <id>mike</id>
18       <email>mike@indexdata.com</email>
19       <organization>Index Data</organization>
20       <organizationUrl>http://www.indexdata.com/</organizationUrl>
21       <roles />
22       <timezone />
23     </developer>
24     <developer>
25       <name>Jakub Skoczen</name>
26       <id>jakub</id>
27       <email>jakub@indexdata.dk</email>
28       <organization>Index Data</organization>
29       <organizationUrl>http://www.indexdata.com/</organizationUrl>
30       <roles />
31       <timezone />
32     </developer>
33   </developers>
34   <scm>
35     <connection>scm:git:ssh://git.indexdata.com:222/home/git/pub/cql-java</connection>
36     <url>http://git.indexdata.com/?p=cql-java.git</url>
37   </scm>
38   <issueManagement>
39     <system>Bugzilla</system>
40     <url>http://bugzilla.indexdata.dk/</url>
41   </issueManagement>
42   <ciManagement>
43     <system>hudson</system>
44     <url>http://hudson.indexdata.com/</url>
45   </ciManagement>
46   <reporting>
47     <plugins>
48       <plugin>
49         <groupId>org.apache.maven.plugins</groupId>
50         <artifactId>maven-javadoc-plugin</artifactId>
51         <version>2.8.1</version>
52         <configuration>
53           <chartset>UTF-8</chartset>
54         </configuration>
55       </plugin>
56     </plugins>
57   </reporting>
58   <build>
59     <extensions>
60       <extension>
61         <groupId>org.apache.maven.wagon</groupId>
62         <artifactId>wagon-ssh</artifactId>
63         <version>2.2</version>
64       </extension>
65       <extension>
66         <groupId>org.apache.maven.wagon</groupId>
67         <artifactId>wagon-ssh-external</artifactId>
68         <version>2.2</version>
69       </extension>
70     </extensions>
71     <plugins>
72       <plugin>
73         <groupId>org.apache.maven.plugins</groupId>
74         <artifactId>maven-compiler-plugin</artifactId>
75         <version>2.0.2</version>
76         <configuration>
77           <source>1.6</source>
78           <target>1.6</target>
79         </configuration>
80       </plugin>
81       <plugin>
82         <groupId>org.apache.maven.plugins</groupId>
83         <artifactId>maven-release-plugin</artifactId>
84         <version>2.2.2</version>
85         <configuration>
86           <preparationGoals>clean verify</preparationGoals>
87           <releaseProfiles>production</releaseProfiles>
88           <tagNameFormat>v@{project.version}</tagNameFormat>
89           <pushChanges>false</pushChanges>
90           <localCheckout>true</localCheckout>
91         </configuration>
92       </plugin>
93     </plugins>
94   </build>
95   <dependencies>
96     <dependency>
97       <groupId>junit</groupId>
98       <artifactId>junit</artifactId>
99       <version>3.8.1</version>
100       <scope>test</scope>
101     </dependency>
102   </dependencies>
103   <distributionManagement>
104     <repository>
105       <uniqueVersion>false</uniqueVersion>
106       <id>id-maven-repo</id>
107       <name>Index Data Maven Repository</name>
108       <url>scp://maven.indexdata.com:222/var/www/maven/repository</url>
109     </repository>
110     <site>
111       <id>id-website</id>
112       <url>scpexe://www.indexdata.com/var/www/software/cql-java/</url>
113     </site>
114   </distributionManagement>
115   <repositories>
116     <repository>
117       <id>id-maven-repo</id>
118       <url>http://maven.indexdata.com</url>
119     </repository>
120   </repositories>
121   <properties>
122     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
123   </properties>
124   <profiles>
125         <profile>
126       <id>maven-3</id>
127       <activation>
128         <file>
129           <!--  This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
130           <exists>${basedir}</exists>
131         </file>
132       </activation>
133       <build>
134         <pluginManagement>
135           <plugins>
136             <plugin>
137               <groupId>org.apache.maven.plugins</groupId>
138               <artifactId>maven-site-plugin</artifactId>
139               <version>3.0</version>
140             </plugin>
141           </plugins>
142         </pluginManagement>
143         <plugins>
144           <plugin>
145             <artifactId>maven-site-plugin</artifactId>
146             <executions>
147               <execution>
148                 <id>attach-descriptor</id>
149                 <goals>
150                   <goal>attach-descriptor</goal>
151                 </goals>
152               </execution>
153             </executions>
154           </plugin>
155         </plugins>
156       </build>
157     </profile>
158   </profiles>
159 </project>
160