Or bind your goal to site since bound plugins always run after the
default bound plugins on the same phase.

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 6:53 PM
To: Maven Users List
Subject: Re: maven does not run code specified in the post-site phase?

On Thu, May 8, 2008 at 6:29 PM, Tawfik, Sameh E
<[EMAIL PROTECTED]> wrote:

>  I placed the following code in the parent pom.xml file. When I run
"mvn
>  -Dmaven.test.skip=true site", maven executes the code in the pre-site
>  phase, but it never executes the code in the post-site phase?

See:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
e.html#Lifecycle_Reference
(and scroll down a bit).

The site lifecycle has the following phases:  pre-site, site,
post-site, site-deploy

By typing 'mvn site' you are telling it to run up to and including the
'site' phase.  So nothing bound to the post-site or site-deploy phases
is going to happen.

Type 'mvn post-site' instead and it should work.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to