Skip to content

Commit

Permalink
Update release profile to be used with oss-release profile from parent
Browse files Browse the repository at this point in the history
Change-Id: I91ab287dd27ad550df576e0ea6d07b1cfa717f5a
Signed-off-by: Jan Supol <jan.supol@oracle.com>
  • Loading branch information
jansupol authored and senivam committed Feb 7, 2019
1 parent 7c07f3f commit df7479f
Show file tree
Hide file tree
Showing 71 changed files with 164 additions and 271 deletions.
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015, 2019 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -88,7 +105,7 @@

<profiles>
<profile>
<id>release</id>
<id>pre-release</id>
<build>
<plugins>
<plugin>
Expand Down
26 changes: 1 addition & 25 deletions archetypes/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -57,28 +57,4 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.mvn.plugin.version}</version>
<executions>
<execution>
<id>sign-artifact</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
37 changes: 1 addition & 36 deletions bom/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2013, 2019 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -397,40 +397,5 @@
</site>
</distributionManagement>
</profile>
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>jvnet-nexus-staging</serverId>
<nexusUrl>https://maven.java.net/</nexusUrl>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
14 changes: 13 additions & 1 deletion bundles/examples/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2013, 2019 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -32,6 +32,7 @@
<packaging>pom</packaging>

<dependencies>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bean-validation-webapp</artifactId>
Expand All @@ -46,6 +47,7 @@
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bookmark</artifactId>
Expand Down Expand Up @@ -434,13 +436,15 @@
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>monitoring-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>multipart-webapp</artifactId>
Expand All @@ -462,13 +466,15 @@
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>oauth2-client-google-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>osgi-helloworld-webapp</artifactId>
Expand Down Expand Up @@ -553,6 +559,7 @@
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>shortener-webapp</artifactId>
Expand All @@ -567,20 +574,23 @@
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>simple-console</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>sparklines</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>sse-item-store-jersey-webapp</artifactId>
Expand Down Expand Up @@ -623,13 +633,15 @@
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>tone-generator</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>xml-moxy</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions bundles/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -40,7 +40,7 @@

<profiles>
<profile>
<id>release</id>
<id>pre-release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
Expand Down
4 changes: 2 additions & 2 deletions docs/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -29,7 +29,7 @@
<name>jersey-documentation</name>
<profiles>
<profile>
<id>release</id>
<id>pre-release</id>
<properties>
<javanet.repository.id>releases</javanet.repository.id>
<jersey.docs.version>${jersey.version}</jersey.docs.version>
Expand Down
4 changes: 2 additions & 2 deletions examples/bookmark-em/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2019 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 Expand Up @@ -96,7 +96,7 @@
</properties>
</profile>
<profile>
<id>release</id>
<id>pre-release</id>
<build>
<plugins>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions examples/bookmark/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2019 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 Expand Up @@ -84,7 +84,7 @@
</properties>
</profile>
<profile>
<id>release</id>
<id>pre-release</id>
<build>
<plugins>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions examples/bookstore-webapp/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -112,7 +112,7 @@
</properties>
</profile>
<profile>
<id>release</id>
<id>pre-release</id>
<build>
<plugins>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions examples/cdi-webapp/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2019 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 Expand Up @@ -103,7 +103,7 @@
</properties>
</profile>
<profile>
<id>release</id>
<id>pre-release</id>
<build>
<plugins>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions examples/clipboard-programmatic/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2011, 2019 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 Expand Up @@ -57,7 +57,7 @@

<profiles>
<profile>
<id>release</id>
<id>pre-release</id>
<build>
<plugins>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions examples/clipboard/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2011, 2019 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 Expand Up @@ -57,7 +57,7 @@

<profiles>
<profile>
<id>release</id>
<id>pre-release</id>
<build>
<plugins>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions examples/declarative-linking/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2019 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 Expand Up @@ -87,7 +87,7 @@

<profiles>
<profile>
<id>release</id>
<id>pre-release</id>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit df7479f

Please sign in to comment.