[ 
https://issues.apache.org/jira/browse/XBEAN-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks closed XBEAN-90.
-----------------------------

    Resolution: Fixed

Simple, make the sources available, solution implemented in rev 551709.  To 
use, add dependencies like this to your pom:

    <dependency>
      <groupId>org.apache.directory.server</groupId>
      <artifactId>apacheds-protocol-ntp</artifactId>
      <version>${pom.version}</version>
      <classifier>sources</classifier>
    </dependency>


and in those modules generate source jars like this:

  <build>
    <pluginManagement>
      <plugins>

          <plugin>
            <groupId>org.apache.xbean</groupId>
            <artifactId>maven-xbean-plugin</artifactId>
            <version>3.1-SNAPSHOT</version>
          </plugin>

          <!--  lets ensure that the XSD gets deployed  -->
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <version>1.0</version>
          </plugin>

          <plugin>
            <inherited>true</inherited>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>2.0.3</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>

      </plugins>
    </pluginManagement>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
      </plugin>
    </plugins>
  </build>


> Allow generating xsd from source from multiple maven projects at once, 
> through supplying the source code to qdox
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: XBEAN-90
>                 URL: https://issues.apache.org/jira/browse/XBEAN-90
>             Project: XBean
>          Issue Type: Improvement
>          Components: spring
>    Affects Versions: 3.0.1
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.1
>
>
> Right now you can only generate an xsd containing stuff from one maven 
> (sub)project.  This isn't good enough for many projects where the stuff you 
> need to configure is scattered over lots and lots of maven projects, but you 
> want it all in the same namespace since its all one big project.  An easy way 
> to fix this is to generate source jars for the "other" projects and supply 
> the source to qdox.  A more sophisticate way to do this would be to write out 
> the model, perhaps in xml using jaxb as an attached artifact.

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

Reply via email to