Changeset 5326 for CMDIValidator


Ignore:
Timestamp:
06/06/14 09:05:44 (10 years ago)
Author:
Oliver Schonefeld
Message:
  • re-factor project into two modules
Location:
CMDIValidator/trunk
Files:
9 added
3 deleted
1 edited
3 copied
3 moved

Legend:

Unmodified
Added
Removed
  • CMDIValidator/trunk/pom.xml

    r5204 r5326  
    1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    3         <modelVersion>4.0.0</modelVersion>
    4         <groupId>eu.clarin.cmdi</groupId>
    5         <artifactId>cmdi-validator</artifactId>
    6         <version>0.0.2-SNAPSHOT</version>
     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    <groupId>eu.clarin.cmdi</groupId>
     6    <artifactId>cmdi-validator</artifactId>
     7    <version>0.0.3-SNAPSHOT</version>
     8    <packaging>pom</packaging>
    79
    8         <properties>
    9                 <!-- project settings -->
    10                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    11                 <!-- plug-in settings -->
    12                 <maven.compiler.source>1.6</maven.compiler.source>
    13                 <maven.compiler.target>1.6</maven.compiler.target>
    14                 <!-- versions of dependencies -->
    15                 <slf4j.version>1.7.6</slf4j.version>
    16                 <truevfs.version>0.10.6</truevfs.version>
    17                 <truecommons.version>2.3.4</truecommons.version>
    18         </properties>
     10    <modules>
     11        <module>cmdi-validator-core</module>
     12        <module>cmdi-validator-tool</module>
     13    </modules>
    1914
    20         <dependencies>
    21                 <dependency>
    22                         <groupId>org.slf4j</groupId>
    23                         <artifactId>slf4j-api</artifactId>
    24                         <version>${slf4j.version}</version>
    25                 </dependency>
     15    <properties>
     16        <!-- project settings -->
     17        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     18        <!-- plug-in settings -->
     19        <maven.compiler.source>1.6</maven.compiler.source>
     20        <maven.compiler.target>1.6</maven.compiler.target>
     21        <!-- versions of common dependencies -->
     22        <slf4j.version>1.7.7</slf4j.version>
     23    </properties>
    2624
    27                 <dependency>
    28                         <groupId>org.slf4j</groupId>
    29                         <artifactId>slf4j-log4j12</artifactId>
    30                         <version>${slf4j.version}</version>
    31                 </dependency>
     25    <dependencyManagement>
     26        <dependencies>
     27            <dependency>
     28                <groupId>org.slf4j</groupId>
     29                <artifactId>slf4j-api</artifactId>
     30                <version>${slf4j.version}</version>
     31            </dependency>
    3232
    33                 <dependency>
    34                         <groupId>org.apache.httpcomponents</groupId>
    35                         <artifactId>httpclient</artifactId>
    36                         <version>4.2.5</version>
    37                 </dependency>
     33            <dependency>
     34                <groupId>org.slf4j</groupId>
     35                <artifactId>slf4j-log4j12</artifactId>
     36                <version>${slf4j.version}</version>
     37            </dependency>
     38        </dependencies>
     39    </dependencyManagement>
    3840
    39                 <dependency>
    40                         <groupId>commons-cli</groupId>
    41                         <artifactId>commons-cli</artifactId>
    42                         <version>1.2</version>
    43                 </dependency>
     41    <build>
     42        <pluginManagement>
     43            <plugins>
     44                <plugin>
     45                    <groupId>org.apache.maven.plugins</groupId>
     46                    <artifactId>maven-compiler-plugin</artifactId>
     47                    <version>2.5.1</version>
     48                    <configuration>
     49                        <source>${maven.compiler.source}</source>
     50                        <target>${maven.compiler.target}</target>
     51                    </configuration>
     52                </plugin>
    4453
    45         <dependency>
    46             <groupId>com.github.mfornos</groupId>
    47             <artifactId>humanize-slim</artifactId>
    48             <version>1.1.5</version>
    49         </dependency>
     54                <plugin>
     55                    <groupId>org.apache.maven.plugins</groupId>
     56                    <artifactId>maven-javadoc-plugin</artifactId>
     57                    <version>2.9</version>
     58                </plugin>
    5059
    51                 <dependency>
    52                         <groupId>xerces</groupId>
    53                         <artifactId>xercesImpl-patched</artifactId>
    54                         <version>2.11.0</version>
    55                 </dependency>
    56 
    57         <!-- required for Xerces (patched version has no proper dependencies) -->
    58         <dependency>
    59             <groupId>xml-apis</groupId>
    60             <artifactId>xml-apis</artifactId>
    61             <version>1.4.01</version>
    62         </dependency>
    63 
    64                 <dependency>
    65                         <groupId>net.sf.saxon</groupId>
    66                         <artifactId>Saxon-HE</artifactId>
    67                         <version>9.5.1-4</version>
    68                 </dependency>
    69 
    70                 <!-- TrueVFS -->
    71                 <dependency>
    72                         <groupId>net.java.truevfs</groupId>
    73                         <artifactId>truevfs-access</artifactId>
    74                         <version>${truevfs.version}</version>
    75                 </dependency>
    76 
    77                 <dependency>
    78                         <groupId>net.java.truevfs</groupId>
    79                         <artifactId>truevfs-kernel-impl</artifactId>
    80                         <version>${truevfs.version}</version>
    81                         <scope>runtime</scope>
    82                 </dependency>
    83 
    84                 <dependency>
    85                         <groupId>net.java.truevfs</groupId>
    86                         <artifactId>truevfs-ext-logging</artifactId>
    87                         <version>${truevfs.version}</version>
    88                         <scope>runtime</scope>
    89                 </dependency>
    90 
    91                 <dependency>
    92                         <groupId>net.java.truevfs</groupId>
    93                         <artifactId>truevfs-driver-file</artifactId>
    94                         <version>${truevfs.version}</version>
    95                         <scope>runtime</scope>
    96                 </dependency>
    97 
    98                 <dependency>
    99                         <groupId>net.java.truevfs</groupId>
    100                         <artifactId>truevfs-driver-zip</artifactId>
    101                         <version>${truevfs.version}</version>
    102                         <scope>runtime</scope>
    103                 </dependency>
    104 
    105                 <dependency>
    106                         <groupId>net.java.truecommons</groupId>
    107                         <artifactId>truecommons-key-default</artifactId>
    108                         <version>${truecommons.version}</version>
    109                         <scope>runtime</scope>
    110                 </dependency>
    111 
    112                 <dependency>
    113                         <groupId>org.apache.commons</groupId>
    114                         <artifactId>commons-lang3</artifactId>
    115                         <version>3.1</version>
    116                 </dependency>
    117 
    118                 <dependency>
    119                         <groupId>org.apache.commons</groupId>
    120                         <artifactId>commons-math3</artifactId>
    121                         <version>3.2</version>
    122                 </dependency>
    123         </dependencies>
    124 
    125         <repositories>
    126                 <repository>
    127                         <id>lib</id>
    128                         <url>file://${basedir}/lib</url>
    129                 </repository>
    130         </repositories>
    131 
    132         <build>
    133                 <plugins>
    134                         <plugin>
    135                                 <groupId>org.apache.maven.plugins</groupId>
    136                                 <artifactId>maven-compiler-plugin</artifactId>
    137                                 <version>2.5.1</version>
    138                                 <configuration>
    139                                         <source>${maven.compiler.source}</source>
    140                                         <target>${maven.compiler.target}</target>
    141                                 </configuration>
    142                         </plugin>
    143 
    144                         <plugin>
    145                                 <groupId>org.apache.maven.plugins</groupId>
    146                                 <artifactId>maven-jar-plugin</artifactId>
    147                                 <version>2.4</version>
    148                                 <configuration>
    149                                         <archive>
    150                                                 <manifest>
    151                                                         <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
    152                                                         <mainClass>eu.clarin.cmdi.validator.CMDIValidatorTool</mainClass>
    153                                                 </manifest>
    154                                         </archive>
    155                                 </configuration>
    156                         </plugin>
    157 
    158                         <plugin>
    159                                 <groupId>org.apache.maven.plugins</groupId>
    160                                 <artifactId>maven-assembly-plugin</artifactId>
    161                                 <version>2.4</version>
    162                                 <executions>
    163                                         <execution>
    164                                                 <id>assemble-binary</id>
    165                                                 <phase>package</phase>
    166                                                 <goals>
    167                                                         <goal>single</goal>
    168                                                 </goals>
    169                                         </execution>
    170                                 </executions>
    171                                 <configuration>
    172                                         <descriptors>
    173                                                 <descriptor>src/main/assembly/bin.xml</descriptor>
    174                                         </descriptors>
    175                                 </configuration>
    176                         </plugin>
    177                 </plugins>
    178 
    179                 <pluginManagement>
    180                         <plugins>
    181                                 <!-- This plugin's configuration is used to store Eclipse m2e settings
    182                                         only. It has no influence on the Maven build itself. -->
    183                                 <plugin>
    184                                         <groupId>org.eclipse.m2e</groupId>
    185                                         <artifactId>lifecycle-mapping</artifactId>
    186                                         <version>1.0.0</version>
    187                                         <configuration>
    188                                                 <lifecycleMappingMetadata>
    189                                                         <pluginExecutions>
    190                                                                 <pluginExecution>
    191                                                                         <pluginExecutionFilter>
    192                                                                                 <groupId>org.apache.maven.plugins</groupId>
    193                                                                                 <artifactId>maven-jar-plugin</artifactId>
    194                                                                                 <versionRange>[0.0,)</versionRange>
    195                                                                                 <goals>
    196                                                                                         <goal>jar</goal>
    197                                                                                 </goals>
    198                                                                         </pluginExecutionFilter>
    199                                                                         <action>
    200                                                                                 <ignore />
    201                                                                         </action>
    202                                                                 </pluginExecution>
    203 
    204                                                                 <pluginExecution>
    205                                                                         <pluginExecutionFilter>
    206                                                                                 <groupId>org.apache.maven.plugins</groupId>
    207                                                                                 <artifactId>maven-assembly-plugin</artifactId>
    208                                                                                 <versionRange>[0.0,)</versionRange>
    209                                                                                 <goals>
    210                                                                                         <goal>single</goal>
    211                                                                                 </goals>
    212                                                                         </pluginExecutionFilter>
    213                                                                         <action>
    214                                                                                 <ignore />
    215                                                                         </action>
    216                                                                 </pluginExecution>
    217                                                         </pluginExecutions>
    218                                                 </lifecycleMappingMetadata>
    219                                         </configuration>
    220                                 </plugin>
    221                         </plugins>
    222                 </pluginManagement>
    223         </build>
     60                <plugin>
     61                    <groupId>org.apache.maven.plugins</groupId>
     62                    <artifactId>maven-source-plugin</artifactId>
     63                    <version>2.2</version>
     64                </plugin>
     65            </plugins>
     66        </pluginManagement>
     67    </build>
    22468</project>
Note: See TracChangeset for help on using the changeset viewer.