|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project 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 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <properties> |
| 8 | + <tycho-version>0.16.0</tycho-version> |
| 9 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 10 | + </properties> |
| 11 | + |
| 12 | + <prerequisites> |
| 13 | + <maven>3.0</maven> |
| 14 | + </prerequisites> |
| 15 | + |
| 16 | + <name>jshint-eclipse</name> |
| 17 | + |
| 18 | + <groupId>com.eclipsesource.jshint</groupId> |
| 19 | + <artifactId>com.eclipsesource.jshint.releng</artifactId> |
| 20 | + <version>0.9.8-SNAPSHOT</version> |
| 21 | + <packaging>pom</packaging> |
| 22 | + |
| 23 | + <modules> |
| 24 | + <module>bundles/com.eclipsesource.jshint</module> |
| 25 | + <module>bundles/com.eclipsesource.jshint.ui</module> |
| 26 | + <module>tests/com.eclipsesource.jshint.test</module> |
| 27 | + <module>tests/com.eclipsesource.jshint.ui.test</module> |
| 28 | + <module>releng/com.eclipsesource.jshint.feature</module> |
| 29 | + <module>releng/com.eclipsesource.jshint.build/repository</module> |
| 30 | + </modules> |
| 31 | + |
| 32 | + <!-- repositories to get pre-built pieces from --> |
| 33 | + <repositories> |
| 34 | + <repository> |
| 35 | + <id>target-repo</id> |
| 36 | + <layout>p2</layout> |
| 37 | + <url>http://download.eclipse.org/releases/indigo/</url> |
| 38 | + </repository> |
| 39 | + <repository> |
| 40 | + <!-- need stable orbit repository, since latest release does not contain rhino 1.7.4 --> |
| 41 | + <id>orbit-stable-repo</id> |
| 42 | + <layout>p2</layout> |
| 43 | + <url>http://download.eclipse.org/tools/orbit/downloads/drops/R20130517111416/repository/</url> |
| 44 | + </repository> |
| 45 | + <repository> |
| 46 | + <id>swtbot-repo</id> |
| 47 | + <layout>p2</layout> |
| 48 | + <url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</url> |
| 49 | + </repository> |
| 50 | + <repository> |
| 51 | + <id>mockito-repo</id> |
| 52 | + <layout>p2</layout> |
| 53 | + <url>http://download.eclipsesource.com/~rsternberg/mockito-all/</url> |
| 54 | + </repository> |
| 55 | + </repositories> |
| 56 | + |
| 57 | + <pluginRepositories> |
| 58 | + <pluginRepository> |
| 59 | + <id>maven.eclipse.org</id> |
| 60 | + <url>http://maven.eclipse.org/nexus/content/repositories/milestone-indigo</url> |
| 61 | + </pluginRepository> |
| 62 | + </pluginRepositories> |
| 63 | + |
| 64 | + <build> |
| 65 | + <plugins> |
| 66 | + |
| 67 | + <plugin> |
| 68 | + <!-- Enable tycho --> |
| 69 | + <groupId>org.eclipse.tycho</groupId> |
| 70 | + <artifactId>tycho-maven-plugin</artifactId> |
| 71 | + <version>${tycho-version}</version> |
| 72 | + <extensions>true</extensions> |
| 73 | + </plugin> |
| 74 | + |
| 75 | + <plugin> |
| 76 | + <groupId>org.eclipse.tycho</groupId> |
| 77 | + <artifactId>tycho-packaging-plugin</artifactId> |
| 78 | + <version>${tycho-version}</version> |
| 79 | + <configuration> |
| 80 | + <format>yyyyMMdd-HHmm</format> |
| 81 | + </configuration> |
| 82 | + </plugin> |
| 83 | + |
| 84 | + <plugin> |
| 85 | + <groupId>org.eclipse.tycho</groupId> |
| 86 | + <artifactId>tycho-source-plugin</artifactId> |
| 87 | + <version>${tycho-version}</version> |
| 88 | + <executions> |
| 89 | + <execution> |
| 90 | + <id>plugin-source</id> |
| 91 | + <goals> |
| 92 | + <goal>plugin-source</goal> |
| 93 | + </goals> |
| 94 | + </execution> |
| 95 | + </executions> |
| 96 | + </plugin> |
| 97 | + |
| 98 | + <plugin> |
| 99 | + <groupId>org.eclipse.tycho</groupId> |
| 100 | + <artifactId>tycho-surefire-plugin</artifactId> |
| 101 | + <version>${tycho-version}</version> |
| 102 | + <configuration> |
| 103 | + <useUIHarness>true</useUIHarness> |
| 104 | + <appArgLine>-nl en -consoleLog</appArgLine> |
| 105 | + <includes> |
| 106 | + <include>**/*Test.*</include> |
| 107 | + </includes> |
| 108 | + <runOrder>random</runOrder> |
| 109 | + <dependency> |
| 110 | + <type>eclipse-feature</type> |
| 111 | + <artifactId>org.eclipse.rcp</artifactId> |
| 112 | + <version>0.0.0</version> |
| 113 | + </dependency> |
| 114 | + </configuration> |
| 115 | + </plugin> |
| 116 | + </plugins> |
| 117 | + </build> |
| 118 | + |
| 119 | +</project> |
0 commit comments