Skip to content

Commit

Permalink
remove samples from release/common build, keep it for travis (#154)
Browse files Browse the repository at this point in the history
* remove samples from release/common build, keep it for travis

Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj authored Mar 31, 2020
1 parent dd4ac75 commit 253d136
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ cache:
- .autoconf
- $HOME/.m2

install:
- curl -o $HOME/.m2/settings.xml https://gist.githubusercontent.com/lukasj/c176740acd96e255a84851277b9d9d14/raw/dca8d8be04acc614f0dd03dbee1891829250d857/jakarta-settings.xml

script:
- mvn -B -V -U -C -Pstaging,oss-release clean verify org.glassfish.copyright:glassfish-copyright-maven-plugin:check -Dgpg.skip=true -Doss.disallow.snapshots=false
- mvn -B -V -U -C -Pstaging,oss-release,samples clean verify org.glassfish.copyright:glassfish-copyright-maven-plugin:check -Dgpg.skip=true
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,14 @@

<modules>
<module>saaj-ri</module>
<module>saaj-samples</module>
</modules>

<profiles>
<profile>
<id>samples</id>
<modules>
<module>saaj-samples</module>
</modules>
</profile>
</profiles>
</project>
2 changes: 1 addition & 1 deletion saaj-samples/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2019, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Distribution License v. 1.0, which is available at
Expand Down

0 comments on commit 253d136

Please sign in to comment.