|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | | -<modelVersion>4.0.0</modelVersion> |
4 | | -<groupId>software.amazon.awssdk.iot</groupId> |
5 | | -<artifactId>aws-iot-device-sdk-java</artifactId> |
6 | | -<packaging>jar</packaging> |
7 | | -<version>1.0-SNAPSHOT</version> |
8 | | -<url>http://maven.apache.org</url> |
9 | | -<properties> |
10 | | - <maven.compiler.source>1.8</maven.compiler.source> |
11 | | - <maven.compiler.target>1.8</maven.compiler.target> |
12 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | | -</properties> |
14 | | -<dependencies> |
15 | | - <dependency> |
16 | | - <groupId>software.amazon.awssdk.crt</groupId> |
17 | | - <artifactId>aws-crt-java</artifactId> |
18 | | - <version>1.0</version> |
19 | | - <scope>compile</scope> |
20 | | - </dependency> |
21 | | - <dependency> |
22 | | - <groupId>junit</groupId> |
23 | | - <artifactId>junit</artifactId> |
24 | | - <version>4.12</version> |
25 | | - <scope>test</scope> |
26 | | - </dependency> |
27 | | - <dependency> |
28 | | - <groupId>com.google.code.gson</groupId> |
29 | | - <artifactId>gson</artifactId> |
30 | | - <version>2.8.5</version> |
31 | | - <scope>compile</scope> |
32 | | - </dependency> |
33 | | -</dependencies> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>software.amazon.awssdk.iotdevicesdk</groupId> |
| 5 | + <artifactId>aws-iot-device-sdk</artifactId> |
| 6 | + <packaging>jar</packaging> |
| 7 | + <version>0.2-SNAPSHOT</version> |
| 8 | + <name>${project.groupId}:${project.artifactId}</name> |
| 9 | + <description>Java bindings for the AWS IoT Core Service</description> |
| 10 | + <url>https://github.com/awslabs/aws-iot-device-sdk-java-v2</url> |
| 11 | + |
| 12 | + <licenses> |
| 13 | + <license> |
| 14 | + <name>The Apache Software License, Version 2.0</name> |
| 15 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 16 | + </license> |
| 17 | + </licenses> |
| 18 | + |
| 19 | + <developers> |
| 20 | + <developer> |
| 21 | + <name>AWS SDK Common Runtime Team</name> |
| 22 | + <email>aws-sdk-common-runtime@amazon.com</email> |
| 23 | + <organization>Amazon Web Services</organization> |
| 24 | + <organizationUrl>https://aws.amazon.com</organizationUrl> |
| 25 | + </developer> |
| 26 | + </developers> |
| 27 | + |
| 28 | + <scm> |
| 29 | + <connection>scm:git:git://github.com/awslabs/aws-iot-device-sdk-java-v2.git</connection> |
| 30 | + <developerConnection>scm:git:ssh://github.com:awslabs/aws-iot-device-sdk-java-v2.git</developerConnection> |
| 31 | + <url>http://github.com/awslabs/aws-iot-device-sdk-java-v2/tree/master</url> |
| 32 | + </scm> |
| 33 | + |
| 34 | + <properties> |
| 35 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 36 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 37 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | + </properties> |
| 39 | + |
| 40 | + <dependencies> |
| 41 | + <dependency> |
| 42 | + <groupId>software.amazon.awssdk.crt</groupId> |
| 43 | + <artifactId>aws-crt</artifactId> |
| 44 | + <version>0.3.8</version> |
| 45 | + <scope>compile</scope> |
| 46 | + </dependency> |
| 47 | + <dependency> |
| 48 | + <groupId>junit</groupId> |
| 49 | + <artifactId>junit</artifactId> |
| 50 | + <version>4.12</version> |
| 51 | + <scope>test</scope> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>com.google.code.gson</groupId> |
| 55 | + <artifactId>gson</artifactId> |
| 56 | + <version>2.8.5</version> |
| 57 | + <scope>compile</scope> |
| 58 | + </dependency> |
| 59 | + </dependencies> |
| 60 | + |
| 61 | + <profiles> |
| 62 | + <profile> |
| 63 | + <id>release</id> |
| 64 | + <distributionManagement> |
| 65 | + <snapshotRepository> |
| 66 | + <id>ossrh</id> |
| 67 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 68 | + </snapshotRepository> |
| 69 | + </distributionManagement> |
| 70 | + <build> |
| 71 | + <plugins> |
| 72 | + <!-- staging/release to Sonatype --> |
| 73 | + <plugin> |
| 74 | + <groupId>org.sonatype.plugins</groupId> |
| 75 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 76 | + <version>1.6.8</version> |
| 77 | + <extensions>true</extensions> |
| 78 | + <configuration> |
| 79 | + <serverId>ossrh</serverId> |
| 80 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 81 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 82 | + </configuration> |
| 83 | + </plugin> |
| 84 | + <!-- source jar --> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.maven.plugins</groupId> |
| 87 | + <artifactId>maven-source-plugin</artifactId> |
| 88 | + <version>2.2.1</version> |
| 89 | + <executions> |
| 90 | + <execution> |
| 91 | + <id>attach-sources</id> |
| 92 | + <goals> |
| 93 | + <goal>jar-no-fork</goal> |
| 94 | + </goals> |
| 95 | + </execution> |
| 96 | + </executions> |
| 97 | + </plugin> |
| 98 | + <!-- javadoc jar --> |
| 99 | + <plugin> |
| 100 | + <groupId>org.apache.maven.plugins</groupId> |
| 101 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 102 | + <version>2.9.1</version> |
| 103 | + <executions> |
| 104 | + <execution> |
| 105 | + <id>attach-javadocs</id> |
| 106 | + <goals> |
| 107 | + <goal>jar</goal> |
| 108 | + </goals> |
| 109 | + </execution> |
| 110 | + </executions> |
| 111 | + </plugin> |
| 112 | + <!-- GPG signing --> |
| 113 | + <plugin> |
| 114 | + <groupId>org.apache.maven.plugins</groupId> |
| 115 | + <artifactId>maven-gpg-plugin</artifactId> |
| 116 | + <version>1.5</version> |
| 117 | + <executions> |
| 118 | + <execution> |
| 119 | + <id>sign-artifacts</id> |
| 120 | + <phase>verify</phase> |
| 121 | + <goals> |
| 122 | + <goal>sign</goal> |
| 123 | + </goals> |
| 124 | + <configuration> |
| 125 | + <keyname>${gpg.keyname}</keyname> |
| 126 | + </configuration> |
| 127 | + </execution> |
| 128 | + </executions> |
| 129 | + </plugin> |
| 130 | + </plugins> |
| 131 | + </build> |
| 132 | + </profile> |
| 133 | + </profiles> |
34 | 134 | </project> |
0 commit comments