[ http://jira.codehaus.org/browse/MXMLBEANS-31?page=comments#action_83579 ] 
            
premchand vijayan commented on MXMLBEANS-31:
--------------------------------------------


That makes sense it can be treated as a new feature,actually Iam a new user to 
Jira.U may close the other two.

Let me explain you a scenario

We are using both jaxme-maven plugin and Xmlbeans-maven plugin in our 
workspace. For the former one <readOnly>true</readOnly> works fine.
We are using eclipse as the IDE. The eclipse configuration allows us to skip 
the checkstyle validation for java sources, if the file type is readonly.
This just works fine for jaxme-maven plug-in.
        But in the case of xmlbeans-maven plug-in, I'm not able to find a way 
to make the generated files read only. And because of this issue, the 
check-style issues warnings. I'm yet to find a way to mark the generated files 
read-only with the plug-in itself, as in the case of jaxme-maven plug-in.

Thanks


> Read Only attribute to the generated java source 
> -------------------------------------------------
>
>                 Key: MXMLBEANS-31
>                 URL: http://jira.codehaus.org/browse/MXMLBEANS-31
>             Project: Maven 2.x Xmlbeans Plugin
>          Issue Type: Wish
>    Affects Versions: 2.0
>            Reporter: premchand vijayan
>
> Iam having  the following entry in the POM.But the generated java source 
> files from the xsd does not have the read only attributes set.
> I tried putting an entry like this <readOnly>true</readOnly>{this works with 
> jaxme-maven plugin} but not in xmlBeans-maven plugin.
>           
>   <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>xmlbeans-maven-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>xmlbeans</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 <inherited>true</inherited>
>                 <configuration>
>                     <schemaDirectory>src/main/xsd</schemaDirectory>
>                     
> <sourceGenerationDirectory>${project.build.directory}/generated-sources/java</sourceGenerationDirectory>
>                 </configuration>
>             </plugin>

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

Reply via email to