15 lines
439 B
Bash
Executable File
15 lines
439 B
Bash
Executable File
#list=`grep artifactId ./pom.xml | sed "s/<artifactId>//g" | sed "s/<\/artifactId>//g" | awk '{print $2}'`
|
|
list=`grep artifactId ./pom.xml | sed "s/<artifactId>//g" | sed "s/<\/artifactId>//g"`
|
|
|
|
for x in $list; do
|
|
|
|
path=`find ./repository -name "*${x}*.jar" #| sed "s/\.\/repository\///g"`
|
|
|
|
|
|
for j in $path; do
|
|
echo "<systemPath>\${project.basedir}/${j}</systemPath>" | sed 's/\.\/repository/repository/g'
|
|
done
|
|
done
|
|
|
|
|