Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reintroduce getallmavencoordinates #4410

Merged
merged 1 commit into from Jul 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 21 additions & 0 deletions nbbuild/build.xml
Expand Up @@ -244,6 +244,27 @@ metabuild.hash=${metabuild.hash}</echo>
</target>

<!-- create list of all maven coordinate -->
<target name="getallmavencoordinates">
<concat destfile="${nb_all}/nbbuild/build/external.info">
<fileset dir="${nb_all}" includes="**/external/binaries-list" />
<fileset dir="${nb_all}" includes="**/external/binariesembedded-list" />
<filterchain>
<!-- remove comment inline not inline -->
<tokenfilter>
<replaceregex pattern="#(.*)$" replace="" flags="gim" />
</tokenfilter>
<!-- : is sparator for maven coordinate -->
<linecontains>
<contains value=":"/>
</linecontains>
<!-- needed as separator -->
<tokenfilter>
<replacestring from=" " to=";"/>
</tokenfilter>
</filterchain>
</concat>
</target>
<!-- maven coordinate target end DO NOT REMOVE it helps making external consice -->
<target name="download-selected-extbins" unless="ext.binaries.downloaded" depends="init-module-list">
<echo>Downloading external binaries (*/external/ directories) for cluster.config=${cluster.config}...</echo>
<pathconvert property="modules.binaries-list" pathsep=",">
Expand Down