-
Notifications
You must be signed in to change notification settings - Fork 15
Changes in Maven project templates for more convenience in multi-modular projects #9
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
base: gh-pages
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea | ||
**/.idea | ||
**/*.iml | ||
.vscode | ||
node_modules |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,61 @@ | |
{{/if}} | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
|
||
<main.verticle>{{metadata.packageName}}.MainVerticle</main.verticle> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>io.vertx</groupId> | ||
<artifactId>vertx-dependencies</artifactId> | ||
<version>{{coreVersion}}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
{{#if hasUnit}} | ||
|
||
<dependency> | ||
<groupId>io.vertx</groupId> | ||
<artifactId>vertx-unit</artifactId> | ||
<version>{{coreVersion}}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if we add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So I'm thinking that this hasUnit check is probably not necessary, but i might be missing something |
||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.12</version> | ||
<scope>test</scope> | ||
</dependency> | ||
{{/if}} | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<dependencies> | ||
{{#each selectedDependencies}} | ||
{{#each transformedSelectedDependencies}} | ||
<dependency> | ||
<groupId>{{groupId}}</groupId> | ||
<artifactId>{{artifactId}}</artifactId> | ||
{{#if version}} | ||
<version>{{version}}</version> | ||
{{/if}} | ||
{{#if scope}} | ||
<scope>{{scope}}</scope> | ||
{{/if}} | ||
</dependency> | ||
{{/each}} | ||
{{#if hasUnit}} | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
</dependency> | ||
{{/if}} | ||
</dependencies> | ||
|
||
<build> | ||
|
@@ -35,8 +79,6 @@ | |
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
<annotationProcessors> | ||
<annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor> | ||
</annotationProcessors> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is a nice addtion