Hi,

I am using statscm and seems that after upgrading to 2.0.9 or maybe some
update its reports started to be broken. I then discovered that some of its
output was being copied onto folders outside the project layout i.e.

# parent pom
/home/me/projects/a/trunk/pom.xml 

# sub-modules
/home/me/projects/a/trunk/a-1/pom.xml
/home/me/projects/a/trunk/a-2/pom.xml
/home/me/projects/a/trunk/a-3/pom.xml

statscm outputs the per module reports for e.g. a-1 in:

# this is wrong and don't know how to fix
/home/me/projects/a/target/site/statscm/a-1/

# some of the files are still created in the proper place
/home/me/projects/a/trunk/target/site/statscm/a-1/

So I am trying to manually fix this with something like:

find ../target -name "statscm" | awk -F/ '{print "mv -f
"$1"/"$2"/"$3"/"$4"/"$5"/* ./target/"$3"/"$4"/"$5"/" }'

TIA,
regards,
Giovanni



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to