Skip to content

Commit

Permalink
mevan java
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramasamy3488 committed Oct 7, 2024
0 parents commit b0eb88b
Show file tree
Hide file tree
Showing 19 changed files with 235 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
23 changes: 23 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>devops-demo-project</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
4 changes: 4 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
8 changes: 8 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
4 changes: 4 additions & 0 deletions .settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
1 change: 1 addition & 0 deletions gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<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>

<groupId>com.example</groupId>
<artifactId>devops-demo-project</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>devops-demo-project</name>
<url>http://maven.apache.org</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.2.0</version>
</dependency>
</dependencies>
</project>
13 changes: 13 additions & 0 deletions src/main/java/com/example/devops_demo_project/App.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.example.devops_demo_project;

/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
38 changes: 38 additions & 0 deletions src/test/java/com/example/devops_demo_project/AppTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package com.example.devops_demo_project;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}

/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}

/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
Binary file not shown.
Binary file added target/devops-demo-project-0.0.1-SNAPSHOT.jar
Binary file not shown.
3 changes: 3 additions & 0 deletions target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
artifactId=devops-demo-project
groupId=com.example
version=0.0.1-SNAPSHOT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com\example\devops_demo_project\App.class
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
C:\Users\LENOVO\eclipse-workspace\devops-demo-project\src\main\java\com\example\devops_demo_project\App.java
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com\example\devops_demo_project\AppTest.class
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
C:\Users\LENOVO\eclipse-workspace\devops-demo-project\src\test\java\com\example\devops_demo_project\AppTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="com.example.devops_demo_project.AppTest" time="0.039" tests="1" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="21"/>
<property name="sun.cpu.isalist" value="amd64"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.class.path" value="C:\Users\LENOVO\eclipse-workspace\devops-demo-project\target\test-classes;C:\Users\LENOVO\eclipse-workspace\devops-demo-project\target\classes;C:\Users\LENOVO\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-project\2.2.0\maven-project-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-settings\2.2.0\maven-settings-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-profile\2.2.0\maven-profile-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-model\2.2.0\maven-model-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-artifact-manager\2.2.0\maven-artifact-manager-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-repository-metadata\2.2.0\maven-repository-metadata-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\wagon\wagon-provider-api\1.0-beta-6\wagon-provider-api-1.0-beta-6.jar;C:\Users\LENOVO\.m2\repository\backport-util-concurrent\backport-util-concurrent\3.1\backport-util-concurrent-3.1.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-plugin-registry\2.2.0\maven-plugin-registry-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.11\plexus-interpolation-1.11.jar;C:\Users\LENOVO\.m2\repository\org\codehaus\plexus\plexus-utils\1.5.15\plexus-utils-1.5.15.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-artifact\2.2.0\maven-artifact-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-9-stable-1\plexus-container-default-1.0-alpha-9-stable-1.jar;C:\Users\LENOVO\.m2\repository\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar;"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="sun.arch.data.model" value="64"/>
<property name="user.variant" value=""/>
<property name="java.vendor.url" value="https://java.oracle.com/"/>
<property name="user.timezone" value="Asia/Calcutta"/>
<property name="os.name" value="Windows 10"/>
<property name="java.vm.specification.version" value="21"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="IN"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-21\bin"/>
<property name="sun.java.command" value="C:\Users\LENOVO\AppData\Local\Temp\surefire10072164693223799776\surefirebooter-20241007144847079_3.jar C:\Users\LENOVO\AppData\Local\Temp\surefire10072164693223799776 2024-10-07T14-48-46_779-jvmRun1 surefire-20241007144847079_1tmp surefire_0-20241007144847079_2tmp"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="C:\Users\LENOVO\eclipse-workspace\devops-demo-project\target\test-classes;C:\Users\LENOVO\eclipse-workspace\devops-demo-project\target\classes;C:\Users\LENOVO\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-project\2.2.0\maven-project-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-settings\2.2.0\maven-settings-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-profile\2.2.0\maven-profile-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-model\2.2.0\maven-model-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-artifact-manager\2.2.0\maven-artifact-manager-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-repository-metadata\2.2.0\maven-repository-metadata-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\wagon\wagon-provider-api\1.0-beta-6\wagon-provider-api-1.0-beta-6.jar;C:\Users\LENOVO\.m2\repository\backport-util-concurrent\backport-util-concurrent\3.1\backport-util-concurrent-3.1.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-plugin-registry\2.2.0\maven-plugin-registry-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.11\plexus-interpolation-1.11.jar;C:\Users\LENOVO\.m2\repository\org\codehaus\plexus\plexus-utils\1.5.15\plexus-utils-1.5.15.jar;C:\Users\LENOVO\.m2\repository\org\apache\maven\maven-artifact\2.2.0\maven-artifact-2.2.0.jar;C:\Users\LENOVO\.m2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-9-stable-1\plexus-container-default-1.0-alpha-9-stable-1.jar;C:\Users\LENOVO\.m2\repository\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar;"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="C:\Users\LENOVO"/>
<property name="user.language" value="en"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2024-07-16"/>
<property name="java.home" value="C:\Program Files\Java\jdk-21"/>
<property name="file.separator" value="\"/>
<property name="basedir" value="C:\Users\LENOVO\eclipse-workspace\devops-demo-project"/>
<property name="style.color" value="always"/>
<property name="java.vm.compressedOopsMode" value="32-bit"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="surefire.real.class.path" value="C:\Users\LENOVO\AppData\Local\Temp\surefire10072164693223799776\surefirebooter-20241007144847079_3.jar"/>
<property name="user.script" value=""/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="java.runtime.version" value="21.0.4+8-LTS-274"/>
<property name="user.name" value="LENOVO"/>
<property name="stdout.encoding" value="Cp1252"/>
<property name="path.separator" value=";"/>
<property name="os.version" value="10.0"/>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="localRepository" value="C:\Users\LENOVO\.m2\repository"/>
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
<property name="java.io.tmpdir" value="C:\Users\LENOVO\AppData\Local\Temp\"/>
<property name="java.version" value="21.0.4"/>
<property name="user.dir" value="C:\Users\LENOVO\eclipse-workspace\devops-demo-project"/>
<property name="os.arch" value="amd64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="sun.os.patch.level" value=""/>
<property name="native.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk-21\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk-21/bin/server;C:/Program Files/Java/jdk-21/bin;C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\Users\LENOVO\Downloads\bin;C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\Program Files\Java\jdk1.8.0_144\bin;C:\Users\LENOVO\terraform;C:\Program Files\Git\cmd;C:\Program Files\Amazon\AWSCLIV2\;C:\Users\LENOVO\kubectl;C:\Users\LENOVO\AppData\Roaming\;C:\Program Files (x86)\Java\jre1.8.0_421\bin;C:\Program Files\Java\jdk-21\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\IntelliJ IDEA 2023.3.3\bin;;C:\Users\LENOVO\kubectl;C:\Users\kvpra\eksctl;C:\Users\kvpra\argocdctl;C:\apache-maven-3.6.3\bin;C:\Program Files\Lens\resources\cli\bin;C:\Users\LENOVO\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\LENOVO\terraform;C:\Users\LENOVO\eksctl;C:\Users\LENOVO\bluegreen;C:\Users\LENOVO\terraform;C:\Users\LENOVO\AppData\Roaming\npm;C:\Program Files\Java\jdk-21\bin;;C:\Windows\System32;;."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="stderr.encoding" value="Cp1252"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="java.vm.version" value="21.0.4+8-LTS-274"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="65.0"/>
</properties>
<testcase name="testApp" classname="com.example.devops_demo_project.AppTest" time="0.005"/>
</testsuite>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.example.devops_demo_project.AppTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 s -- in com.example.devops_demo_project.AppTest
Binary file not shown.

0 comments on commit b0eb88b

Please sign in to comment.