Skip to content

Commit 0070a27

Browse files
committed
set default dependencies
1 parent e23041a commit 0070a27

File tree

2 files changed

+76
-14
lines changed

2 files changed

+76
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="http://wcm.io/images/[email protected]"/> wcm.io DevOps CONGA Tooling
1+
<img src="http://wcm.io/images/[email protected]"/> wcm.io DevOps Tooling
22
======
33
[![Build Status](https://travis-ci.org/wcm-io-devops/devops-tooling.png?branch=develop)](https://travis-ci.org/wcm-io-devops/devops-tooling)
44

parent_toplevel/pom.xml

Lines changed: 75 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
<tag>HEAD</tag>
4545
</scm>
4646

47+
<properties>
48+
<build.compiler.source>1.8</build.compiler.source>
49+
<build.compiler.target>1.8</build.compiler.target>
50+
</properties>
51+
4752
<inceptionYear>2015</inceptionYear>
4853

4954
<organization>
@@ -75,6 +80,61 @@
7580
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
7681
</license>
7782
</licenses>
83+
84+
<dependencies>
85+
86+
<!-- Testing -->
87+
<dependency>
88+
<groupId>junit</groupId>
89+
<artifactId>junit</artifactId>
90+
<scope>test</scope>
91+
</dependency>
92+
<dependency>
93+
<groupId>org.mockito</groupId>
94+
<artifactId>mockito-core</artifactId>
95+
<scope>test</scope>
96+
</dependency>
97+
98+
</dependencies>
99+
<dependencyManagement>
100+
<dependencies>
101+
102+
<!-- Logging -->
103+
<dependency>
104+
<groupId>org.slf4j</groupId>
105+
<artifactId>slf4j-api</artifactId>
106+
<version>1.7.12</version>
107+
</dependency>
108+
<dependency>
109+
<groupId>org.slf4j</groupId>
110+
<artifactId>slf4j-log4j12</artifactId>
111+
<version>1.7.12</version>
112+
</dependency>
113+
<dependency>
114+
<groupId>org.slf4j</groupId>
115+
<artifactId>slf4j-simple</artifactId>
116+
<version>1.7.12</version>
117+
</dependency>
118+
<dependency>
119+
<groupId>log4j</groupId>
120+
<artifactId>log4j</artifactId>
121+
<version>1.2.17</version>
122+
</dependency>
123+
124+
<!-- Testing -->
125+
<dependency>
126+
<groupId>junit</groupId>
127+
<artifactId>junit</artifactId>
128+
<version>4.12</version>
129+
</dependency>
130+
<dependency>
131+
<groupId>org.mockito</groupId>
132+
<artifactId>mockito-core</artifactId>
133+
<version>2.0.13-beta</version>
134+
</dependency>
135+
136+
</dependencies>
137+
</dependencyManagement>
78138

79139
<build>
80140
<plugins>
@@ -93,6 +153,21 @@
93153
</executions>
94154
</plugin>
95155

156+
<!-- GitFlow settings only for this POM -->
157+
<plugin>
158+
<groupId>external.atlassian.jgitflow</groupId>
159+
<artifactId>jgitflow-maven-plugin</artifactId>
160+
<inherited>false</inherited>
161+
<configuration>
162+
<!-- Prefix release numbers with artifactId for GIT repo with more than one released artifact -->
163+
<flowInitContext>
164+
<releaseBranchPrefix>release/${project.artifactId}-</releaseBranchPrefix>
165+
<hotfixBranchPrefix>hotfix/${project.artifactId}-</hotfixBranchPrefix>
166+
<versionTagPrefix>${project.artifactId}-</versionTagPrefix>
167+
</flowInitContext>
168+
</configuration>
169+
</plugin>
170+
96171
</plugins>
97172

98173
<pluginManagement>
@@ -120,19 +195,6 @@
120195
</configuration>
121196
</plugin>
122197

123-
<plugin>
124-
<groupId>external.atlassian.jgitflow</groupId>
125-
<artifactId>jgitflow-maven-plugin</artifactId>
126-
<configuration>
127-
<!-- Prefix release numbers with artifactId for GIT repo with more than one released artifact -->
128-
<flowInitContext>
129-
<releaseBranchPrefix>release/${project.artifactId}-</releaseBranchPrefix>
130-
<hotfixBranchPrefix>hotfix/${project.artifactId}-</hotfixBranchPrefix>
131-
<versionTagPrefix>${project.artifactId}-</versionTagPrefix>
132-
</flowInitContext>
133-
</configuration>
134-
</plugin>
135-
136198
</plugins>
137199

138200
</pluginManagement>

0 commit comments

Comments
 (0)