# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2018 The Linux Foundation and others.
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2018 The Linux Foundation and others.
# The purpose of this script is to compare list of projects in autorelease
# are equal to the list of projects in integration/distribution.
# The purpose of this script is to compare list of projects in autorelease
# are equal to the list of projects in integration/distribution.
mapfile -t PROJECTS_INT_DIST < <(xmlstarlet sel\
-N "x=http://maven.apache.org/POM/4.0.0"\
-t -m "/x:project/x:profiles/x:profile[x:activation/x:activeByDefault='true']/x:dependencies/x:dependency/x:groupId"\
mapfile -t PROJECTS_INT_DIST < <(xmlstarlet sel\
-N "x=http://maven.apache.org/POM/4.0.0"\
-t -m "/x:project/x:profiles/x:profile[x:activation/x:activeByDefault='true']/x:dependencies/x:dependency/x:groupId"\
project_int_dist+=("integration/distribution")
# Get a list of all the projects from releng/autorelease repo
project_int_dist+=("integration/distribution")
# Get a list of all the projects from releng/autorelease repo