Permalink
Browse files

Merge pull request #2 from nataliab/master

pom.xml fixed to use tycho eclipse-plugin packaging
  • Loading branch information...
2 parents c5cf995 + 8d171f0 commit 3f4bce75c76877ab0038318e8f2b1629ff426af0 @pulse00 committed Dec 4, 2012
Showing with 38 additions and 32 deletions.
  1. +38 −32 pom.xml
View
@@ -4,36 +4,21 @@
<groupId>org.getcomposer</groupId>
<artifactId>org.getcomposer.core</artifactId>
- <packaging>jar</packaging>
+ <packaging>eclipse-plugin</packaging>
+
<version>0.0.1-SNAPSHOT</version>
<name>Java Composer API</name>
<description>Javabindings for the PHP dependency manager composer.</description>
- <dependencies>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.2.2</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.10</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.2.1</version>
- </dependency>
- </dependencies>
+
<organization>
<name>PDT Extension Group</name>
<url>http://pdt-extensions.org/</url>
</organization>
<scm>
<url>https://github.com/pulse00/Composer-Java-Bindings.git</url>
<connection>git</connection>
- <developerConnection>Robert GrŸndler</developerConnection>
+ <developerConnection>Robert Gr�ndler</developerConnection>
<tag>composer</tag>
</scm>
<ciManagement>
@@ -42,29 +27,50 @@
</ciManagement>
<url>https://github.com/pulse00/Composer-Java-Bindings</url>
+ <properties>
+ <tycho-version>0.15.0</tycho-version>
+ </properties>
+
+ <repositories>
+ <repository>
+ <id>github</id>
+ <layout>p2</layout>
+ <url>http://pulse00.github.com/p2/</url>
+ </repository>
+ <repository>
+ <id>juno</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/releases/juno</url>
+ </repository>
+ </repositories>
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <fork>true</fork>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
</plugin>
-
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-compiler-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-packaging-plugin</artifactId>
+ <version>${tycho-version}</version>
<configuration>
<archive>
- <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+ <addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
- </plugins>
-
+ </plugins>
</build>
</project>

0 comments on commit 3f4bce7

Please sign in to comment.