|
1 | | -<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/maven-v4_0_0.xsd"> |
2 | | - <modelVersion>4.0.0</modelVersion> |
3 | | - <groupId>com.googlecode.java-diff-utils</groupId> |
4 | | - <artifactId>diffutils</artifactId> |
5 | | - <packaging>jar</packaging> |
6 | | - <version>1.3.0-SNAPSHOT</version> |
7 | | - <name>java-diff-utils</name> |
8 | | - <description>The DiffUtils library for computing diffs, applying patches, generationg side-by-side view in Java.</description> |
9 | | - <url>http://code.google.com/p/java-diff-utils/</url> |
10 | | - <inceptionYear>2009</inceptionYear> |
11 | | - <parent> |
12 | | - <groupId>org.sonatype.oss</groupId> |
13 | | - <artifactId>oss-parent</artifactId> |
14 | | - <version>7</version> |
15 | | - </parent> |
16 | | - <scm> |
17 | | - <connection>scm:svn:http://java-diff-utils.googlecode.com/svn/trunk/</connection> |
18 | | - <developerConnection>scm:svn:https://java-diff-utils.googlecode.com/svn/trunk/</developerConnection> |
19 | | - <url>http://code.google.com/p/java-diff-utils/source/browse/</url> |
20 | | - </scm> |
21 | | - <licenses> |
22 | | - <license> |
23 | | - <name>The Apache Software License, Version 2.0</name> |
24 | | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
25 | | - <distribution>repo</distribution> |
26 | | - <comments>A business-friendly OSS license</comments> |
27 | | - </license> |
28 | | - </licenses> |
29 | | - <properties> |
30 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
31 | | - </properties> |
32 | | - <build> |
33 | | - <plugins> |
34 | | - <plugin> |
35 | | - <groupId>org.apache.maven.plugins</groupId> |
36 | | - <artifactId>maven-compiler-plugin</artifactId> |
37 | | - <configuration> |
38 | | - <source>1.5</source> |
39 | | - <target>1.5</target> |
40 | | - <encoding>UTF-8</encoding> |
41 | | - </configuration> |
42 | | - </plugin> |
43 | | - </plugins> |
44 | | - </build> |
45 | | - <dependencies> |
46 | | - <dependency> |
47 | | - <groupId>junit</groupId> |
48 | | - <artifactId>junit</artifactId> |
49 | | - <version>4.8.1</version> |
50 | | - <type>jar</type> |
51 | | - <scope>test</scope> |
52 | | - </dependency> |
53 | | - </dependencies> |
| 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/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>com.googlecode.java-diff-utils</groupId> |
| 5 | + <artifactId>diffutils</artifactId> |
| 6 | + <packaging>jar</packaging> |
| 7 | + <version>1.3.0-SNAPSHOT</version> |
| 8 | + |
| 9 | + <name>java-diff-utils</name> |
| 10 | + <description>The DiffUtils library for computing diffs, applying patches, generationg side-by-side view in Java.</description> |
| 11 | + <url>http://code.google.com/p/java-diff-utils/</url> |
| 12 | + <inceptionYear>2009</inceptionYear> |
| 13 | + <parent> |
| 14 | + <groupId>org.sonatype.oss</groupId> |
| 15 | + <artifactId>oss-parent</artifactId> |
| 16 | + <version>7</version> |
| 17 | + </parent> |
| 18 | + <scm> |
| 19 | + <connection>scm:svn:http://java-diff-utils.googlecode.com/svn/trunk/</connection> |
| 20 | + <developerConnection>scm:svn:https://java-diff-utils.googlecode.com/svn/trunk/</developerConnection> |
| 21 | + <url>http://code.google.com/p/java-diff-utils/source/browse/</url> |
| 22 | + </scm> |
| 23 | + <licenses> |
| 24 | + <license> |
| 25 | + <name>The Apache Software License, Version 2.0</name> |
| 26 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 27 | + <distribution>repo</distribution> |
| 28 | + <comments>A business-friendly OSS license</comments> |
| 29 | + </license> |
| 30 | + </licenses> |
| 31 | + |
| 32 | + <properties> |
| 33 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 34 | + </properties> |
| 35 | + |
| 36 | + <dependencies> |
| 37 | + <dependency> |
| 38 | + <groupId>junit</groupId> |
| 39 | + <artifactId>junit</artifactId> |
| 40 | + <version>4.11</version> |
| 41 | + <type>jar</type> |
| 42 | + <scope>test</scope> |
| 43 | + </dependency> |
| 44 | + </dependencies> |
| 45 | + |
| 46 | + <build> |
| 47 | + <plugins> |
| 48 | + |
| 49 | + <plugin> |
| 50 | + <groupId>org.apache.maven.plugins</groupId> |
| 51 | + <artifactId>maven-compiler-plugin</artifactId> |
| 52 | + <version>2.3.2</version> |
| 53 | + <configuration> |
| 54 | + <source>1.5</source> |
| 55 | + <target>1.5</target> |
| 56 | + <encoding>UTF-8</encoding> |
| 57 | + </configuration> |
| 58 | + </plugin> |
| 59 | + |
| 60 | + <!-- Make this JAR OSGi ready --> |
| 61 | + <!-- We want to keep packaging type as jar. Therefore we need to customize the MANIFEST.MF. |
| 62 | + See http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html |
| 63 | + --> |
| 64 | + <plugin> |
| 65 | + <artifactId>maven-jar-plugin</artifactId> |
| 66 | + <version>2.4</version> |
| 67 | + <configuration> |
| 68 | + <archive> |
| 69 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 70 | + </archive> |
| 71 | + </configuration> |
| 72 | + </plugin> |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.felix</groupId> |
| 75 | + <artifactId>maven-bundle-plugin</artifactId> |
| 76 | + <version>2.3.7</version> |
| 77 | + <executions> |
| 78 | + <execution> |
| 79 | + <id>bundle-manifest</id> |
| 80 | + <phase>process-classes</phase> |
| 81 | + <goals> |
| 82 | + <goal>manifest</goal> |
| 83 | + </goals> |
| 84 | + </execution> |
| 85 | + </executions> |
| 86 | + </plugin> |
| 87 | + |
| 88 | + </plugins> |
| 89 | + </build> |
| 90 | + |
54 | 91 | </project> |
55 | 92 |
|
0 commit comments