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

Last change on this file since 5336 was 5336, checked in by Oliver Schonefeld, 10 years ago
  • use a different approach for getting the version number
  • bump version
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:mime-type set to text/xml
File size: 5.8 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.4-SNAPSHOT</version>
9    </parent>
10    <artifactId>cmdi-validator-tool</artifactId>
11
12    <dependencies>
13        <!-- project dependencies -->
14        <dependency>
15            <groupId>${project.groupId}</groupId>
16            <artifactId>cmdi-validator-core</artifactId>
17            <version>${project.version}</version>
18        </dependency>
19
20        <!-- managed dependencies -->
21        <dependency>
22            <groupId>org.slf4j</groupId>
23            <artifactId>slf4j-api</artifactId>
24        </dependency>
25
26        <dependency>
27            <groupId>org.slf4j</groupId>
28            <artifactId>slf4j-log4j12</artifactId>
29        </dependency>
30
31        <!-- project specific dependencies -->
32        <dependency>
33            <groupId>commons-cli</groupId>
34            <artifactId>commons-cli</artifactId>
35            <version>1.2</version>
36        </dependency>
37
38        <dependency>
39            <groupId>com.github.mfornos</groupId>
40            <artifactId>humanize-slim</artifactId>
41            <version>1.1.5</version>
42        </dependency>
43    </dependencies>
44
45    <build>
46        <plugins>
47            <!--
48            <plugin>
49              <groupId>org.apache.maven.plugins</groupId>
50              <artifactId>maven-javadoc-plugin</artifactId>
51              <executions>
52                <execution>
53                  <id>attach-javadoc</id>
54                  <goals>
55                    <goal>jar</goal>
56                  </goals>
57                </execution>
58              </executions>
59            </plugin>
60            -->
61
62            <plugin>
63                <groupId>org.apache.maven.plugins</groupId>
64                <artifactId>maven-source-plugin</artifactId>
65                <executions>
66                    <execution>
67                        <id>attach-source</id>
68                        <goals>
69                            <goal>jar-no-fork</goal>
70                        </goals>
71                    </execution>
72                </executions>
73            </plugin>
74
75            <plugin>
76                <groupId>org.apache.maven.plugins</groupId>
77                <artifactId>maven-jar-plugin</artifactId>
78                <version>2.4</version>
79                <configuration>
80                    <archive>
81          <manifest>
82            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
83            <mainClass>eu.clarin.cmdi.validator.CMDIValidatorTool</mainClass>
84          </manifest>
85        </archive>
86                </configuration>
87            </plugin>
88
89            <plugin>
90                <groupId>org.apache.maven.plugins</groupId>
91                <artifactId>maven-assembly-plugin</artifactId>
92                <version>2.4</version>
93                <executions>
94                    <execution>
95                        <id>assemble-binary</id>
96                        <phase>package</phase>
97                        <goals>
98                            <goal>single</goal>
99                        </goals>
100                    </execution>
101                </executions>
102                <configuration>
103                    <descriptors>
104                        <descriptor>src/main/assembly/bin.xml</descriptor>
105                    </descriptors>
106                </configuration>
107            </plugin>
108        </plugins>
109
110        <pluginManagement>
111            <plugins>
112                <!-- This plugin's configuration is used to store Eclipse m2e settings
113                     only. It has no influence on the Maven build itself. -->
114                <plugin>
115                    <groupId>org.eclipse.m2e</groupId>
116                    <artifactId>lifecycle-mapping</artifactId>
117                    <version>1.0.0</version>
118                    <configuration>
119                        <lifecycleMappingMetadata>
120                            <pluginExecutions>
121                                <pluginExecution>
122                                    <pluginExecutionFilter>
123                                        <groupId>org.apache.maven.plugins</groupId>
124                                        <artifactId>maven-jar-plugin</artifactId>
125                                        <versionRange>[0.0,)</versionRange>
126                                        <goals>
127                                            <goal>jar</goal>
128                                        </goals>
129                                    </pluginExecutionFilter>
130                                    <action>
131                                        <ignore/>
132                                    </action>
133                                </pluginExecution>
134
135                                <pluginExecution>
136                                    <pluginExecutionFilter>
137                                        <groupId>org.apache.maven.plugins</groupId>
138                                        <artifactId>maven-assembly-plugin</artifactId>
139                                        <versionRange>[0.0,)</versionRange>
140                                        <goals>
141                                            <goal>single</goal>
142                                        </goals>
143                                    </pluginExecutionFilter>
144                                    <action>
145                                        <ignore/>
146                                    </action>
147                                </pluginExecution>
148                            </pluginExecutions>
149                        </lifecycleMappingMetadata>
150                    </configuration>
151                </plugin>
152            </plugins>
153        </pluginManagement>
154    </build>
155</project>
Note: See TracBrowser for help on using the repository browser.