Hi,

I did it, I get a really large output in the console, which finally shows tyhe 
message i wrote above :/
________________________________________
From: dennisl [via Maven] [[email protected]]
Sent: 27 April 2011 17:40
To: Leandro Iriarte
Subject: Re: mvn compile works mvn site-deploy causes complation error

Hi

Run the build with the -X command line option to get debugging output.
That should help you to find out which report is causing the problem.

Leandro skrev 2011-04-27 16:20:

> Hi,
>
> I have a multi-project module with maven 3.0.2
>
> I am trying to setup the site generation after all compile dependencies are
> now resolved and no compile error is caused during mvn compile or mvn
> install or mvn deploy.
>
> When I do a mvn site or mvn site:stage I get a compile error, anyone has a
> clue what is going on ? Also a mvn clean install before site does not fix
> this problem
>
> Besides I think is taking too much time, and I see the message "Forking
> ...." more than three times per project.
>
> In my root pom I added the following code inside tag:
>
> <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-site-plugin</artifactId>
>                 <version>3.0-beta-2</version>
>                 <configuration>
>                   <siteDirectory>${basedir}/site/</siteDirectory>
>
>                 <reportPlugins>
>                       <plugin>
>                         <groupId>org.apache.maven.plugins</groupId>
>                         <artifactId>maven-javadoc-plugin</artifactId>
>                         <version>2.7</version>
>                       </plugin>
>                   <plugin>
>                           <groupId>org.apache.maven.plugins</groupId>
>
> <artifactId>maven-project-info-reports-plugin</artifactId>
>                           <version>2.2</version>
>                           <reportSets>
>                                 <reportSet>
>                                 <reports>
>                                   <report>dependencies</report>
>                                   <report>license</report>
>                                   <report>scm</report>
>                                   <report>project-team</report>
>                                 </reports>
>                                 </reportSet>
>                                 </reportSets>
>                      </plugin>
>                   </reportPlugins>
>                 </configuration>
>               </plugin>
>
> I have a few doubts:
>
> 1) Why am I getting a compilation error only when I use mvn site?
>
> 2) Do I need to add the code below or similar to the subprojects as well?
> (or is enough in the root pom?)
>
> 3) Do I need to add the true or the appropriate goal (aggregate) ?
>
> 4) Would I get an error if I do not write the site descriptor in each
> subproject?
>
> 5) Is it normal that I am getting more than three "Forking ...." messages?
>
> Finally, the last error was:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.0-beta-2:stage (default-cli) on
> project xstreamline3-viewers: Error during page generation: Error rendering
> Maven report:
> [ERROR] Exit code: 1 -
> com/fuseim/process/action/PollMessages.class(com/fuseim/process/action:PollMessages.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.ejb.TransactionAttribute': class file for
> javax.ejb.TransactionAttribute not found
> [ERROR]
> com/fuseim/process/action/PollMessages.class(com/fuseim/process/action:PollMessages.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.ejb.TransactionAttribute'
> [ERROR] error: in class file
> com/fuseim/process/action/PollMessages.class(com/fuseim/process/action:PollMessages.class):
> unknown enum constant javax.ejb.TransactionAttributeType.REQUIRES_NEW
> [ERROR]
> com/fuseim/process/action/CreateProcessListener.class(com/fuseim/process/action:CreateProcessListener.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.ejb.TransactionManagement': class file for
> javax.ejb.TransactionManagement not found
>
> Please help me with this issue.
>
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/mvn-compile-works-mvn-site-deploy-causes-complation-error-tp4343797p4343797.html<http://maven.40175.n5.nabble.com/mvn-compile-works-mvn-site-deploy-causes-complation-error-tp4343797p4343797.html?by-user=t>
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]</user/SendEmail.jtp?type=node&node=4344160&i=0&by-user=t>
> For additional commands, e-mail: [hidden 
> email]</user/SendEmail.jtp?type=node&node=4344160&i=1&by-user=t>
>
>


--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden 
email]</user/SendEmail.jtp?type=node&node=4344160&i=2&by-user=t>
For additional commands, e-mail: [hidden 
email]</user/SendEmail.jtp?type=node&node=4344160&i=3&by-user=t>



________________________________
If you reply to this email, your message will be added to the discussion below:
http://maven.40175.n5.nabble.com/mvn-compile-works-mvn-site-deploy-causes-complation-error-tp4343797p4344160.html
To unsubscribe from mvn compile works mvn site-deploy causes complation error, 
click 
here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4343797&code=bGVhbmRyby5pcmlhcnRlQGZ1c2VpbS5jb218NDM0Mzc5N3wtMTQ1MTMwNzY1>.


--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-compile-works-mvn-site-deploy-causes-complation-error-tp4343797p4344187.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to