[jira] Created: (MCASTOR-34) Fails in reactor mode: XSD paths resolved from reactor top project and not module project

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (MCASTOR-34) Fails in reactor mode: XSD paths resolved from reactor top project and not module project

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fails in reactor mode: XSD paths resolved from reactor top project and not module project
-----------------------------------------------------------------------------------------

                 Key: MCASTOR-34
                 URL: http://jira.codehaus.org/browse/MCASTOR-34
             Project: Maven 2.x Castor Plugin
          Issue Type: Bug
          Components: Core MOJOs
    Affects Versions: 1.5
            Reporter: Francois Loison


Created a reactor pom.xml:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.sonatype.mavenbook.multi</groupId>
        <artifactId>simple-parent</artifactId>
        <packaging>pom</packaging>
        <version>1.0</version>
        <name>Multi Chapter Simple Parent Project</name>
        <modules>
                <module>xsd-xml</module>
        </modules>
</project>

mvn clean compile fails:

[INFO] Processing C:\data\dev\java\xsd\src\main\resources\schema.xsd
[INFO] XML Schema file "C:\data\dev\java\xsd\src\main\resources\schema.xsd" not found.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------


--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MCASTOR-34) Fails in reactor mode: XSD paths resolved from reactor top project and not module project

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MCASTOR-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francois Loison updated MCASTOR-34:
-----------------------------------

    Attachment: castor-maven-plugin.patch

Fixed GenerateMojo.java, see patch.

> Fails in reactor mode: XSD paths resolved from reactor top project and not module project
> -----------------------------------------------------------------------------------------
>
>                 Key: MCASTOR-34
>                 URL: http://jira.codehaus.org/browse/MCASTOR-34
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Bug
>          Components: Core MOJOs
>    Affects Versions: 1.5
>            Reporter: Francois Loison
>         Attachments: castor-maven-plugin.patch
>
>
> Created a reactor pom.xml:
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>org.sonatype.mavenbook.multi</groupId>
> <artifactId>simple-parent</artifactId>
> <packaging>pom</packaging>
> <version>1.0</version>
> <name>Multi Chapter Simple Parent Project</name>
> <modules>
> <module>xsd-xml</module>
> </modules>
> </project>
> mvn clean compile fails:
> [INFO] Processing C:\data\dev\java\xsd\src\main\resources\schema.xsd
> [INFO] XML Schema file "C:\data\dev\java\xsd\src\main\resources\schema.xsd" not found.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Assigned: (MCASTOR-34) Fails in reactor mode: XSD paths resolved from reactor top project and not module project

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MCASTOR-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Guttmann reassigned MCASTOR-34:
--------------------------------------

    Assignee: Werner Guttmann

> Fails in reactor mode: XSD paths resolved from reactor top project and not module project
> -----------------------------------------------------------------------------------------
>
>                 Key: MCASTOR-34
>                 URL: http://jira.codehaus.org/browse/MCASTOR-34
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Bug
>          Components: Core MOJOs
>    Affects Versions: 1.5
>            Reporter: Francois Loison
>            Assignee: Werner Guttmann
>         Attachments: castor-maven-plugin.patch
>
>
> Created a reactor pom.xml:
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>org.sonatype.mavenbook.multi</groupId>
> <artifactId>simple-parent</artifactId>
> <packaging>pom</packaging>
> <version>1.0</version>
> <name>Multi Chapter Simple Parent Project</name>
> <modules>
> <module>xsd-xml</module>
> </modules>
> </project>
> mvn clean compile fails:
> [INFO] Processing C:\data\dev\java\xsd\src\main\resources\schema.xsd
> [INFO] XML Schema file "C:\data\dev\java\xsd\src\main\resources\schema.xsd" not found.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MCASTOR-34) Fails in reactor mode: XSD paths resolved from reactor top project and not module project

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MCASTOR-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197823#action_197823 ]

Werner Guttmann commented on MCASTOR-34:
----------------------------------------

Francois, can you please attach the complete project ?

> Fails in reactor mode: XSD paths resolved from reactor top project and not module project
> -----------------------------------------------------------------------------------------
>
>                 Key: MCASTOR-34
>                 URL: http://jira.codehaus.org/browse/MCASTOR-34
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Bug
>          Components: Core MOJOs
>    Affects Versions: 1.5
>            Reporter: Francois Loison
>         Attachments: castor-maven-plugin.patch
>
>
> Created a reactor pom.xml:
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>org.sonatype.mavenbook.multi</groupId>
> <artifactId>simple-parent</artifactId>
> <packaging>pom</packaging>
> <version>1.0</version>
> <name>Multi Chapter Simple Parent Project</name>
> <modules>
> <module>xsd-xml</module>
> </modules>
> </project>
> mvn clean compile fails:
> [INFO] Processing C:\data\dev\java\xsd\src\main\resources\schema.xsd
> [INFO] XML Schema file "C:\data\dev\java\xsd\src\main\resources\schema.xsd" not found.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MCASTOR-34) Fails in reactor mode: XSD paths resolved from reactor top project and not module project

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MCASTOR-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Guttmann updated MCASTOR-34:
-----------------------------------

    Affects Version/s: 2.0
        Fix Version/s: 2.0.1

> Fails in reactor mode: XSD paths resolved from reactor top project and not module project
> -----------------------------------------------------------------------------------------
>
>                 Key: MCASTOR-34
>                 URL: http://jira.codehaus.org/browse/MCASTOR-34
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Bug
>          Components: Core MOJOs
>    Affects Versions: 1.5, 2.0
>            Reporter: Francois Loison
>            Assignee: Werner Guttmann
>             Fix For: 2.0.1
>
>         Attachments: castor-maven-plugin.patch
>
>
> Created a reactor pom.xml:
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>org.sonatype.mavenbook.multi</groupId>
> <artifactId>simple-parent</artifactId>
> <packaging>pom</packaging>
> <version>1.0</version>
> <name>Multi Chapter Simple Parent Project</name>
> <modules>
> <module>xsd-xml</module>
> </modules>
> </project>
> mvn clean compile fails:
> [INFO] Processing C:\data\dev\java\xsd\src\main\resources\schema.xsd
> [INFO] XML Schema file "C:\data\dev\java\xsd\src\main\resources\schema.xsd" not found.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email