a b/pom.xml
1
<!-- Copyright (c) 2013/2014 Verein zur Foerderung der IT-Sicherheit in Oesterreich (SBA). The work has been developed in the TIMBUS Project and the above-mentioned are Members of the TIMBUS Consortium. 
2
  TIMBUS is supported by the European Union under the 7th Framework Programme for research and technological development and demonstration activities (FP7/2007-2013) under grant agreement no. 269940. Licensed 
3
  under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 
4
  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, 
5
  including without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTIBITLY, or FITNESS FOR A PARTICULAR PURPOSE. In no event and under no legal theory, whether in tort (including 
6
  negligence), contract, or otherwise, unless required by applicable law or agreed to in writing, shall any Contributor be liable for damages, including any direct, indirect, special, incidental, or consequential 
7
  damages of any character arising as a result of this License or out of the use or inability to use the Work. See the License for the specific language governing permissions and limitation under the License. -->
8
<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/xsd/maven-4.0.0.xsd">
9
  <modelVersion>4.0.0</modelVersion>
10
11
  <groupId>org.timbusproject.net</groupId>
12
  <artifactId>PreservationIdentifier-PackageKnowledgeBase</artifactId>
13
  <version>0.1</version>
14
  <packaging>jar</packaging>
15
16
  <name>PreservationIdentifier-PackageKnowledgeBase</name>
17
  <url>http://maven.apache.org</url>
18
19
  <licenses>
20
    <license>
21
      <name>The Apache Software License, Version 2.0</name>
22
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
23
      <distribution>repo</distribution>
24
    </license>
25
  </licenses>
26
  <developers>
27
    <developer>
28
      <id>rmayer</id>
29
      <name>Rudolf Mayer</name>
30
      <email>rmayer@sba-research.org</email>
31
      <organization>SBA Research</organization>
32
    </developer>
33
  </developers>
34
  <organization>
35
    <name>SBA Research</name>
36
    <url>http://www.sba-research.org</url>
37
  </organization>
38
39
  <properties>
40
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41
    <owlapi.version>3.4.5</owlapi.version>
42
  </properties>
43
44
  <distributionManagement>
45
    <repository>
46
      <id>olymp.ifs.tuwien.ac.at</id>
47
      <url>http://olymp.ifs.tuwien.ac.at:8080/archiva/repository/snapshots/</url>
48
    </repository>
49
  </distributionManagement>
50
51
  <dependencies>
52
    <dependency>
53
      <groupId>commons-cli</groupId>
54
      <artifactId>commons-cli</artifactId>
55
      <version>1.2</version>
56
    </dependency>
57
    <dependency>
58
      <groupId>commons-io</groupId>
59
      <artifactId>commons-io</artifactId>
60
      <version>2.4</version>
61
    </dependency>
62
    <dependency>
63
      <groupId>dom4j</groupId>
64
      <artifactId>dom4j</artifactId>
65
      <version>1.6.1</version>
66
    </dependency>
67
    <dependency>
68
      <groupId>org.apache.poi</groupId>
69
      <artifactId>poi</artifactId>
70
      <version>3.9</version>
71
    </dependency>
72
    <dependency>
73
      <groupId>org.apache.poi</groupId>
74
      <artifactId>poi-ooxml</artifactId>
75
      <version>3.9</version>
76
    </dependency>
77
    <dependency>
78
      <groupId>org.apache.commons</groupId>
79
      <artifactId>commons-lang3</artifactId>
80
      <version>3.1</version>
81
    </dependency>
82
    <dependency>
83
      <groupId>org.apache.xmlbeans</groupId>
84
      <artifactId>xmlbeans</artifactId>
85
      <version>2.6.0</version>
86
    </dependency>
87
    <dependency>
88
      <groupId>com.thoughtworks.xstream</groupId>
89
      <artifactId>xstream</artifactId>
90
      <version>1.4.4</version>
91
    </dependency>
92
<dependency>
93
  <groupId>edu.stanford.protege</groupId>
94
  <artifactId>org.semanticweb.owl.owlapi</artifactId>
95
  <version>3.4.4</version>
96
</dependency>
97
            
98
  </dependencies>
99
100
  <build>
101
    <plugins>
102
103
  <plugin>
104
    <groupId>org.codehaus.mojo</groupId>
105
    <artifactId>build-helper-maven-plugin</artifactId>
106
    <executions>
107
      <execution>
108
        <goals>
109
          <goal>add-source</goal>
110
        </goals>
111
        <configuration>
112
          <sources>
113
            <source>src/</source>
114
          </sources>
115
        </configuration>
116
      </execution>
117
    </executions>
118
  </plugin>
119
120
      <plugin>
121
        <groupId>org.apache.maven.plugins</groupId>
122
        <artifactId>maven-compiler-plugin</artifactId>
123
        <configuration>
124
          <source>1.6</source>
125
          <target>1.6</target>
126
        </configuration>
127
      </plugin>
128
      <plugin>
129
        <artifactId>maven-assembly-plugin</artifactId>
130
        <configuration>
131
          <archive>
132
            <manifest>
133
              <mainClass>net.timbusproject.dpes.alternative.kb.VirtualPackageAlternativeIdentifier</mainClass>
134
            </manifest>
135
          </archive>
136
          <descriptors>
137
            <descriptor>src/main/resources/assembly/jar.xml</descriptor>
138
          </descriptors>
139
        </configuration>
140
        <executions>
141
          <execution>
142
            <id>make-assembly</id>
143
            <phase>package</phase>
144
            <goals>
145
              <goal>single</goal>
146
            </goals>
147
          </execution>
148
        </executions>
149
      </plugin>
150
      <plugin>
151
        <artifactId>maven-antrun-plugin</artifactId>
152
        <executions>
153
          <execution>
154
            <phase>package</phase>
155
            <configuration>
156
              <tasks>
157
                <property name="dist" location="./dist" />
158
                <delete includeemptydirs="true">
159
                  <fileset dir="${dist}" includes="**/*" />
160
                </delete>
161
                <property name="jarfile" value="./target/PreservationIdentifier-PackageKnowledgeBase-0.1-final.jar" />
162
                <copy file="${jarfile}" todir="${dist}" />
163
              </tasks>
164
            </configuration>
165
            <goals>
166
              <goal>run</goal>
167
            </goals>
168
          </execution>
169
        </executions>
170
      </plugin>
171
172
    </plugins>
173
  </build>
174
</project>