source: CMDIValidator/trunk/cmdi-validator-tool/pom.xml @ 5384

Last change on this file since 5384 was 5384, checked in by Oliver Schonefeld, 10 years ago
  • add license stuff
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:mime-type set to text/xml
File size: 6.5 KB
Line 
1<project xmlns="http://maven.apache.org/POM/4.0.0"
2    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4    <modelVersion>4.0.0</modelVersion>
5    <parent>
6        <groupId>eu.clarin.cmdi</groupId>
7        <artifactId>cmdi-validator</artifactId>
8        <version>0.0.5-SNAPSHOT</version>
9    </parent>
10    <artifactId>cmdi-validator-tool</artifactId>
11
12    <name>CMDI Validator Framework - Command Line Application</name>
13    <description>A command line application for batch validation CMDI instances. It uses the CMDI instance validation framework.</description>
14    <organization>
15        <name>CLARIN EU</name>
16        <url>http://www.clarin.eu</url>
17    </organization>
18    <licenses>
19        <license>
20            <name>GNU GENERAL PUBLIC LICENSE, Version 3</name>
21            <url>http://www.gnu.org/licenses/gpl-3.0.txt</url>
22            <distribution>repo</distribution>
23        </license>
24    </licenses>
25
26    <dependencies>
27        <!-- project dependencies -->
28        <dependency>
29            <groupId>${project.groupId}</groupId>
30            <artifactId>cmdi-validator-core</artifactId>
31            <version>${project.version}</version>
32        </dependency>
33
34        <!-- managed dependencies -->
35        <dependency>
36            <groupId>org.slf4j</groupId>
37            <artifactId>slf4j-api</artifactId>
38        </dependency>
39
40        <dependency>
41            <groupId>org.slf4j</groupId>
42            <artifactId>slf4j-log4j12</artifactId>
43        </dependency>
44
45        <!-- project specific dependencies -->
46        <dependency>
47            <groupId>commons-cli</groupId>
48            <artifactId>commons-cli</artifactId>
49            <version>1.2</version>
50        </dependency>
51
52        <dependency>
53            <groupId>com.github.mfornos</groupId>
54            <artifactId>humanize-slim</artifactId>
55            <version>1.1.5</version>
56        </dependency>
57    </dependencies>
58
59    <build>
60        <plugins>
61            <!--
62            <plugin>
63              <groupId>org.apache.maven.plugins</groupId>
64              <artifactId>maven-javadoc-plugin</artifactId>
65              <executions>
66                <execution>
67                  <id>attach-javadoc</id>
68                  <goals>
69                    <goal>jar</goal>
70                  </goals>
71                </execution>
72              </executions>
73            </plugin>
74            -->
75
76            <plugin>
77                <groupId>org.apache.maven.plugins</groupId>
78                <artifactId>maven-source-plugin</artifactId>
79                <executions>
80                    <execution>
81                        <id>attach-source</id>
82                        <goals>
83                            <goal>jar-no-fork</goal>
84                        </goals>
85                    </execution>
86                </executions>
87            </plugin>
88
89            <plugin>
90                <groupId>org.apache.maven.plugins</groupId>
91                <artifactId>maven-jar-plugin</artifactId>
92                <version>2.4</version>
93                <configuration>
94                    <archive>
95          <manifest>
96            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
97            <mainClass>eu.clarin.cmdi.validator.CMDIValidatorTool</mainClass>
98          </manifest>
99        </archive>
100                </configuration>
101            </plugin>
102
103            <plugin>
104                <groupId>org.apache.maven.plugins</groupId>
105                <artifactId>maven-assembly-plugin</artifactId>
106                <version>2.4</version>
107                <executions>
108                    <execution>
109                        <id>assemble-binary</id>
110                        <phase>package</phase>
111                        <goals>
112                            <goal>single</goal>
113                        </goals>
114                    </execution>
115                </executions>
116                <configuration>
117                    <finalName>cmdi-validator-${project.version}-bin</finalName>
118                      <appendAssemblyId>false</appendAssemblyId>
119                    <descriptors>
120                        <descriptor>src/main/assembly/bin.xml</descriptor>
121                    </descriptors>
122                </configuration>
123            </plugin>
124        </plugins>
125
126        <pluginManagement>
127            <plugins>
128                <!-- This plugin's configuration is used to store Eclipse m2e settings
129                     only. It has no influence on the Maven build itself. -->
130                <plugin>
131                    <groupId>org.eclipse.m2e</groupId>
132                    <artifactId>lifecycle-mapping</artifactId>
133                    <version>1.0.0</version>
134                    <configuration>
135                        <lifecycleMappingMetadata>
136                            <pluginExecutions>
137                                <pluginExecution>
138                                    <pluginExecutionFilter>
139                                        <groupId>org.apache.maven.plugins</groupId>
140                                        <artifactId>maven-jar-plugin</artifactId>
141                                        <versionRange>[0.0,)</versionRange>
142                                        <goals>
143                                            <goal>jar</goal>
144                                        </goals>
145                                    </pluginExecutionFilter>
146                                    <action>
147                                        <ignore/>
148                                    </action>
149                                </pluginExecution>
150
151                                <pluginExecution>
152                                    <pluginExecutionFilter>
153                                        <groupId>org.apache.maven.plugins</groupId>
154                                        <artifactId>maven-assembly-plugin</artifactId>
155                                        <versionRange>[0.0,)</versionRange>
156                                        <goals>
157                                            <goal>single</goal>
158                                        </goals>
159                                    </pluginExecutionFilter>
160                                    <action>
161                                        <ignore/>
162                                    </action>
163                                </pluginExecution>
164                            </pluginExecutions>
165                        </lifecycleMappingMetadata>
166                    </configuration>
167                </plugin>
168            </plugins>
169        </pluginManagement>
170    </build>
171</project>
Note: See TracBrowser for help on using the repository browser.