You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2023/07/02 10:58:51 UTC
[maven-gh-actions-shared] 01/02: Bump maven-parent to 39
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch slachiewicz-java-20
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
commit e06e44f01ec0f5c48cbd12f2428555839944a77f
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Mar 31 22:45:57 2023 +0200
Bump maven-parent to 39
---
pom.xml | 18 ++++++++----------
src/main/java/org/apache/test/TestApp.java | 24 +++++++++---------------
2 files changed, 17 insertions(+), 25 deletions(-)
diff --git a/pom.xml b/pom.xml
index 76ceeef..fe18fe3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,17 +17,15 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-<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">
+<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>
- <artifactId>maven-parent</artifactId>
- <groupId>org.apache.maven</groupId>
- <version>35</version>
- <relativePath/>
- </parent>
+ <parent>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-parent</artifactId>
+ <version>39</version>
+ <relativePath />
+ </parent>
<groupId>test</groupId>
<artifactId>test</artifactId>
@@ -42,10 +40,10 @@
<artifactId>maven-help-plugin</artifactId>
<executions>
<execution>
- <phase>initialize</phase>
<goals>
<goal>system</goal>
</goals>
+ <phase>initialize</phase>
</execution>
</executions>
</plugin>
diff --git a/src/main/java/org/apache/test/TestApp.java b/src/main/java/org/apache/test/TestApp.java
index 852a5d0..52afbf8 100644
--- a/src/main/java/org/apache/test/TestApp.java
+++ b/src/main/java/org/apache/test/TestApp.java
@@ -1,5 +1,3 @@
-package org.apache.test;
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -9,7 +7,7 @@ package org.apache.test;
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
@@ -18,15 +16,14 @@ package org.apache.test;
* specific language governing permissions and limitations
* under the License.
*/
+package org.apache.test;
/**
* Test app
*/
-public class TestApp
-{
+public class TestApp {
- public static void main( String[] args )
- {
+ public static void main(String[] args) {
m1();
m2();
}
@@ -34,18 +31,15 @@ public class TestApp
/**
* FIXME in javadoc
*/
- private static void m1()
- {
- System.out.println( "Hello" );
+ private static void m1() {
+ System.out.println("Hello");
}
- private static void m2()
- {
- System.out.println( "Hello" );
+ private static void m2() {
+ System.out.println("Hello");
}
- private static void m3()
- {
+ private static void m3() {
// TODO test tag
}
}