From dc4e0877a486a65e8a05af96c90b5d04ca611935 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Dec 2020 19:13:10 +0530 Subject: [PATCH 1/2] modified one file --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 0afe55c9..9754f9a0 100644 --- a/pom.xml +++ b/pom.xml @@ -1,10 +1,10 @@ 4.0.0 - com.scmgalaxy.mavensample - my-maven + suresh + my-project jar - 2.0.0 + 4.0.1 my-maven http://maven.apache.org From 9e830107ff17db00279a57d571a5fcf1a8224dc1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Dec 2020 19:29:36 +0530 Subject: [PATCH 2/2] created a new maven project --- chennai/src/main/java/shailesh/App.java | 13 +++ chennai/src/test/java/shailesh/AppTest.java | 20 ++++ pom.xml | 108 ++++++++++++-------- 3 files changed, 96 insertions(+), 45 deletions(-) create mode 100644 chennai/src/main/java/shailesh/App.java create mode 100644 chennai/src/test/java/shailesh/AppTest.java diff --git a/chennai/src/main/java/shailesh/App.java b/chennai/src/main/java/shailesh/App.java new file mode 100644 index 00000000..7991d7fc --- /dev/null +++ b/chennai/src/main/java/shailesh/App.java @@ -0,0 +1,13 @@ +package shailesh; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/chennai/src/test/java/shailesh/AppTest.java b/chennai/src/test/java/shailesh/AppTest.java new file mode 100644 index 00000000..8619dc08 --- /dev/null +++ b/chennai/src/test/java/shailesh/AppTest.java @@ -0,0 +1,20 @@ +package shailesh; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +/** + * Unit test for simple App. + */ +public class AppTest +{ + /** + * Rigorous Test :-) + */ + @Test + public void shouldAnswerWithTrue() + { + assertTrue( true ); + } +} diff --git a/pom.xml b/pom.xml index 9754f9a0..d570c5ed 100644 --- a/pom.xml +++ b/pom.xml @@ -1,57 +1,75 @@ + + + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - suresh - my-project - jar - 4.0.1 - my-maven - http://maven.apache.org - - - UTF-8 - + + shailesh + chennai + 1.0-SNAPSHOT + + chennai + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + junit junit - 3.8.1 + 4.11 test - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - jar - - - - - - - - - aleesha - aleesha-releases - http://13.232.2.248:8080/artifactory/muniraja - - - aleesha - aleesha-snapshots - http://13.232.2.248:8080/artifactory/muniraja - - - - - - + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + +