This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push: new f643478 Enable japicmp only if on Java 1.8+ using properties. f643478 is described below commit f643478b0a6869281ae04f4787c5fcdb3f82d45d Author: aherbert <aherb...@apache.org> AuthorDate: Tue Nov 12 13:10:16 2019 +0000 Enable japicmp only if on Java 1.8+ using properties. The use of src/site/resources/profile.japicmp relies on the parent checking for Java 1.8 in the japicmp profile. This is currently not done. --- commons-rng-client-api/pom.xml | 13 +++++++++++++ .../src/site/resources/profile.japicmp | 17 ----------------- commons-rng-core/pom.xml | 13 +++++++++++++ commons-rng-core/src/site/resources/profile.japicmp | 17 ----------------- commons-rng-sampling/pom.xml | 13 +++++++++++++ commons-rng-sampling/src/site/resources/profile.japicmp | 17 ----------------- commons-rng-simple/pom.xml | 13 +++++++++++++ commons-rng-simple/src/site/resources/profile.japicmp | 17 ----------------- 8 files changed, 52 insertions(+), 68 deletions(-) diff --git a/commons-rng-client-api/pom.xml b/commons-rng-client-api/pom.xml index f518ffd..3aa3ebe 100644 --- a/commons-rng-client-api/pom.xml +++ b/commons-rng-client-api/pom.xml @@ -42,4 +42,17 @@ <commons.release.isDistModule>false</commons.release.isDistModule> </properties> + <profiles> + <profile> + <id>jdk8-plugins</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <properties> + <!-- Allow japicmp --> + <japicmp.skip>false</japicmp.skip> + </properties> + </profile> + </profiles> + </project> diff --git a/commons-rng-client-api/src/site/resources/profile.japicmp b/commons-rng-client-api/src/site/resources/profile.japicmp deleted file mode 100644 index 6fe28ff..0000000 --- a/commons-rng-client-api/src/site/resources/profile.japicmp +++ /dev/null @@ -1,17 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ----------------------------------------------------------------------------- -# -# Empty file used to automatically trigger profile from commons parent pom diff --git a/commons-rng-core/pom.xml b/commons-rng-core/pom.xml index 7031669..cd1d720 100644 --- a/commons-rng-core/pom.xml +++ b/commons-rng-core/pom.xml @@ -71,4 +71,17 @@ </plugins> </build> + <profiles> + <profile> + <id>jdk8-plugins</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <properties> + <!-- Allow japicmp --> + <japicmp.skip>false</japicmp.skip> + </properties> + </profile> + </profiles> + </project> diff --git a/commons-rng-core/src/site/resources/profile.japicmp b/commons-rng-core/src/site/resources/profile.japicmp deleted file mode 100644 index 6fe28ff..0000000 --- a/commons-rng-core/src/site/resources/profile.japicmp +++ /dev/null @@ -1,17 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ----------------------------------------------------------------------------- -# -# Empty file used to automatically trigger profile from commons parent pom diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml index 00c5e0e..90538c5 100644 --- a/commons-rng-sampling/pom.xml +++ b/commons-rng-sampling/pom.xml @@ -75,4 +75,17 @@ </plugins> </build> + <profiles> + <profile> + <id>jdk8-plugins</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <properties> + <!-- Allow japicmp --> + <japicmp.skip>false</japicmp.skip> + </properties> + </profile> + </profiles> + </project> diff --git a/commons-rng-sampling/src/site/resources/profile.japicmp b/commons-rng-sampling/src/site/resources/profile.japicmp deleted file mode 100644 index 6fe28ff..0000000 --- a/commons-rng-sampling/src/site/resources/profile.japicmp +++ /dev/null @@ -1,17 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ----------------------------------------------------------------------------- -# -# Empty file used to automatically trigger profile from commons parent pom diff --git a/commons-rng-simple/pom.xml b/commons-rng-simple/pom.xml index 8e329a6..71cbc5f 100644 --- a/commons-rng-simple/pom.xml +++ b/commons-rng-simple/pom.xml @@ -69,4 +69,17 @@ </plugins> </build> + <profiles> + <profile> + <id>jdk8-plugins</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <properties> + <!-- Allow japicmp --> + <japicmp.skip>false</japicmp.skip> + </properties> + </profile> + </profiles> + </project> diff --git a/commons-rng-simple/src/site/resources/profile.japicmp b/commons-rng-simple/src/site/resources/profile.japicmp deleted file mode 100644 index 6fe28ff..0000000 --- a/commons-rng-simple/src/site/resources/profile.japicmp +++ /dev/null @@ -1,17 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ----------------------------------------------------------------------------- -# -# Empty file used to automatically trigger profile from commons parent pom