Skip to content

Commit 2304992

Browse files
authored
Merge pull request #25 from robbinspg/eclipsewtp
Add eclipse WTP support
2 parents 438b1ce + a54f498 commit 2304992

File tree

2 files changed

+314
-297
lines changed

2 files changed

+314
-297
lines changed

dashboard/pom.xml

Lines changed: 148 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,155 @@
11
<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/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.ibm.runtimetools</groupId>
5-
<version>1.0.0</version>
6-
<artifactId>javametrics-dash</artifactId>
7-
<packaging>war</packaging>
8-
<name>dashboard</name>
9-
<description>Application Metrics for Java (web UI)</description>
10-
<url>https://github.com/RuntimeTools/javametrics</url>
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.ibm.runtimetools</groupId>
5+
<version>1.0.0</version>
6+
<artifactId>javametrics-dash</artifactId>
7+
<packaging>war</packaging>
8+
<name>dashboard</name>
9+
<description>Application Metrics for Java (web UI)</description>
10+
<url>https://github.com/RuntimeTools/javametrics</url>
1111

12-
<properties>
13-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15-
</properties>
12+
<properties>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15+
</properties>
1616

17-
<licenses>
18-
<license>
19-
<name>The Apache Software License, Version 2.0</name>
20-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
21-
</license>
22-
</licenses>
17+
<licenses>
18+
<license>
19+
<name>The Apache Software License, Version 2.0</name>
20+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
21+
</license>
22+
</licenses>
2323

24-
<scm>
25-
<connection>scm:git:git://github.com/runtimetools/javametrics.git</connection>
26-
<developerConnection>scm:git:ssh://github.com/runtimetools/javametrics.git</developerConnection>
27-
<url>http://github.com/runtimetools/javametrics.git/tree/master</url>
28-
</scm>
24+
<scm>
25+
<connection>scm:git:git://github.com/runtimetools/javametrics.git</connection>
26+
<developerConnection>scm:git:ssh://github.com/runtimetools/javametrics.git</developerConnection>
27+
<url>http://github.com/runtimetools/javametrics.git/tree/master</url>
28+
</scm>
2929

30-
<developers>
31-
<developer>
32-
<name>Toby Corbin</name>
33-
<email>[email protected]</email>
34-
<organization>IBM</organization>
35-
<organizationUrl>http://www.ibm.com</organizationUrl>
36-
</developer>
37-
</developers>
30+
<developers>
31+
<developer>
32+
<name>Toby Corbin</name>
33+
<email>[email protected]</email>
34+
<organization>IBM</organization>
35+
<organizationUrl>http://www.ibm.com</organizationUrl>
36+
</developer>
37+
</developers>
3838

