You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2007/10/03 15:56:51 UTC

[jira] Created: (SLING-31) maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java

maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java
------------------------------------------------------------------------

                 Key: SLING-31
                 URL: https://issues.apache.org/jira/browse/SLING-31
             Project: Sling
          Issue Type: Bug
          Components: Plugin
         Environment: Mac OS X 10.4.10 (8R218), PowerPC

java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
            Reporter: Oliver Lietz


had to change qdox version in maven-plugin-tools-java's pom.xml from 1.5 to 1.6.1 to prevent following build failure:


[INFO] [plugin:descriptor]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
[INFO] ------------------------------------------------------------------------
[INFO] Trace
com.thoughtworks.qdox.parser.ParseException: syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
        at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
        at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
        at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
[...]



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-31) maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved SLING-31.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Added 

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-plugin-plugin</artifactId>
                    <version>2.3</version>
                </plugin>

to the plugin management section of the Sling parent POM .

Please close this issue if this fixes your problem. Thanks.

Fixed in Rev. 582217.

> maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java
> ------------------------------------------------------------------------
>
>                 Key: SLING-31
>                 URL: https://issues.apache.org/jira/browse/SLING-31
>             Project: Sling
>          Issue Type: Bug
>          Components: Plugin
>         Environment: Mac OS X 10.4.10 (8R218), PowerPC
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
>            Reporter: Oliver Lietz
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>         Attachments: pom.diff
>
>
> had to change qdox version in maven-plugin-tools-java's pom.xml from 1.5 to 1.6.1 to prevent following build failure:
> [INFO] [plugin:descriptor]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
>         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
>         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
>         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
> [...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-31) maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532632 ] 

Felix Meschberger commented on SLING-31:
----------------------------------------

Thanks for the hint. I will update the the Sling parent pom to reer to plugin plugin 2.3.

Thanks for reporting.

> maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java
> ------------------------------------------------------------------------
>
>                 Key: SLING-31
>                 URL: https://issues.apache.org/jira/browse/SLING-31
>             Project: Sling
>          Issue Type: Bug
>          Components: Plugin
>         Environment: Mac OS X 10.4.10 (8R218), PowerPC
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
>            Reporter: Oliver Lietz
>            Assignee: Felix Meschberger
>         Attachments: pom.diff
>
>
> had to change qdox version in maven-plugin-tools-java's pom.xml from 1.5 to 1.6.1 to prevent following build failure:
> [INFO] [plugin:descriptor]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
>         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
>         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
>         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
> [...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-31) maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java

Posted by "Oliver Lietz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Lietz closed SLING-31.
-----------------------------


Works.

> maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java
> ------------------------------------------------------------------------
>
>                 Key: SLING-31
>                 URL: https://issues.apache.org/jira/browse/SLING-31
>             Project: Sling
>          Issue Type: Bug
>          Components: Plugin
>         Environment: Mac OS X 10.4.10 (8R218), PowerPC
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
>            Reporter: Oliver Lietz
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>         Attachments: pom.diff
>
>
> had to change qdox version in maven-plugin-tools-java's pom.xml from 1.5 to 1.6.1 to prevent following build failure:
> [INFO] [plugin:descriptor]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
>         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
>         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
>         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
> [...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-31) maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned SLING-31:
--------------------------------------

    Assignee: Felix Meschberger

> maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java
> ------------------------------------------------------------------------
>
>                 Key: SLING-31
>                 URL: https://issues.apache.org/jira/browse/SLING-31
>             Project: Sling
>          Issue Type: Bug
>          Components: Plugin
>         Environment: Mac OS X 10.4.10 (8R218), PowerPC
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
>            Reporter: Oliver Lietz
>            Assignee: Felix Meschberger
>         Attachments: pom.diff
>
>
> had to change qdox version in maven-plugin-tools-java's pom.xml from 1.5 to 1.6.1 to prevent following build failure:
> [INFO] [plugin:descriptor]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
>         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
>         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
>         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
> [...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-31) maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java

Posted by "Oliver Lietz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Lietz updated SLING-31:
------------------------------

    Attachment: pom.diff

Maven 2.07, I only had Maven Plugin Plugin 2.0 in my local m2 repo.
Adding Maven Plugin Plugin 2.3 to parent's pom.xml pluginManagement also fixes this problem.

> maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java
> ------------------------------------------------------------------------
>
>                 Key: SLING-31
>                 URL: https://issues.apache.org/jira/browse/SLING-31
>             Project: Sling
>          Issue Type: Bug
>          Components: Plugin
>         Environment: Mac OS X 10.4.10 (8R218), PowerPC
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
>            Reporter: Oliver Lietz
>         Attachments: pom.diff
>
>
> had to change qdox version in maven-plugin-tools-java's pom.xml from 1.5 to 1.6.1 to prevent following build failure:
> [INFO] [plugin:descriptor]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
>         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
>         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
>         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
> [...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (SLING-31) maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java

Posted by "Oliver Lietz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532622 ] 

olli edited comment on SLING-31 at 10/5/07 4:19 AM:
------------------------------------------------------------

Maven 2.0.7, I only had Maven Plugin Plugin 2.0 in my local m2 repo.
Adding Maven Plugin Plugin 2.3 to parent's pom.xml pluginManagement also fixes this problem.

      was (Author: olli):
    Maven 2.07, I only had Maven Plugin Plugin 2.0 in my local m2 repo.
Adding Maven Plugin Plugin 2.3 to parent's pom.xml pluginManagement also fixes this problem.
  
> maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java
> ------------------------------------------------------------------------
>
>                 Key: SLING-31
>                 URL: https://issues.apache.org/jira/browse/SLING-31
>             Project: Sling
>          Issue Type: Bug
>          Components: Plugin
>         Environment: Mac OS X 10.4.10 (8R218), PowerPC
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
>            Reporter: Oliver Lietz
>         Attachments: pom.diff
>
>
> had to change qdox version in maven-plugin-tools-java's pom.xml from 1.5 to 1.6.1 to prevent following build failure:
> [INFO] [plugin:descriptor]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
>         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
>         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
>         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
> [...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-31) maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532592 ] 

Felix Meschberger commented on SLING-31:
----------------------------------------

Hmm, the BundleDeployFileMojo has a Java five attribute (@Override) at that location. Could it be that you are trying to compile with an older version of Maven or the Maven Plugin Plugin ?

> maven-sling-plugin: build failure caused by qdox/maven-plugin-tools-java
> ------------------------------------------------------------------------
>
>                 Key: SLING-31
>                 URL: https://issues.apache.org/jira/browse/SLING-31
>             Project: Sling
>          Issue Type: Bug
>          Components: Plugin
>         Environment: Mac OS X 10.4.10 (8R218), PowerPC
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
>            Reporter: Oliver Lietz
>
> had to change qdox version in maven-plugin-tools-java's pom.xml from 1.5 to 1.6.1 to prevent following build failure:
> [INFO] [plugin:descriptor]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[45,5] in file:/[...]/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployFileMojo.java
>         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
>         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
>         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
> [...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.