Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create properties for all dependencies * Split BOM into Dropwizard modules and transitive dependencies * Introduce dropwizard-project for common build configuration dropwizard-parent is still the parent POM for most Dropwizard modules, but automatically includes the dependencies from dropwizard-bom and dropwizard-dependencies.
- Loading branch information
Showing
39 changed files
with
1,126 additions
and
1,533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>io.dropwizard.archetypes</groupId> | ||
<artifactId>dropwizard-archetypes</artifactId> | ||
<version>2.0.0-rc6-SNAPSHOT</version> | ||
</parent> | ||
<parent> | ||
<groupId>io.dropwizard.archetypes</groupId> | ||
<artifactId>dropwizard-archetypes</artifactId> | ||
<version>2.0.0-rc6-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>java-simple</artifactId> | ||
<packaging>maven-archetype</packaging> | ||
<artifactId>java-simple</artifactId> | ||
<packaging>maven-archetype</packaging> | ||
|
||
<name>Dropwizard Archetype for Simple Java Services</name> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>io.dropwizard</groupId> | ||
<artifactId>dropwizard-bom</artifactId> | ||
<version>${project.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<build> | ||
<!-- verify the archetype with invoker --> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-invoker-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
|
||
<!-- enable filtering on the POM so we can inject variables --> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
<includes> | ||
<include>archetype-resources/pom.xml</include> | ||
</includes> | ||
</resource> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>false</filtering> | ||
<excludes> | ||
<exclude>archetype-resources/pom.xml</exclude> | ||
</excludes> | ||
</resource> | ||
</resources> | ||
</build> | ||
<name>Dropwizard Archetype for Simple Java Services</name> | ||
<build> | ||
<!-- verify the archetype with invoker --> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-invoker-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
|
||
<!-- enable filtering on the POM so we can inject variables --> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
<includes> | ||
<include>archetype-resources/pom.xml</include> | ||
</includes> | ||
</resource> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>false</filtering> | ||
<excludes> | ||
<exclude>archetype-resources/pom.xml</exclude> | ||
</excludes> | ||
</resource> | ||
</resources> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.