You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Andy Glick (JIRA)" <ji...@codehaus.org> on 2005/07/07 15:26:14 UTC

[jira] Created: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

POM XSD and site doco out of sync and both may be out of sync with code
-----------------------------------------------------------------------

         Key: MNG-555
         URL: http://jira.codehaus.org/browse/MNG-555
     Project: Maven 2
        Type: Bug
  Components: maven-model  
    Versions: 2.0-alpha-3    
 Environment: Win 2K, Java 1.4.2 & Java 1.5.0
    Reporter: Andy Glick


It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.

The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:

http://maven.apache.org/maven2/maven-model/maven.html

<executions>
  <pluginExecution>
    <id/>
    <phase/>
    <goals/>
    <inherited/>
    <configuration/>
  </pluginExecution>
</executions>

Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd

In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:

<executions>
  <execution>
    <goals>
      <goal>sablecc</goal>
    </goals>
  </execution>
</executions>

http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2


-- 
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
-
For more information on JIRA, 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


[jira] Updated: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-555?page=all ]

Brett Porter updated MNG-555:
-----------------------------

            Complexity: Intermediate
    Remaining Estimate: 30 minutes
     Original Estimate: 1800

> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-1

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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


[jira] Closed: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-555?page=all ]
     
Brett Porter closed MNG-555:
----------------------------

    Resolution: Fixed

> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-4

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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


[jira] Updated: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-555?page=all ]

Brett Porter updated MNG-555:
-----------------------------

    Description: 
It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.

The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:

http://maven.apache.org/maven2/maven-model/maven.html

<executions>
  <pluginExecution>
    <id/>
    <phase/>
    <goals/>
    <inherited/>
    <configuration/>
  </pluginExecution>
</executions>

Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd

In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:

<executions>
  <execution>
    <goals>
      <goal>sablecc</goal>
    </goals>
  </execution>
</executions>

http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2


  was:
It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.

The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:

http://maven.apache.org/maven2/maven-model/maven.html

<executions>
  <pluginExecution>
    <id/>
    <phase/>
    <goals/>
    <inherited/>
    <configuration/>
  </pluginExecution>
</executions>

Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd

In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:

<executions>
  <execution>
    <goals>
      <goal>sablecc</goal>
    </goals>
  </execution>
</executions>

http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2


    Fix Version: 2.0-beta-1

> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>      Fix For: 2.0-beta-1

>
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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


[jira] Updated: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-555?page=all ]

Brett Porter updated MNG-555:
-----------------------------

    Fix Version:     (was: 2.0-beta-3)
                 2.0-beta-4

> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-4

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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


[jira] Updated: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-555?page=all ]

Brett Porter updated MNG-555:
-----------------------------

    Priority: Critical  (was: Major)

> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>     Priority: Critical
>      Fix For: 2.0-beta-1

>
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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


[jira] Updated: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-555?page=all ]

Brett Porter updated MNG-555:
-----------------------------

    Fix Version:     (was: 2.0-beta-1)
                 2.0-beta-2

> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-2

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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


[jira] Updated: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-555?page=all ]

Brett Porter updated MNG-555:
-----------------------------

    Assign To: Brett Porter

> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-1

>
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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


[jira] Commented: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Dave Sag (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-555?page=comments#action_47796 ] 

Dave Sag commented on MNG-555:
------------------------------

i just hit this problem in my project.  have been trying to bind checkstyle to the test phase so that the tests will fail if checkstyle reports errors.

so far this has proved impossible with the beta-2 codebase.

my valid POM says
<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
           <configuration>
                <propertiesFile>checkstyle-src.xml</propertiesFile>
                <failsOnError>true</failsOnError>
            </configuration>
            <goals>
                <goal>
                    <id>test</id>
                 </goal>
            </goals>
        </plugin>
    </plugins>
</build>

which is validated by my fancy pants xml tool (Turbo XML - it's sluggish but neat)

but the spec mentions all this <executions><execution>...</...> stuff in some places and <executions><pluginExecution>.. in others.

i tried all manner of things but the only valid combinations i found just give me deprecation warnings and blow.

please keep it simple is all i ask - why deprecate putting the goals up there anyway?  it's easy and it worked.



> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-4

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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


[jira] Commented: (MNG-555) POM XSD and site doco out of sync and both may be out of sync with code

Posted by "Stephen Duncan Jr (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-555?page=comments#action_47675 ] 

Stephen Duncan Jr commented on MNG-555:
---------------------------------------

Additionally, what the documentation (and code) currently state should be <reporting>, the XSD file currently specifies should be <reports>

> POM XSD and site doco out of sync and both may be out of sync with code
> -----------------------------------------------------------------------
>
>          Key: MNG-555
>          URL: http://jira.codehaus.org/browse/MNG-555
>      Project: Maven 2
>         Type: Bug
>   Components: maven-model
>     Versions: 2.0-alpha-3
>  Environment: Win 2K, Java 1.4.2 & Java 1.5.0
>     Reporter: Andy Glick
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-4

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> It looks as if the XML schema is out of sync with the POM documentation page and both may be out of sync with the code.
> The following fragment from Plugin type's definition on the POM documentation page does not appear in the published XSD:
> http://maven.apache.org/maven2/maven-model/maven.html
> <executions>
>   <pluginExecution>
>     <id/>
>     <phase/>
>     <goals/>
>     <inherited/>
>     <configuration/>
>   </pluginExecution>
> </executions>
> Maven 2 XSD http://maven.apache.org/maven-v4_0_0.xsd
> In addition, in a post from the Maven User mailing list the following fragment was reported to work, and it matches neither of the published formats:
> <executions>
>   <execution>
>     <goals>
>       <goal>sablecc</goal>
>     </goals>
>   </execution>
> </executions>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112064009313457&w=2

-- 
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
-
For more information on JIRA, 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