Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit d042561

Browse files
authored
Merge pull request #2 from sebright/maven-build-files
Adds Maven build files.
2 parents 086daaa + 146d572 commit d042561

File tree

3 files changed

+146
-0
lines changed

3 files changed

+146
-0
lines changed

core/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>com.google.census</groupId>
7+
<artifactId>census-core</artifactId>
8+
<version>0.1.0-SNAPSHOT</version>
9+
10+
<name>Census Java Core</name>
11+
<url>https://github.com/google/census-java</url>
12+
13+
<parent>
14+
<groupId>com.google.census</groupId>
15+
<artifactId>census-parent</artifactId>
16+
<version>0.1.0-SNAPSHOT</version>
17+
</parent>
18+
</project>

core_native/pom.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>com.google.census</groupId>
7+
<artifactId>census-core_native</artifactId>
8+
<version>0.1.0-SNAPSHOT</version>
9+
10+
<name>Census Java Core Native</name>
11+
<url>https://github.com/google/census-java</url>
12+
13+
<parent>
14+
<groupId>com.google.census</groupId>
15+
<artifactId>census-parent</artifactId>
16+
<version>0.1.0-SNAPSHOT</version>
17+
</parent>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>com.google.census</groupId>
22+
<artifactId>census-core</artifactId>
23+
<version>0.1.0-SNAPSHOT</version>
24+
</dependency>
25+
</dependencies>
26+
<build>
27+
<plugins>
28+
<plugin>
29+
<artifactId>maven-javadoc-plugin</artifactId>
30+
<configuration>
31+
<show>private</show>
32+
</configuration>
33+
</plugin>
34+
</plugins>
35+
</build>
36+
</project>

pom.xml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>com.google.census</groupId>
7+
<artifactId>census-parent</artifactId>
8+
<version>0.1.0-SNAPSHOT</version>
9+
10+
<name>Census Java</name>
11+
12+
<description>
13+
Census provides a framework to define and collect stats against metrics and
14+
to break those stats down across user-defined dimensions.
15+
</description>
16+
<url>https://github.com/google/census-java</url>
17+
18+
<packaging>pom</packaging>
19+
20+
<parent>
21+
<groupId>com.google</groupId>
22+
<artifactId>google</artifactId>
23+
<version>5</version>
24+
</parent>
25+
26+
<licenses>
27+
<license>
28+
<name>The Apache Software License, Version 2.0</name>
29+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
30+
<distribution>repo</distribution>
31+
</license>
32+
</licenses>
33+
34+
<modules>
35+
<module>core</module>
36+
<module>core_native</module>
37+
</modules>
38+
39+
<dependencies>
40+
<dependency>
41+
<groupId>com.google.guava</groupId>
42+
<artifactId>guava</artifactId>
43+
<version>19.0</version>
44+
</dependency>
45+
<dependency>
46+
<groupId>com.google.code.findbugs</groupId>
47+
<artifactId>jsr305</artifactId>
48+
<version>3.0.0</version>
49+
</dependency>
50+
</dependencies>
51+
<build>
52+
<sourceDirectory>java</sourceDirectory>
53+
<plugins>
54+
<plugin>
55+
<artifactId>maven-compiler-plugin</artifactId>
56+
<version>3.5.1</version>
57+
<configuration>
58+
<source>1.7</source>
59+
<target>1.7</target>
60+
</configuration>
61+
</plugin>
62+
<plugin>
63+
<artifactId>maven-jar-plugin</artifactId>
64+
<version>2.3.1</version>
65+
</plugin>
66+
<plugin>
67+
<artifactId>maven-source-plugin</artifactId>
68+
<version>2.1.2</version>
69+
<executions>
70+
<execution>
71+
<id>attach-sources</id>
72+
<goals>
73+
<goal>jar-no-fork</goal>
74+
</goals>
75+
</execution>
76+
</executions>
77+
</plugin>
78+
<plugin>
79+
<artifactId>maven-javadoc-plugin</artifactId>
80+
<version>2.8.1</version>
81+
<executions>
82+
<execution>
83+
<id>attach-javadocs</id>
84+
<goals>
85+
<goal>jar</goal>
86+
</goals>
87+
</execution>
88+
</executions>
89+
</plugin>
90+
</plugins>
91+
</build>
92+
</project>

0 commit comments

Comments
 (0)