[ http://jira.codehaus.org/browse/MXMLBEANS-7?page=all ]

Brett Porter moved MOJO-89 to MXMLBEANS-7:
------------------------------------------

    Fix Version:     (was: 2.0)
                 2.0
      Component:     (was: xmlbeans)
            Key: MXMLBEANS-7  (was: MOJO-89)
        Project: Maven 2.x Xmlbeans Plugin  (was: Mojo)

> problems with managing paths when using xmlbeans-plugin in test phase
> ---------------------------------------------------------------------
>
>          Key: MXMLBEANS-7
>          URL: http://jira.codehaus.org/browse/MXMLBEANS-7
>      Project: Maven 2.x Xmlbeans Plugin
>         Type: Bug

>  Environment: doesn't matter
>     Reporter: Piotr Burdylo
>     Assignee: Corridor Software Developer
>      Fix For: 2.0

>
>
> There are two problems with this one:
> 1. XmlBeansPlugin.execute() method has:
> if (!result) {
>   // something
> } else {
>   project.addCompileSourceRoot(compilerParams.getSrcDir().getAbsolutePath());
>   project.getCompileClasspathElements().add(compilerParams.getClassesDir());
> }
> Else clause works good in pre-compile phase, but does no good in test phase...
> 2. configuration in pom.xml doesn't allow to set
> <sourceGenerationDirectory/> and <classGenerationDirectory/>
> They are marked @readonly.
> Because of this xbeans generate source and classes to target/generated-source 
> and target/classes which is an issue if you are using xbean in test phase and 
> don't want to include generated classes to your distribution.

-- 
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

Reply via email to