xref: /aosp_15_r20/external/aws-eventstream-java/pom.xml (revision 3990ee4244bcecb5cb057ac1935381dd16da2e31)
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    <groupId>software.amazon.eventstream</groupId>
8    <artifactId>eventstream</artifactId>
9    <version>1.0.1</version>
10
11    <name>AWS Event Stream</name>
12    <description>The AWS Event Stream decoder library.</description>
13    <url>https://github.com/awslabs/aws-eventstream-java</url>
14    <licenses>
15        <license>
16            <name>Apache License, Version 2.0</name>
17            <url>https://aws.amazon.com/apache2.0</url>
18            <distribution>repo</distribution>
19        </license>
20    </licenses>
21    <developers>
22        <developer>
23            <id>amazonwebservices</id>
24            <organization>Amazon Web Services</organization>
25            <organizationUrl>https://aws.amazon.com</organizationUrl>
26            <roles>
27                <role>developer</role>
28            </roles>
29        </developer>
30    </developers>
31
32    <scm>
33        <url>https://github.com/awslabs/aws-eventstream-java</url>
34    </scm>
35
36    <properties>
37        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38        <java.version>1.8</java.version>
39        <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
40        <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
41    </properties>
42
43    <build>
44        <plugins>
45            <plugin>
46                <artifactId>maven-surefire-plugin</artifactId>
47                <version>2.22.1</version>
48                <dependencies>
49                    <dependency>
50                        <groupId>org.junit.platform</groupId>
51                        <artifactId>junit-platform-surefire-provider</artifactId>
52                        <version>1.2.0</version>
53                    </dependency>
54                </dependencies>
55            </plugin>
56
57            <plugin>
58                <groupId>org.apache.maven.plugins</groupId>
59                <artifactId>maven-compiler-plugin</artifactId>
60                <version>3.8.0</version>
61                <configuration>
62                    <release>8</release>
63                    <source>1.8</source>
64                    <target>1.8</target>
65                </configuration>
66            </plugin>
67
68            <plugin>
69                <groupId>org.apache.maven.plugins</groupId>
70                <artifactId>maven-jar-plugin</artifactId>
71                <version>3.1.0</version>
72                <configuration>
73                    <archive>
74                        <manifestEntries>
75                            <Automatic-Module-Name>software.amazon.eventstream</Automatic-Module-Name>
76                        </manifestEntries>
77                    </archive>
78                </configuration>
79            </plugin>
80
81            <plugin>
82                <groupId>org.apache.maven.plugins</groupId>
83                <artifactId>maven-javadoc-plugin</artifactId>
84                <version>${maven-javadoc-plugin.version}</version>
85                <configuration>
86                    <show>public</show>
87                    <bottom><![CDATA[Copyright &#169; 2019 Amazon Web Services, Inc. All Rights Reserved.]]></bottom>
88                </configuration>
89                <executions>
90                    <execution>
91                        <id>attach-javadocs</id>
92                        <goals>
93                            <goal>jar</goal>
94                        </goals>
95                    </execution>
96                </executions>
97            </plugin>
98
99            <plugin>
100                <groupId>org.apache.maven.plugins</groupId>
101                <artifactId>maven-source-plugin</artifactId>
102                <version>${maven-source-plugin.version}</version>
103                <executions>
104                    <execution>
105                        <id>attach-sources</id>
106                        <goals>
107                            <goal>jar</goal>
108                        </goals>
109                    </execution>
110                </executions>
111            </plugin>
112        </plugins>
113    </build>
114
115    <profiles>
116        <profile>
117            <id>publishing</id>
118            <build>
119                <plugins>
120                    <plugin>
121                        <groupId>org.apache.maven.plugins</groupId>
122                        <artifactId>maven-gpg-plugin</artifactId>
123                        <version>1.6</version>
124                        <executions>
125                            <execution>
126                                <id>sign-artifacts</id>
127                                <phase>verify</phase>
128                                <goals>
129                                    <goal>sign</goal>
130                                </goals>
131                            </execution>
132                        </executions>
133                    </plugin>
134                    <plugin>
135                        <groupId>org.sonatype.plugins</groupId>
136                        <artifactId>nexus-staging-maven-plugin</artifactId>
137                        <version>1.6.8</version>
138                        <extensions>true</extensions>
139                        <configuration>
140                            <serverId>sonatype-nexus-staging</serverId>
141                            <nexusUrl>https://aws.oss.sonatype.org</nexusUrl>
142                        </configuration>
143                    </plugin>
144                </plugins>
145            </build>
146        </profile>
147    </profiles>
148
149    <dependencies>
150        <dependency>
151            <groupId>org.junit.jupiter</groupId>
152            <artifactId>junit-jupiter-engine</artifactId>
153            <version>5.1.0</version>
154            <scope>test</scope>
155        </dependency>
156        <dependency>
157            <groupId>org.hamcrest</groupId>
158            <artifactId>hamcrest-all</artifactId>
159            <version>1.3</version>
160            <scope>test</scope>
161        </dependency>
162    </dependencies>
163</project>
164