You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/09/25 09:15:42 UTC

[jira] Closed: (MAVEN-257) Reactor problem with some plugins

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Thu, 25 Sep 2003 2:14 AM

I know for sure clean and checkstyle work in a multiproject.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-257


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-257
    Summary: Reactor problem with some plugins
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-reactor
   Fix Fors:
             1.0-rc1
   Versions:
             1.0-beta-8

   Assignee: Ben Walding
   Reporter: Julien S

    Created: Fri, 7 Feb 2003 7:30 AM
    Updated: Thu, 25 Sep 2003 2:14 AM
Environment: Linux, all JVMs (probably not environment specific though)

Description:
Not sure whether it's a reactor bug or a bug in various plugins, but the problem is the following:

I have many subprojects, and a top-level reactor which is simply calling the goals of the subprojects.

All the goals work fine when maven is called from the subprojects directory, but some fail when called from the reactor, in particular, checkstyle fails (the LICENSE.txt file is not found) and clover fails (nothing happens). I have not tested all the goals, but in general it seems that plugins are looking for files in the top-level directory instead or looking for them in the subproject directories.

The reactor is always called quite simply:
  <goal name="somegoal">
    <maven:reactor
      basedir="${basedir}"
      includes="*/project.xml"
      goals="somegoal"
    />
  </goal>

The behavior is different for at least checkstyle and clover, depending on whether I call "maven somegoal" for the top-level dir, or "maven somegoal" from each subdir.
 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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