Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logback-XSD project to Maven Central #18

Open
kdeenanauth opened this issue Dec 31, 2014 · 0 comments
Open

Add logback-XSD project to Maven Central #18

kdeenanauth opened this issue Dec 31, 2014 · 0 comments

Comments

@kdeenanauth
Copy link

When dealing with a lot of projects, it would be helpful if logback-XSD was made available via Maven Central. We could copy it to our projects via

<plugin>
  <!-- Used to pull logback.xsd from adk-core -->
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-dependency-plugin</artifactId>
  <executions>
    <execution>
      <id>unpack-logback-xsd</id>
      <phase>generate-sources</phase>
      <goals>
        <goal>unpack</goal>
      </goals>
      <configuration>
        <artifactItems>
          <artifactItem>
            <groupId>...</groupId>
            <artifactId>...</artifactId>
            <version>...</version>
          </artifactItem>
        </artifactItems>
        <includes>**/logback.xsd</includes>
        <outputDirectory>${project.basedir}/target/xsd-includes</outputDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant