Skip to content

Commit a65ce84

Browse files
committed
---
yaml --- r: 4287 b: refs/heads/gcs-nio c: de23a12 h: refs/heads/master i: 4285: 358f279 4283: b66a468 4279: 11c3036 4271: f5b143b 4255: 24cd235 4223: d94ff4f
1 parent cd859db commit a65ce84

4 files changed

Lines changed: 40 additions & 31 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ refs/tags/v0.0.12: 2fd8066e891fb3dfea69b65f6bf6461db79342b9
1111
refs/heads/compute-alpha: 969cba2627f1d53d352cc4a5ffe0879dacf65e6c
1212
refs/heads/dns-alpha: 2f90e7e338349287ace33375896907af0f032ca1
1313
refs/heads/dns-alpha-batch: 17442b07867021b85d0452f5f3eda29a3413288f
14-
refs/heads/gcs-nio: 099ada0000cb7731d1b99f0ff1744420e18df9bb
14+
refs/heads/gcs-nio: de23a122d17844ce59a95060877309fbe2daef34
1515
refs/heads/logging-alpha: db5312bffa7fccac194f6a7feb8cc3066de16aff
1616
refs/tags/v0.1.0: a615317f7424ed58621b1f65d5c4d8cbbe8a6ed8
1717
refs/tags/v0.1.1: 7a7f6985fe465e9dd6a075af55493f42b4933be0

branches/gcs-nio/pom.xml

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -234,32 +234,6 @@
234234
<compilerArgument>-Xlint:unchecked</compilerArgument>
235235
</configuration>
236236
</plugin>
237-
<plugin>
238-
<groupId>org.apache.maven.plugins</groupId>
239-
<artifactId>maven-source-plugin</artifactId>
240-
<version>3.0.0</version>
241-
<executions>
242-
<execution>
243-
<id>attach-sources</id>
244-
<goals>
245-
<goal>jar-no-fork</goal>
246-
</goals>
247-
</execution>
248-
</executions>
249-
</plugin>
250-
<plugin>
251-
<groupId>org.apache.maven.plugins</groupId>
252-
<artifactId>maven-javadoc-plugin</artifactId>
253-
<version>2.10.3</version>
254-
<executions>
255-
<execution>
256-
<id>attach-javadocs</id>
257-
<goals>
258-
<goal>jar</goal>
259-
</goals>
260-
</execution>
261-
</executions>
262-
</plugin>
263237
<plugin>
264238
<groupId>org.apache.maven.plugins</groupId>
265239
<artifactId>maven-gpg-plugin</artifactId>
@@ -444,4 +418,39 @@
444418
</plugin>
445419
</plugins>
446420
</build>
421+
<profiles>
422+
<profile>
423+
<id>release</id>
424+
<build>
425+
<plugins>
426+
<plugin>
427+
<groupId>org.apache.maven.plugins</groupId>
428+
<artifactId>maven-source-plugin</artifactId>
429+
<version>3.0.0</version>
430+
<executions>
431+
<execution>
432+
<id>attach-sources</id>
433+
<goals>
434+
<goal>jar-no-fork</goal>
435+
</goals>
436+
</execution>
437+
</executions>
438+
</plugin>
439+
<plugin>
440+
<groupId>org.apache.maven.plugins</groupId>
441+
<artifactId>maven-javadoc-plugin</artifactId>
442+
<version>2.10.3</version>
443+
<executions>
444+
<execution>
445+
<id>attach-javadocs</id>
446+
<goals>
447+
<goal>jar</goal>
448+
</goals>
449+
</execution>
450+
</executions>
451+
</plugin>
452+
</plugins>
453+
</build>
454+
</profile>
455+
</profiles>
447456
</project>

branches/gcs-nio/utilities/after_success.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" ]; then
3434

3535
cd ..
3636
utilities/update_docs_version.sh # Update version in READMEs
37-
mvn clean deploy --settings ~/.m2/settings.xml -P sign-deploy
37+
mvn clean deploy --settings ~/.m2/settings.xml -P sign-deploy,release
3838
else
39-
mvn clean deploy -DskipTests=true -Dgpg.skip=true --settings ~/.m2/settings.xml
39+
mvn clean deploy -DskipTests=true -Dgpg.skip=true --settings ~/.m2/settings.xml -P release
4040
fi
4141
else
4242
echo "Not deploying artifacts. This is only done with non-pull-request commits to master branch with Oracle Java 7 builds."

branches/gcs-nio/utilities/verify.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
1010
chmod 700 $TRAVIS_BUILD_DIR/signing-tools
1111
tar xvf $TRAVIS_BUILD_DIR/signing-tools.tar -C $TRAVIS_BUILD_DIR/signing-tools
1212
# Run verify
13-
mvn verify
13+
mvn verify -P release
1414
else
15-
mvn verify -DskipITs
15+
mvn verify -DskipITs -P release
1616
fi

0 commit comments

Comments
 (0)