cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject [06/11] cayenne git commit: Code-checkers, omd, checkstyle and code-coverage
Date Fri, 02 Feb 2018 13:07:40 GMT
http://git-wip-us.apache.org/repos/asf/cayenne/blob/0b01512b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 453dda8..cf7e231 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,7 +77,6 @@
 		<module>tutorials</module>
 		<module>docs</module>
 		<module>assembly</module>
-		<module>cayenne-module-parent</module>
 	</modules>
 	<issueManagement>
 		<system>jira</system>
@@ -960,121 +959,119 @@
 	</distributionManagement>
 
 	<profiles>
-        <profile>
-            <id>code-quality</id>
+		<profile>
+			<id>code-quality</id>
 
-            <build>
-				<pluginManagement>
-                    <plugins>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-checkstyle-plugin</artifactId>
-                            <configuration>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-checkstyle-plugin</artifactId>
+						<configuration>
 
-                                <skip>false</skip>
-                                <consoleOutput>false</consoleOutput>
-                                <enableRulesSummary>false</enableRulesSummary>
-                                <failOnViolation>false</failOnViolation>
-                                <!-- TODO make it 'true' when we will be ready -->
-                                <violationSeverity>warning</violationSeverity>
-                                <configLocation>/cayenne-checkstyle.xml</configLocation>
-                            </configuration>
-                            <executions>
-                                <execution>
-                                    <phase>process-sources</phase>
-                                    <goals>
-                                        <goal>check</goal>
-                                    </goals>
-                                </execution>
-                            </executions>
-                            <dependencies>
-                                <dependency>
-                                    <groupId>org.apache.cayenne.build-tools</groupId>
-                                    <artifactId>cayenne-checkers</artifactId>
-                                    <version>${project.version}</version>
-                                </dependency>
-                            </dependencies>
-                        </plugin>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-pmd-plugin</artifactId>
-                            <configuration>
-                                <skip>false</skip>
-                                <sourceEncoding>utf-8</sourceEncoding>
-                                <targetJdk>1.8</targetJdk>
-                                <verbose>true</verbose>
-                                <failOnViolation>false</failOnViolation>
-                                <!-- TODO make it 'true' when we will be ready -->
-                                <failurePriority>2</failurePriority>
-                                <rulesets>
-                                    <!-- go back on one dir to parent project -->
-                                    <ruleset>/cayenne-pmd.xml</ruleset>
-                                </rulesets>
-                            </configuration>
-                            <executions>
-                                <execution>
-                                    <phase>process-sources</phase>
-                                    <goals>
-                                        <goal>check</goal>
-                                    </goals>
-                                </execution>
-                            </executions>
-                            <dependencies>
-                                <dependency>
-                                    <groupId>org.apache.cayenne.build-tools</groupId>
-                                    <artifactId>cayenne-checkers</artifactId>
-                                    <version>${project.version}</version>
-                                </dependency>
-                            </dependencies>
-                        </plugin>
-                        <plugin>
-                            <groupId>org.codehaus.mojo</groupId>
-                            <artifactId>clirr-maven-plugin</artifactId>
-                            <version>2.8</version>
-                            <configuration>
-                                <comparisonVersion>3.1RC1</comparisonVersion>
-                                <minSeverity>info</minSeverity>
-                                <logResults>true</logResults>
-                            </configuration>
-                        </plugin>
-                        <plugin>
-                            <groupId>org.codehaus.mojo</groupId>
-                            <artifactId>jdepend-maven-plugin</artifactId>
-                            <version>2.0</version>
-                        </plugin>
-                    </plugins>
-				</pluginManagement>
-            </build>
+							<skip>false</skip>
+							<consoleOutput>false</consoleOutput>
+							<enableRulesSummary>false</enableRulesSummary>
+							<failOnViolation>false</failOnViolation>
+							<!-- TODO make it 'true' when we will be ready -->
+							<violationSeverity>warning</violationSeverity>
+							<configLocation>/cayenne-checkstyle.xml</configLocation>
+						</configuration>
+						<executions>
+							<execution>
+								<phase>process-sources</phase>
+								<goals>
+									<goal>check</goal>
+								</goals>
+							</execution>
+						</executions>
+						<dependencies>
+							<dependency>
+								<groupId>org.apache.cayenne.build-tools</groupId>
+								<artifactId>cayenne-checkers</artifactId>
+								<version>${project.version}</version>
+							</dependency>
+						</dependencies>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-pmd-plugin</artifactId>
+						<configuration>
+							<skip>false</skip>
+							<sourceEncoding>utf-8</sourceEncoding>
+							<targetJdk>1.8</targetJdk>
+							<verbose>true</verbose>
+							<failOnViolation>false</failOnViolation>
+							<!-- TODO make it 'true' when we will be ready -->
+							<failurePriority>2</failurePriority>
+							<rulesets>
+								<!-- go back on one dir to parent project -->
+								<ruleset>/cayenne-pmd.xml</ruleset>
+							</rulesets>
+						</configuration>
+						<executions>
+							<execution>
+								<phase>process-sources</phase>
+								<goals>
+									<goal>check</goal>
+								</goals>
+							</execution>
+						</executions>
+						<dependencies>
+							<dependency>
+								<groupId>org.apache.cayenne.build-tools</groupId>
+								<artifactId>cayenne-checkers</artifactId>
+								<version>${project.version}</version>
+							</dependency>
+						</dependencies>
+					</plugin>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>clirr-maven-plugin</artifactId>
+						<version>2.8</version>
+						<configuration>
+							<comparisonVersion>3.1RC1</comparisonVersion>
+							<minSeverity>info</minSeverity>
+							<logResults>true</logResults>
+						</configuration>
+					</plugin>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>jdepend-maven-plugin</artifactId>
+						<version>2.0</version>
+					</plugin>
+				</plugins>
+			</build>
 
-            <reporting>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-checkstyle-plugin</artifactId>
-                        <inherited>true</inherited>
-                    </plugin>
-                    <plugin>
-                        <artifactId>maven-pmd-plugin</artifactId>
-                        <inherited>true</inherited>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>findbugs-maven-plugin</artifactId>
-                        <configuration>
-                            <effort>Max</effort>
-                            <threshold>Low</threshold>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>jdepend-maven-plugin</artifactId>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>clirr-maven-plugin</artifactId>
-                    </plugin>
-                </plugins>
-            </reporting>
-        </profile>
+			<reporting>
+				<plugins>
+					<plugin>
+						<artifactId>maven-checkstyle-plugin</artifactId>
+						<inherited>true</inherited>
+					</plugin>
+					<plugin>
+						<artifactId>maven-pmd-plugin</artifactId>
+						<inherited>true</inherited>
+					</plugin>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>findbugs-maven-plugin</artifactId>
+						<configuration>
+							<effort>Max</effort>
+							<threshold>Low</threshold>
+						</configuration>
+					</plugin>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>jdepend-maven-plugin</artifactId>
+					</plugin>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>clirr-maven-plugin</artifactId>
+					</plugin>
+				</plugins>
+			</reporting>
+		</profile>
 
 
 		<profile>


Mime
View raw message