Skip to content

Commit 7ce828f

Browse files
committed
Ready for Travis CI build; logo, marketplace entry ( refs #65 )
1 parent 9ba82ca commit 7ce828f

File tree

4 files changed

+135
-1
lines changed

4 files changed

+135
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
language: java

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
JSHint integration for the Eclipse IDE
22
======================================
33

4+
![](jshint-blue.png)
5+
<a href="http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=1157104" title="Drag and drop into a running Eclipse Indigo workspace to install JSHint Eclipse">
6+
<img src="http://marketplace.eclipse.org/sites/all/modules/custom/marketplace/images/installbutton.png"/>
7+
</a>
8+
49
[JSHint](http://www.jshint.com/about/) is a popular, community-driven tool to detect
510
errors and potential problems in JavaScript code. This project integrates JSHint into
611
the Eclipse IDE. It automatically validates \*.js files and adds warning markers for
712
every problem found by JSHint.
813

914
Please see the [project page](http://github.eclipsesource.com/jshint-eclipse/)
10-
for details on features and usage.
15+
for details on features and usage. ([Published on Eclipse Marketplace](<http://marketplace.eclipse.org/content/jshint-eclipse>))
1116

1217
Requirements
1318
------------
@@ -24,6 +29,15 @@ Installation
2429

2530
Install from this Eclipse update site: http://github.eclipsesource.com/jshint-eclipse/updates/
2631

32+
Travis CI build
33+
---------------
34+
35+
EclipseSource: [![Build Status](https://secure.travis-ci.org/eclipsesource/jshint-eclipse.png)](http://travis-ci.org/eclipsesource/jshint-eclipse)
36+
Nodeclipse: [![Build Status](https://secure.travis-ci.org/Nodeclipse/jshint-eclipse.png)](http://travis-ci.org/Nodeclipse/jshint-eclipse)
37+
38+
For Travis CI `pom.xml` from `releng\com.eclipsesource.jshint.build` was copied into base folder,
39+
paths in this pom.xml changes, all other files untouched.
40+
2741
License
2842
-------
2943

jshint-blue.png

11.7 KB
Loading

pom.xml

+119
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
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

Comments
 (0)