Created
September 14, 2015 12:12
-
-
Save bdelacretaz/05fbaa34b45911560816 to your computer and use it in GitHub Desktop.
pompl script - generates a list of folders for mvn -pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find all pom.xml files under specified path and generate a comma-separated | |
# list of their folder names, suitable for use with the mvn -pl option | |
find "$1" -name pom.xml | grep -v '/target/' | xargs -n1 dirname | awk '{ printf $1 "," }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment