|
6 | 6 | <modelVersion>4.0.0</modelVersion> |
7 | 7 | <groupId>com.contentstack.sdk</groupId> |
8 | 8 | <artifactId>java</artifactId> |
9 | | - <version>1.2.0</version> |
| 9 | + <version>1.0.2</version> |
| 10 | + <build> |
| 11 | + <plugins> |
| 12 | + <plugin> |
| 13 | + <groupId>org.apache.maven.plugins</groupId> |
| 14 | + <artifactId>maven-compiler-plugin</artifactId> |
| 15 | + <version>2.3.2</version> |
| 16 | + <configuration> |
| 17 | + <source>8</source> |
| 18 | + <target>8</target> |
| 19 | + </configuration> |
| 20 | + </plugin> |
| 21 | + </plugins> |
| 22 | + </build> |
10 | 23 | <packaging>jar</packaging> |
11 | 24 |
|
12 | 25 |
|
|
31 | 44 |
|
32 | 45 | <developers> |
33 | 46 | <developer> |
34 | | - <name>contentstack-java</name> |
| 47 | + <name>contentstack</name> |
35 | 48 | <email>mobile@contentstack.com</email> |
36 | 49 | <organization>contentstack</organization> |
37 | 50 | <organizationUrl>https://www.contentstack.com/</organizationUrl> |
|
70 | 83 | </properties> |
71 | 84 |
|
72 | 85 |
|
73 | | - |
74 | | - <build> |
75 | | - <pluginManagement> |
76 | | - <plugins> |
77 | | - |
78 | | - <plugin> |
79 | | - <groupId>org.apache.maven.plugins</groupId> |
80 | | - <artifactId>maven-compiler-plugin</artifactId> |
81 | | - <configuration> |
82 | | - <source>1.8</source> |
83 | | - <target>1.8</target> |
84 | | - </configuration> |
85 | | - </plugin> |
86 | | - |
87 | | - <plugin> |
88 | | - <groupId>org.apache.maven.plugins</groupId> |
89 | | - <artifactId>maven-source-plugin</artifactId> |
90 | | - <version>2.2.1</version> |
91 | | - <executions> |
92 | | - <execution> |
93 | | - <id>attach-sources</id> |
94 | | - <goals> |
95 | | - <goal>jar-no-fork</goal> |
96 | | - </goals> |
97 | | - </execution> |
98 | | - </executions> |
99 | | - </plugin> |
100 | | - |
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 | | - |
115 | | - <plugin> |
116 | | - <groupId>org.apache.maven.plugins</groupId> |
117 | | - <artifactId>maven-gpg-plugin</artifactId> |
118 | | - <version>1.5</version> |
119 | | - <executions> |
120 | | - <execution> |
121 | | - <id>sign-artifacts</id> |
122 | | - <phase>verify</phase> |
123 | | - <goals> |
124 | | - <goal>sign</goal> |
125 | | - </goals> |
126 | | - </execution> |
127 | | - </executions> |
128 | | - </plugin> |
129 | | - |
130 | | - <plugin> |
131 | | - <groupId>org.apache.maven.plugins</groupId> |
132 | | - <artifactId>maven-release-plugin</artifactId> |
133 | | - <version>2.5.3</version> |
134 | | - <configuration> |
135 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
136 | | - <useReleaseProfile>false</useReleaseProfile> |
137 | | - <releaseProfiles>release</releaseProfiles> |
138 | | - <goals>deploy</goals> |
139 | | - </configuration> |
140 | | - </plugin> |
141 | | - |
142 | | - <plugin> |
143 | | - <groupId>org.sonatype.plugins</groupId> |
144 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
145 | | - <version>1.6.7</version> |
146 | | - <extensions>true</extensions> |
147 | | - <configuration> |
148 | | - <serverId>ossrh</serverId> |
149 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
150 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
151 | | - </configuration> |
152 | | - </plugin> |
153 | | - |
154 | | - </plugins> |
155 | | - </pluginManagement> |
156 | | - </build> |
157 | | - |
| 86 | + <profiles> |
| 87 | + <profile> |
| 88 | + <id>release</id> |
| 89 | + <build> |
| 90 | + <plugins> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-source-plugin</artifactId> |
| 94 | + <version>2.2.1</version> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <id>attach-sources</id> |
| 98 | + <goals> |
| 99 | + <goal>jar-no-fork</goal> |
| 100 | + </goals> |
| 101 | + </execution> |
| 102 | + </executions> |
| 103 | + </plugin> |
| 104 | + <plugin> |
| 105 | + <groupId>org.apache.maven.plugins</groupId> |
| 106 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 107 | + <version>2.9.1</version> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <id>attach-javadocs</id> |
| 111 | + <goals> |
| 112 | + <goal>jar</goal> |
| 113 | + </goals> |
| 114 | + </execution> |
| 115 | + </executions> |
| 116 | + </plugin> |
| 117 | + <plugin> |
| 118 | + <groupId>org.apache.maven.plugins</groupId> |
| 119 | + <artifactId>maven-gpg-plugin</artifactId> |
| 120 | + <version>1.5</version> |
| 121 | + <executions> |
| 122 | + <execution> |
| 123 | + <id>sign-artifacts</id> |
| 124 | + <phase>verify</phase> |
| 125 | + <goals> |
| 126 | + <goal>sign</goal> |
| 127 | + </goals> |
| 128 | + </execution> |
| 129 | + </executions> |
| 130 | + </plugin> |
| 131 | + <plugin> |
| 132 | + <groupId>org.apache.maven.plugins</groupId> |
| 133 | + <artifactId>maven-compiler-plugin</artifactId> |
| 134 | + <version>3.6.1</version> |
| 135 | + <configuration> |
| 136 | + <source>8</source> |
| 137 | + <target>8</target> |
| 138 | + </configuration> |
| 139 | + </plugin> |
| 140 | + <plugin> |
| 141 | + <groupId>org.apache.maven.plugins</groupId> |
| 142 | + <artifactId>maven-release-plugin</artifactId> |
| 143 | + <version>2.5.3</version> |
| 144 | + <configuration> |
| 145 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 146 | + <useReleaseProfile>false</useReleaseProfile> |
| 147 | + <releaseProfiles>release</releaseProfiles> |
| 148 | + <goals>deploy</goals> |
| 149 | + </configuration> |
| 150 | + </plugin> |
| 151 | + |
| 152 | + <plugin> |
| 153 | + <groupId>org.sonatype.plugins</groupId> |
| 154 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 155 | + <version>1.6.8</version> |
| 156 | + <extensions>true</extensions> |
| 157 | + <configuration> |
| 158 | + <serverId>ossrh</serverId> |
| 159 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 160 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 161 | + </configuration> |
| 162 | + </plugin> |
| 163 | + </plugins> |
| 164 | + </build> |
| 165 | + </profile> |
| 166 | + </profiles> |
158 | 167 |
|
159 | 168 | <dependencies> |
160 | 169 |
|
|
0 commit comments