39-
<distributionManagement>
40-
<snapshotRepository>
41-
<id>ossrh</id>
42-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
43-
</snapshotRepository>
44-
<repository>
45-
<id>ossrh</id>
46-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
47-
</repository>
48-
</distributionManagement>
49-
50-
<dependencies>
51-
<dependency>
52-
<groupId>javax.json</groupId>
53-
<artifactId>javax.json-api</artifactId>
54-
<version>1.1</version>
55-
<scope>compile</scope>
56-
</dependency>
57-
<dependency>
58-
<groupId>com.ibm.runtimetools</groupId>
59-
<artifactId>javametrics-agent</artifactId>
60-
<version>1.0.0</version>
61-
</dependency>
62-
<dependency>
63-
<groupId>javax.websocket</groupId>
64-
<artifactId>javax.websocket-api</artifactId>
65-
<version>1.1</version>
66-
<scope>compile</scope>
67-
</dependency>
68-
</dependencies>
69-
70-
<build>
71-
<plugins>
72-
<plugin>
73-
<groupId>org.apache.maven.plugins</groupId>
74-
<artifactId>maven-war-plugin</artifactId>
75-
<version>3.1.0</version>
76-
<configuration>
77-
<packagingExcludes>%regex[WEB-INF/lib/*.*]</packagingExcludes>
78-
</configuration>
79-
</plugin>
80-
<plugin>
81-
<groupId>org.apache.maven.plugins</groupId>
82-
<artifactId>maven-source-plugin</artifactId>
83-
<version>2.2.1</version>
84-
<executions>
85-
<execution>
86-
<id>attach-sources</id>
87-
<goals>
88-
<goal>jar-no-fork</goal>
89-
</goals>
90-
</execution>
91-
</executions>
92-
</plugin>
93-
<plugin>
94-
<groupId>org.apache.maven.plugins</groupId>
95-
<artifactId>maven-javadoc-plugin</artifactId>
96-
<version>2.9.1</version>
97-
<executions>
98-
<execution>
99-
<id>attach-javadocs</id>
100-
<goals>
101-
<goal>jar</goal>
102-
</goals>
103-
</execution>
104-
</executions>
105-
</plugin>
106-
<plugin>
107-
<groupId>org.apache.maven.plugins</groupId>
108-
<artifactId>maven-gpg-plugin</artifactId>
109-
<version>1.5</version>
110-
<executions>
111-
<execution>
112-
<id>sign-artifacts</id>
113-
<phase>deploy</phase>
114-
<goals>
115-
<goal>sign</goal>
116-
</goals>
117-
</execution>
118-
</executions>
119-
</plugin>
120-
<plugin>
121-
<groupId>org.sonatype.plugins</groupId>
122-
<artifactId>nexus-staging-maven-plugin</artifactId>
123-
<version>1.6.7</version>
124-
<extensions>true</extensions>
125-
<configuration>
126-
<serverId>ossrh</serverId>
127-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
128-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
129-
</configuration>
130-
</plugin>
131-
132-
<plugin>
133-
<artifactId>maven-compiler-plugin</artifactId>
134-
<version>3.6.1</version>
135-
<configuration>
136-
<source>1.8</source>
137-
<target>1.8</target>
138-
</configuration>
139-
</plugin>
140-
</plugins>
141-
</build>
39+
<distributionManagement>
40+
<snapshotRepository>
41+
<id>ossrh</id>
42+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
43+
</snapshotRepository>
44+
<repository>
45+
<id>ossrh</id>
46+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
47+
</repository>
48+
</distributionManagement>
49+
50+
<dependencies>
51+
<dependency>
52+
<groupId>javax.json</groupId>
53+
<artifactId>javax.json-api</artifactId>
54+
<version>1.1</version>
55+
<scope>provided</scope>
56+
</dependency>
57+
<dependency>
58+
<groupId>com.ibm.runtimetools</groupId>
59+
<artifactId>javametrics-agent</artifactId>
60+
<version>1.0.0</version>
61+
<scope>provided</scope>
62+
</dependency>
63+
<dependency>
64+
<groupId>javax.websocket</groupId>
65+
<artifactId>javax.websocket-api</artifactId>
66+
<version>1.1</version>
67+
<scope>provided</scope>
68+
</dependency>
69+
</dependencies>
70+
71+
<build>
72+
<plugins>
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-war-plugin</artifactId>
76+
<version>3.1.0</version>
77+
<configuration>
78+
<packagingExcludes>%regex[WEB-INF/lib/*.*]</packagingExcludes>
79+
</configuration>
80+
</plugin>
81+
<plugin>
82+
<groupId>org.apache.maven.plugins</groupId>
83+
<artifactId>maven-source-plugin</artifactId>
84+
<version>2.2.1</version>
85+
<executions>
86+
<execution>
87+
<id>attach-sources</id>
88+
<goals>
89+
<goal>jar-no-fork</goal>
90+
</goals>
91+
</execution>
92+
</executions>
93+
</plugin>
94+
<plugin>
95+
<groupId>org.apache.maven.plugins</groupId>
96+
<artifactId>maven-javadoc-plugin</artifactId>
97+
<version>2.9.1</version>
98+
<executions>
99+
<execution>
100+
<id>attach-javadocs</id>
101+
<goals>
102+
<goal>jar</goal>
103+
</goals>
104+
</execution>
105+
</executions>
106+
</plugin>
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-gpg-plugin</artifactId>
110+
<version>1.5</version>
111+
<executions>
112+
<execution>
113+
<id>sign-artifacts</id>
114+
<phase>deploy</phase>
115+
<goals>
116+
<goal>sign</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
121+
<plugin>
122+
<groupId>org.sonatype.plugins</groupId>
123+
<artifactId>nexus-staging-maven-plugin</artifactId>
124+
<version>1.6.7</version>
125+
<extensions>true</extensions>
126+
<configuration>
127+
<serverId>ossrh</serverId>
128+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
129+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
130+
</configuration>
131+
</plugin>
132+
133+
<plugin>
134+
<artifactId>maven-compiler-plugin</artifactId>
135+
<version>3.6.1</version>
136+
<configuration>
137+
<source>1.8</source>
138+
<target>1.8</target>
139+
</configuration>
140+
</plugin>
141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-eclipse-plugin</artifactId>
144+
<version>2.10</version>
145+
<configuration>
146+
<projectNameTemplate>
147+
[artifactId]-[version]
148+
</projectNameTemplate>
149+
<wtpapplicationxml>true</wtpapplicationxml>
150+
<wtpversion>2.0</wtpversion>
151+
</configuration>
152+
</plugin>
153+
</plugins>
154+
</build>
142155
</project>

0 commit comments

Comments
 (0)