Home | History | Annotate | Download | only in integration
      1 <project
      2         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/xsd/maven-4.0.0.xsd">
      5 
      6   <modelVersion>4.0.0</modelVersion>
      7 
      8   <parent>
      9     <groupId>org.slf4j</groupId>
     10     <artifactId>slf4j-parent</artifactId>
     11     <version>1.7.13-SNAPSHOT</version>
     12   </parent>
     13 
     14 
     15   <artifactId>integration</artifactId>
     16   <packaging>jar</packaging>
     17   <name>SLF4J Integration tests</name>
     18 
     19   <url>http://www.slf4j.org</url>
     20   <description>SLF4J integration tests</description>
     21 
     22   <dependencies>
     23     <dependency>
     24       <groupId>org.slf4j</groupId>
     25       <artifactId>slf4j-api</artifactId>
     26     </dependency>
     27 
     28     <!-- declaration to circumvent  http://jira.codehaus.org/browse/MANTRUN-95 -->
     29     <dependency>
     30       <groupId>junit</groupId>
     31       <artifactId>junit</artifactId>
     32       <version>3.8.1</version>
     33     </dependency>
     34     <!-- declaration to circumvent  http://jira.codehaus.org/browse/MANTRUN-95 -->
     35     <dependency>
     36       <groupId>ant</groupId>
     37       <artifactId>ant-junit</artifactId>
     38       <version>1.6.5</version>
     39     </dependency>
     40 
     41 
     42     <!-- some test run Felix in hosted mode -->
     43     <dependency>
     44       <groupId>org.apache.felix</groupId>
     45       <artifactId>org.apache.felix.main</artifactId>
     46       <version>2.0.2</version>
     47     </dependency>
     48   </dependencies>
     49 
     50   <build>
     51     <plugins>
     52       <plugin>
     53         <artifactId>maven-antrun-plugin</artifactId>
     54         <version>1.2</version>
     55         <dependencies>
     56           <dependency>
     57             <groupId>junit</groupId>
     58             <artifactId>junit</artifactId>
     59             <version>3.8.1</version>
     60           </dependency>
     61           <dependency>
     62             <groupId>ant</groupId>
     63             <artifactId>ant-junit</artifactId>
     64             <version>1.6.5</version>
     65           </dependency>
     66         </dependencies>
     67         <executions>
     68           <execution>
     69             <id>ant-test</id>
     70             <phase>package</phase>
     71             <configuration>
     72               <tasks>
     73                 <property name="currentVersion" value="${project.version}"/>
     74                 <property name="compile_classpath" refid="maven.compile.classpath"/>
     75                 <property name="runtime_classpath" refid="maven.runtime.classpath"/>
     76                 <property name="test_classpath" refid="maven.test.classpath"/>
     77                 <property name="plugin_classpath" refid="maven.plugin.classpath"/>
     78                 <ant antfile="${basedir}/build.xml"/>
     79               </tasks>
     80             </configuration>
     81             <goals>
     82               <goal>run</goal>
     83             </goals>
     84           </execution>
     85           <execution>
     86             <id>ant-osgi-test</id>
     87             <phase>package</phase>
     88             <configuration>
     89               <tasks>
     90                 <property name="currentVersion" value="${project.version}"/>
     91                 <property name="test_classpath" refid="maven.test.classpath"/>
     92                 <property name="basedir" value="${basedir}"/>
     93                 <ant antfile="${basedir}/osgi-build.xml"/>
     94               </tasks>
     95             </configuration>
     96             <goals>
     97               <goal>run</goal>
     98             </goals>
     99           </execution>
    100 
    101         </executions>
    102       </plugin>
    103 
    104       <plugin>
    105         <groupId>org.apache.maven.plugins</groupId>
    106         <artifactId>maven-surefire-plugin</artifactId>
    107         <configuration>
    108           <forkMode>once</forkMode>
    109           <reportFormat>plain</reportFormat>
    110           <trimStackTrace>false</trimStackTrace>
    111           <excludes>
    112             <exclude>**/*Test.java</exclude>
    113           </excludes>
    114         </configuration>
    115       </plugin>
    116     </plugins>
    117 
    118 
    119   </build>
    120 
    121 </project>