Skip to content

Commit

Permalink
JBIDE-13746: Attached standalone artifact
Browse files Browse the repository at this point in the history
+ remove ant-contrib jar in favor of Maven dependency
+ Some Maven improvements
  • Loading branch information
mickaelistria committed Mar 27, 2013
1 parent 58901a1 commit 46836af
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 23 deletions.
Binary file not shown.
67 changes: 50 additions & 17 deletions products/browsersim-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,22 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
<version>4.1.0.Alpha2-SNAPSHOT</version>
<relativePath>../jbosstools-build/parent/pom.xml</relativePath>
<groupId>org.jboss.tools.vpe</groupId>
<artifactId>products</artifactId>
<version>3.5.0-SNAPSHOT</version>
</parent>
<properties>
<tycho-version>0.17.0</tycho-version>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools.browsersim</groupId>
<artifactId>org.jboss.tools.browsersim-standalone</artifactId>
<version>3.5.0-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<name>org.jboss.tools.browsersim-standalone</name>
<build>
<plugins>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<version>${tychoVersion}</version>
<configuration>
<includeAllDependencies>true</includeAllDependencies>
</configuration>
Expand All @@ -37,11 +33,7 @@
<mkdir dir="target/application"/>
<mkdir dir="target/application/temp/swt"/>

<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="ant/ant-contrib-1.0b3.jar"/>
</classpath>
</taskdef>
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<path id="org.eclipse.swt.file.id">
<fileset dir="target/repository/plugins">
<include name="org.eclipse.swt.gtk.linux.x86_64_*.jar"/>
Expand Down Expand Up @@ -93,7 +85,48 @@
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>1.0b3</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>attach-standalone</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/application/browsersim.jar</file>
<type>jar</type>
<classifier>standalone</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
13 changes: 7 additions & 6 deletions products/pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<properties>
<tycho-version>0.17.0</tycho-version>
</properties>
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>vpe</artifactId>
<version>3.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
<artifactId>org.jboss.tools.vpe.products</artifactId>
<version>3.4.0-SNAPSHOT</version>
<groupId>org.jboss.tools.vpe</groupId>
<artifactId>products</artifactId>
<packaging>pom</packaging>

<modules>
Expand Down

0 comments on commit 46836af

Please sign in to comment.