Skip to content

Commit

Permalink
1105 remove unnecessary defaultmavensettingsxml (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
osuender authored Sep 4, 2024
1 parent d2a1502 commit a9154d6
Show file tree
Hide file tree
Showing 35 changed files with 2 additions and 124 deletions.
1 change: 0 additions & 1 deletion clusterproviders/OracleRACClusterProvider/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion clusterproviders/XSORClusterProvider/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion components/xact/NetworkAvailability/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
<loadLicenses targetDir="${target.dir}/lib" />
Expand Down
1 change: 0 additions & 1 deletion components/xdnc/dhcpv6/scripts/DHCPv6Database/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
</resolver:resolve>
<loadLicenses targetDir="${basedir}/lib" />
Expand Down
1 change: 0 additions & 1 deletion components/xnwh/pools/DefaultConnectionPoolTypes/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion components/xnwh/pools/MockConnectionPoolTypes/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
</resolver:resolve>
<loadLicenses targetDir="${basedir}/lib" />
Expand Down
1 change: 0 additions & 1 deletion components/xnwh/xcs/XynaClusterPersistenceLayer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion components/xnwh/xcs/coherence/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
</resolver:resolve>
<loadLicenses targetDir="${basedir}/lib/xyna" />
Expand Down
1 change: 0 additions & 1 deletion components/xnwh/xcs/xsor/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion datamodeltypes/MIB/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion datamodeltypes/TR069/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
</resolver:resolve>
<loadLicenses targetDir="${basedir}/lib" />
Expand Down
1 change: 0 additions & 1 deletion datamodeltypes/XSD/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
2 changes: 0 additions & 2 deletions installation/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,6 @@ compose_modeller() {
prepare_build() {
mkdir -p /opt/common
cd $SCRIPT_DIR/build
sed -i "s#<url>file:\/\/.*<\/url>#<url>file://$HOME/.m2/repository<\/url>#" $SCRIPT_DIR/build/defaultMavenSettings.xml #TODO: allow config
sed -i "s#<localRepository>.*</localRepository>#<localRepository>//$HOME/.m2/repository</localRepository>#" $SCRIPT_DIR/build/defaultMavenSettings.xml
mvn install
}

Expand Down
21 changes: 0 additions & 21 deletions installation/build/ant-xyna.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,19 +233,6 @@
</classpath>
</taskdef>

<condition property="mavenSettingFile" value="${user.home}/mavenSettings.xml" else="${ant.file.ant-xyna.dir}/defaultMavenSettings.xml">
<available file="${user.home}/mavenSettings.xml" />
</condition>

<resolver:settings file="${mavenSettingFile}"/>

<!-- TODO switch on current os-family and only contain one? -->
<resolver:remoterepos id="xyna.repository">
<remoterepo refid="xyna.repository.win"/>
<remoterepo refid="xyna.repository.unix"/>
<remoterepo refid="central.maven.repository"/>
</resolver:remoterepos>

<!-- macro for downloading license files -->
<macrodef name="loadLicenses">
<attribute name="targetDir"/>
Expand All @@ -256,8 +243,6 @@
<arg value="mvn"/>
<arg value="-f" />
<arg value="@{pom}" />
<arg value="-s" />
<arg value="@{mavenSettingFile}" />
<arg value="license:download-licenses" />
<arg value="-DlicensesOutputDirectory=@{targetDir}" />
<arg value="-DlicensesOutputFile=@{targetDir}\licenses.xml" />
Expand All @@ -267,8 +252,6 @@
<exec osfamily="unix" executable="mvn" outputproperty="exec.output">
<arg value="-f" />
<arg value="@{pom}" />
<arg value="-s" />
<arg value="${mavenSettingFile}" />
<arg value="license:download-licenses" />
<arg value="-DlicensesOutputDirectory=@{targetDir}" />
<arg value="-DlicensesOutputFile=@{targetDir}/licenses.xml" />
Expand All @@ -286,15 +269,11 @@
<arg value="mvn"/>
<arg value="-f" />
<arg value="@{pom}" />
<arg value="-s" />
<arg value="${mavenSettingFile}" />
<arg value="install" />
</exec>
<exec osfamily="unix" executable="mvn" outputproperty="exec.output">
<arg value="-f" />
<arg value="@{pom}" />
<arg value="-s" />
<arg value="${mavenSettingFile}" />
<arg value="install" />
</exec>
<echo message="${exec.output}" />
Expand Down
1 change: 0 additions & 1 deletion installation/build/buildCommonLib.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@
</if>
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${base.lib.dir}/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${base.lib.dir}" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion installation/build/buildFilter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
</if>
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${base.lib.dir}/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${base.lib.dir}" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion installation/build/buildService.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@

<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${base.lib.dir}/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${base.lib.dir}" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion installation/build/buildSharedLib.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
</if>
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${base.lib.dir}/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${base.lib.dir}" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion installation/build/buildTrigger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
</if>
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${base.lib.dir}/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${base.lib.dir}" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
50 changes: 0 additions & 50 deletions installation/build/defaultMavenSettings.xml

This file was deleted.

1 change: 0 additions & 1 deletion installation/build/lib/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/factory" layout="{artifactId}-{classifier}-{version}.{extension}"/>
</resolver:resolve>
</target>
Expand Down
1 change: 0 additions & 1 deletion misc/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion modules/xact/http/common/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${lib.dir}/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
</resolver:resolve>
<loadLicenses targetDir="${lib.dir}" />
Expand Down
1 change: 0 additions & 1 deletion orderinputsources/ConstantInputSource/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion orderinputsources/WorkflowInputSource/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion orderinputsources/XTFInputSource/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion persistencelayers/MySQLPersistenceLayer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion persistencelayers/OraclePersistenceLayer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion persistencelayers/XynaDevNullPersistenceLayer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
1 change: 0 additions & 1 deletion persistencelayers/XynaMemoryPersistenceLayer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<resolver:files refid="files" dir="${basedir}/lib.test" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="test"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
Expand Down
1 change: 0 additions & 1 deletion persistencelayers/XynaXMLShellPersistenceLayer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:files refid="files" dir="${basedir}/lib/xyna" layout="{artifactId}-{classifier}-{version}.{extension}"/>
<!--resolver:files refid="files" dir="${basedir}/lib" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/-->
</resolver:resolve>
Expand Down
3 changes: 1 addition & 2 deletions server/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@

<target name="resolve">
<resolver:resolve>
<resolver:dependencies pomRef="pom"/>
<resolver:remoterepos refid="xyna.repository"/>
<resolver:dependencies pomRef="pom"/>
<resolver:files refid="files" dir="${target.dir}" layout="{artifactId}-{classifier}-{version}.{extension}" /> <!--scopes="compile"-->
<resolver:files refid="internalFiles" dir="${target.dir}/internal_xyna" layout="{artifactId}-{classifier}-{version}.{extension}" scopes="runtime"/>
</resolver:resolve>
Expand Down
Loading

0 comments on commit a9154d6

Please sign in to comment.