Skip to content
Browse files

Maven project file for JUnit as OSGi bundle

  • Loading branch information...
1 parent cac8c34 commit 3036aa2fbe9742d4d88dcb23e00a7eb8eac47d1c @Tibor17 committed Jul 19, 2012
Showing with 100 additions and 0 deletions.
  1. +100 −0 pom.xml
View
100 pom.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-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">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.11</version>
+ <packaging>bundle</packaging>
+
+ <name>JUnit</name>
+ <url>http://junit.org</url>
+ <description>JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.</description>
+ <organization>
+ <name>JUnit</name>
+ <url>http://www.junit.org</url>
+ </organization>
+
+ <mailingLists>
+ <mailingList>
+ <name>JUnit Mailing List</name>
+ <post>junit@yahoogroups.com</post>
+ <archive>http://tech.groups.yahoo.com/group/junit/</archive>
+ </mailingList>
+ </mailingLists>
+
+ <licenses>
+ <license>
+ <name>Common Public License Version 1.0</name>
+ <url>http://www.opensource.org/licenses/cpl1.0.txt</url>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:git:git://github.com/KentBeck/junit.git</connection>
+ <developerConnection>scm:git:git@github.com:KentBeck/junit.git</developerConnection>
+ <url>http://github.com/KentBeck/junit/tree/master</url>
+ </scm>
+
+ <developers>
+ <developer>
+ <id>dsaff</id>
+ <name>David Saff</name>
+ <email>david@saff.net</email>
+ </developer>
+ </developers>
+
+ <properties>
+ <org.junit.dependency.hamcrest>1.1</org.junit.dependency.hamcrest>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <inherited>false</inherited>
+ <configuration>
+ <encoding>ISO-8859-1</encoding>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.3.7</version>
+ <inherited>false</inherited>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>org.junit</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>org.hamcrest.*;version="${org.junit.dependency.hamcrest}",junit.*;version="3.8.2",org.junit.*;version="${project.version}</Export-Package>
+ <Bundle-Description>${project.description}</Bundle-Description>
+ <Bundle-License>Common Public License Version 1.0</Bundle-License>
+ <Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
+ <Bundle-DocURL>${project.organization.url}</Bundle-DocURL>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <test>org/junit/tests/AllTests.java</test>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <version>${org.junit.dependency.hamcrest}</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+</project>

0 comments on commit 3036aa2

Please sign in to comment.
Something went wrong with that request. Please try again.