root/XerialJ/trunk/pom.xml

Revision 2476, 7.7 kB (checked in by leo, 4 years ago)

pom update

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5  <modelVersion>4.0.0</modelVersion>
6  <groupId>org.xerial</groupId>
7  <artifactId>xerial-project</artifactId>
8  <version>1.1</version>
9  <description>Xerial Project</description>
10  <packaging>pom</packaging>
11  <name>Xerial Project</name>
12
13  <parent>
14    <groupId>org.xerial</groupId>
15    <artifactId>xerial</artifactId>
16    <version>3</version>
17  </parent>
18
19  <modules>
20    <module>xerial-core</module>
21    <module>xerial-storage</module>
22    <module>xerial-raquel</module>
23    <module>xerial-wiki</module>
24    <module>tomcat-server</module>
25    <module>sqlite-jdbc</module>
26    <module>maven-plugin/maven-antlr-plugin</module>
27    <module>maven-plugin/doxia-aqua</module>
28    <module>docs</module>
29  </modules>
30
31  <scm>
32    <connection>scm:svn:http://www.xerial.org/svn/project/XerialJ/trunk</connection>
33    <developerConnection>scm:svn:https://www.xerial.org/svn/project/XerialJ/trunk</developerConnection>
34    <url>http://www.xerial.org/svn/project/XerialJ/trunk</url>
35  </scm>
36
37  <url>http://www.xerial.org/maven/repository/site/xerial</url>
38
39  <dependencies>
40    <dependency>
41      <groupId>junit</groupId>
42      <artifactId>junit</artifactId>
43      <version>4.1</version>
44      <scope>test</scope>
45    </dependency>
46  </dependencies>
47
48  <reporting>
49    <plugins>
50
51      <!-- JUnit test report -->
52      <plugin>
53        <groupId>org.apache.maven.plugins</groupId>
54        <artifactId>maven-surefire-report-plugin</artifactId>
55      </plugin>
56
57      <!-- Javadoc -->
58      <plugin>
59        <groupId>org.apache.maven.plugins</groupId>
60        <artifactId>maven-javadoc-plugin</artifactId>
61        <version>2.2</version>
62        <configuration>
63          <doctitle>${project.artifactId}-${project.version} API</doctitle>
64          <windowtitle>${project.artifactId}-${project.version} Javadoc</windowtitle>
65          <aggregate>false</aggregate>
66          <locale>en_US</locale>
67          <stylesheetfile>${basedir}/target/xerial-style/javadoc.css</stylesheetfile>
68          <overview>${basedir}/target/xerial-style/overview.html</overview>
69          <bottom><![CDATA[<a rel="license" href="http://creativecommons.org/licenses/by-sa/2.1/jp/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.gif" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.1/jp/">Creative Commons Attribution-ShareAlike 2.1 Japan License</a>.<!--<rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Work rdf:about=""><dc:date>2005</dc:date><dc:rights><Agent><dc:title>Taro L. Saito</dc:title></Agent></dc:rights><license rdf:resource="http://creativecommons.org/licenses/by-sa/2.1/jp/" /></Work><License rdf:about="http://creativecommons.org/licenses/by-sa/2.1/jp/"><permits rdf:resource="http://web.resource.org/cc/Reproduction" /><permits rdf:resource="http://web.resource.org/cc/Distribution" /><requires rdf:resource="http://web.resource.org/cc/Notice" /><requires rdf:resource="http://web.resource.org/cc/Attribution" /><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" /><requires rdf:resource="http://web.resource.org/cc/ShareAlike" /></License></rdf:RDF>-->]]></bottom>
70          <excludePackageNames>*.impl</excludePackageNames>
71          <groups>
72            <group>
73              <title>Xerial Core</title>
74              <packages>org.xerial.util*:org.xerial.core*</packages>
75            </group>
76            <group>
77              <title>Xerial JSON</title>
78              <packages>org.xerial.json*</packages>
79            </group>
80            <group>
81              <title>Xerial Raquel</title>
82              <packages>org.xerial.raquel*</packages>
83            </group>
84            <group>
85              <title>Xerial Storage</title>
86              <packages>org.xerial.db*</packages>
87            </group>
88            <group>
89              <title>Xerial Maven Plugin</title>
90              <packages>org.xerial.maven*</packages>
91            </group>
92            <group>
93              <title>Xerial Tomcat Server</title>
94              <packages>org.xerial.tomcat*</packages>
95            </group>
96          </groups>
97          <links>
98            <link>http://java.sun.com/javase/6/docs/api</link>
99            <link>http://www.antlr.org/api/Java</link>
100          </links>
101        </configuration>
102      </plugin>
103
104      <plugin>
105         <groupId>org.apache.maven.plugins</groupId>
106         <artifactId>maven-jxr-plugin</artifactId>
107         <configuration>
108           <aggregate>false</aggregate>
109         </configuration>
110      </plugin>
111
112      <plugin>
113        <groupId>org.apache.maven.plugins</groupId>
114        <artifactId>maven-surefire-report-plugin</artifactId>
115      </plugin>
116    </plugins>
117  </reporting>
118
119
120
121  <build>
122    <!-- this settings are requried to include source codes to the generated jar files -->
123    <resources>
124      <resource>
125        <directory>src/main/java</directory>
126      </resource>
127      <resource>
128        <directory>src/main/resources</directory>
129      </resource>
130    </resources>
131    <testResources>
132      <testResource>
133        <directory>src/test/java</directory>
134      </testResource>
135      <testResource>
136        <directory>src/test/resources</directory>
137      </testResource>
138    </testResources>
139
140    <plugins>
141      <plugin>
142        <groupId>org.apache.maven.plugins</groupId>
143        <artifactId>maven-release-plugin</artifactId>
144        <configuration>
145          <tagBase>https://www.xerial.org/svn/project/XerialJ/tags/${project.artifactId}</tagBase>
146        </configuration>
147      </plugin>
148 
149     <plugin>
150        <groupId>org.apache.maven.plugins</groupId>
151        <artifactId>maven-dependency-plugin</artifactId>
152        <executions>
153          <execution>
154            <id>retrieve-xerial-style</id>
155            <phase>generate-sources</phase>
156            <goals>
157              <goal>unpack</goal>
158            </goals>
159            <configuration>
160              <artifactItems>
161                <artifactItem>
162                  <groupId>org.xerial</groupId>
163                  <artifactId>xerial-style</artifactId>
164                  <version>1.0</version>
165                  <type>jar</type>
166                </artifactItem>
167              </artifactItems>
168              <outputDirectory>${basedir}/target/xerial-style</outputDirectory>
169            </configuration>
170          </execution>
171        </executions>
172      </plugin>
173
174      <plugin>
175        <groupId>org.apache.maven.plugins</groupId>
176        <artifactId>maven-compiler-plugin</artifactId>
177        <configuration>
178          <source>1.5</source>
179          <target>1.5</target>
180        </configuration>
181      </plugin>
182
183      <plugin>
184        <groupId>org.apache.maven.plugins</groupId>
185        <artifactId>maven-site-plugin</artifactId>
186        <configuration>
187          <inputEncoding>Shift_JIS</inputEncoding>
188          <outputEncoding>UTF-8</outputEncoding>
189        </configuration>
190        <dependencies>
191          <dependency>
192            <groupId>org.apache.maven.doxia</groupId>
193            <artifactId>doxia-module-twiki</artifactId>
194            <version>1.0-alpha-10</version>
195          </dependency>
196          <dependency>
197            <groupId>org.xerial.maven</groupId>
198            <artifactId>doxia-aqua</artifactId>
199            <version>1.0.4</version>
200          </dependency>
201        </dependencies>
202      </plugin>
203    </plugins>
204  </build>
205
206
207</project>
208
Note: See TracBrowser for help on using the browser.