This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch feature/SLING-9595
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git

commit d445b7c738bc66f5918bfcd3f8656be007710d8c
Author: Robert Munteanu <[email protected]>
AuthorDate: Wed Aug 5 19:19:58 2020 +0200

    SLING-9595 - Fully switch starter build to the feature model
    
    Remove set-sling-snapshots.sh, it does not work with the feature model.
---
 set-sling-snapshots.sh | 51 --------------------------------------------------
 1 file changed, 51 deletions(-)

diff --git a/set-sling-snapshots.sh b/set-sling-snapshots.sh
deleted file mode 100755
index 1c64337..0000000
--- a/set-sling-snapshots.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-# 
----------------------------------------------------------------------------------------
-# 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.
-# 
----------------------------------------------------------------------------------------
-# That being said, this is an EXPERIMENTAL script to remove 
-# versions from the provisioning model lines of Sling artifacts.
-#
-# Meant to create an alternate version of the Sling
-# launchpad using all the latest snapshots, for 
-# integration testing in parallel with a stable
-# versions that uses releases.
-#
-# This script modifies provisioning model files under
-# src/main/provisioning, the changes are NOT
-# meant to be committed, just meant to build and
-# deploy an "all snapshots" launchpad jar meant to
-# be used by the launchpad/testing module.
-#
-# To verify the results use
-# mvn dependency:resolve | grep org.apache.sling
-#
-# For some reason currently two modules are not resolved
-# to snapshots although their versions are correctly removed
-# in the provisioning model:
-#
-# mvn dependency:resolve | grep org.apache.sling | grep -v SNAPSHOT
-# [INFO] --- maven-dependency-plugin:2.10:resolve (default-cli) @ 
org.apache.sling.launchpad ---
-# [INFO]    
org.apache.sling:org.apache.sling.resourceresolver:jar:1.4.18:provided
-# [INFO]    org.apache.sling:org.apache.sling.i18n:jar:2.5.4:provided
-#
-
-function removeSlingVersions() {
-       sed 
's/\(org.apache.sling\)\/\(org.apache.sling.*\)\/.*/org.apache.sling\/\2/g' < $1
-}
-
-SRC="src/main/provisioning/*.txt"
-echo "Removing Sling versions from provisioning model files under $SRC..."
-for i in $SRC
-do
-       TMP=/tmp/$ME_$$
-       removeSlingVersions $i > $TMP
-       mv $TMP $i
-done
\ No newline at end of file

Reply via email to