[ http://jira.codehaus.org/browse/MXMLBEANS-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corridor Software Developer closed MXMLBEANS-31. ------------------------------------------------ Resolution: Won't Fix The more I think about this one, the less appealing it gets. The read-only concept doesn't really fit since subsequent compiles will update the files if the stale flag is set. Also, the checkstyle maven plugin has an exclude parameter which will get you the same result. > 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 > Assignee: Corridor Software Developer > > 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