Skip to content

Commit b7fe156

Browse files
committed
builds now on maven
1 parent ed400cb commit b7fe156

File tree

5 files changed

+136
-120
lines changed

5 files changed

+136
-120
lines changed

dashboard/pom.xml

Lines changed: 70 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,36 @@
55
<version>1.0.0</version>
66
<artifactId>javametrics-dash</artifactId>
77
<packaging>war</packaging>
8-
<name>javametrics-dash</name>
8+
<name>dashboard</name>
99
<description>Application Metrics for Java (web UI)</description>
10+
<url>https://github.com/RuntimeTools/javametrics</url>
11+
12+
<properties>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15+
</properties>
16+
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>
23+
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>
29+
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>
1038

1139
<distributionManagement>
1240
<snapshotRepository>
@@ -18,13 +46,6 @@
1846
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
1947
</repository>
2048
</distributionManagement>
21-
22-
23-
24-
<properties>
25-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
27-
</properties>
2849
<dependencies>
2950
<dependency>
3051
<groupId>javax.json</groupId>
@@ -46,6 +67,46 @@
4667
</dependencies>
4768
<build>
4869
<plugins>
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-source-plugin</artifactId>
73+
<version>2.2.1</version>
74+
<executions>
75+
<execution>
76+
<id>attach-sources</id>
77+
<goals>
78+
<goal>jar-no-fork</goal>
79+
</goals>
80+
</execution>
81+
</executions>
82+
</plugin>
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-javadoc-plugin</artifactId>
86+
<version>2.9.1</version>
87+
<executions>
88+
<execution>
89+
<id>attach-javadocs</id>
90+
<goals>
91+
<goal>jar</goal>
92+
</goals>
93+
</execution>
94+
</executions>
95+
</plugin>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-gpg-plugin</artifactId>
99+
<version>1.5</version>
100+
<executions>
101+
<execution>
102+
<id>sign-artifacts</id>
103+
<phase>verify</phase>
104+
<goals>
105+
<goal>sign</goal>
106+
</goals>
107+
</execution>
108+
</executions>
109+
</plugin>
49110
<plugin>
50111
<groupId>org.sonatype.plugins</groupId>
51112
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -63,6 +124,7 @@
63124
<version>3.1.0</version>
64125
<configuration>
65126
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
127+
<packagingExcludes>WEB-INF/lib*</packagingExcludes>
66128
</configuration>
67129
</plugin>
68130
<plugin>

distribution/pom.xml

Lines changed: 0 additions & 47 deletions
This file was deleted.

distribution/src/assembly/bin.xml

Lines changed: 0 additions & 41 deletions
This file was deleted.

javaagent/pom.xml

Lines changed: 66 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,34 @@
44
<version>1.0.0</version>
55
<modelVersion>4.0.0</modelVersion>
66
<artifactId>javametrics-agent</artifactId>
7-
<name>java</name>
7+
<name>javaagent</name>
88
<description>Application Metrics for Java</description>
9+
<url>https://github.com/RuntimeTools/javametrics</url>
10+
11+
<licenses>
12+
<license>
13+
<name>The Apache Software License, Version 2.0</name>
14+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
15+
</license>
16+
</licenses>
17+
18+
<scm>
19+
<connection>scm:git:git://github.com/runtimetools/javametrics.git</connection>
20+
<developerConnection>scm:git:ssh://github.com/runtimetools/javametrics.git</developerConnection>
21+
<url>http://github.com/runtimetools/javametrics.git/tree/master</url>
22+
</scm>
23+
24+
<developers>
25+
<developer>
26+
<name>Toby Corbin</name>
27+
<email>[email protected]</email>
28+
<organization>IBM</organization>
29+
<organizationUrl>http://www.ibm.com</organizationUrl>
30+
</developer>
31+
</developers>
32+
933
<packaging>jar</packaging>
34+
1035
<properties>
1136
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1237
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -23,8 +48,6 @@
2348
</repository>
2449
</distributionManagement>
2550

26-
27-
2851
<dependencies>
2952
<dependency>
3053
<groupId>javax.servlet</groupId>
@@ -60,11 +83,48 @@
6083
</dependency>
6184
</dependencies>
6285

63-
64-
65-
6686
<build>
6787
<plugins>
88+
<plugin>
89+
<groupId>org.apache.maven.plugins</groupId>
90+
<artifactId>maven-source-plugin</artifactId>
91+
<version>2.2.1</version>
92+
<executions>
93+
<execution>
94+
<id>attach-sources</id>
95+
<goals>
96+
<goal>jar-no-fork</goal>
97+
</goals>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-javadoc-plugin</artifactId>
104+
<version>2.9.1</version>
105+
<executions>
106+
<execution>
107+
<id>attach-javadocs</id>
108+
<goals>
109+
<goal>jar</goal>
110+
</goals>
111+
</execution>
112+
</executions>
113+
</plugin>
114+
<plugin>
115+
<groupId>org.apache.maven.plugins</groupId>
116+
<artifactId>maven-gpg-plugin</artifactId>
117+
<version>1.5</version>
118+
<executions>
119+
<execution>
120+
<id>sign-artifacts</id>
121+
<phase>verify</phase>
122+
<goals>
123+
<goal>sign</goal>
124+
</goals>
125+
</execution>
126+
</executions>
127+
</plugin>
68128
<plugin>
69129
<groupId>org.sonatype.plugins</groupId>
70130
<artifactId>nexus-staging-maven-plugin</artifactId>

pom.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,7 @@
88
<modules>
99
<module>javaagent</module>
1010
<module>dashboard</module>
11-
<module>distribution</module>
1211
</modules>
13-
14-
<build>
15-
<pluginManagement>
16-
<plugins>
17-
<plugin>
18-
<artifactId>maven-assembly-plugin</artifactId>
19-
<version>3.0.0</version>
20-
<configuration>
21-
<descriptors>
22-
<descriptor>distribution/src/assembly/bin.xml</descriptor>
23-
</descriptors>
24-
</configuration>
25-
</plugin>
26-
</plugins>
27-
</pluginManagement>
28-
</build>
29-
3012
</project>
3113

3214

0 commit comments

Comments
 (0)