You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Thomas Scheffler <th...@uni-jena.de> on 2013/08/09 14:54:59 UTC

slow release:perform

Hi,

we have a parent pom where all of our projects get it's settings from
(plugin version etc.). In that parent pom there is a
distributionManagement section with all the needed sections for
deployment. Now the settings for "site" prove to be a big problem.

Whenever a site is deployed a command is issued like that:

Executing command: cd
"/var/www/html/maven-docs/projectA-1.0/subProjectB"; unzip -q -o
"wagon7218022527119219133.zip"; rm -f "wagon7218022527119219133.zip"
Executing command: chmod -Rf g+w,a+rX /var/www/html/maven-docs

"projectA" is a multi module project that uses the mentioned parent pom
and "subProjectB" is a module with "projectA" as its parent.

The files for the site of subProjectB a dropped to the right directory
(/var/www/html/maven-docs/projectA-1.0/subProjectB) but the following
"chmod" always issues the directory two levels higher. At this level
thousands and thousands of files are laying there so this command takes
a few minutes. Things get worse with more modules of projectA.
The whole release process waits 95 percent of time for that "chmod" to
complete.

It would be better if chmod would only run on the directory that was
created earlier (/var/www/html/maven-docs/projectA-1.0/subProjectB).

How can that be accomplished?

Kind regards

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org