Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new changes #9

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# maven
creating a demo maven project and create a jar file
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>CM_TOOLS</groupId>
<artifactId>PUPPET</artifactId>
<version>4.5</version>
<packaging>war</packaging>
<name>myproj</name>
<groupId>olam.demo.mvn</groupId>
<artifactId>OLAMMVN</artifactId>
<version>7.0</version>
<packaging>jar</packaging>
<name>olam</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand All @@ -31,14 +31,14 @@
</developers>
<distributionManagement>
<repository>
<id>nexus</id>
<id>narayansingh</id>
<name>Internal Releases</name>
<url>http://35.231.46.34:8081/repository/maven-releases/</url>
<url>http://34.73.3.35:8081/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>nexus</id>
<id>narayansingh</id>
<name>Internal Snapshot Releases</name>
<url>http://35.231.46.34:8081/repository/maven-snapshots/</url>
<url>http://34.73.3.35:8081/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
Expand All @@ -51,7 +51,7 @@
<version>2.2</version>
<configuration>
<url>http://localhost:8080/manager/text</url>
<server>appserver</server>
<server>tomcatserver</server>
<path>/myproj</path>
</configuration>
</plugin>
Expand Down
10 changes: 5 additions & 5 deletions src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<title>Hello Java EE Continuous Delivery!</title>
</head>
<body>
<h1>Hello from SathyaTech</h1>
<h1>Demo Project from Devops</h1>
<h1>Hello SATISH KUMAR</h1>
<h1>Hello from prasad</h1>
<h1>fom olam</h1>
<h1>Hello holam-dem0-maven</h1>

<table width="50%" bgcolor="green" align="center" border="2">
<table width="300%" bgcolor="blue" align="center" border="2">

<tr>
<td colspan=2><center><font size=4><b>HTML Login Page</b></font></center></td>
Expand All @@ -23,7 +23,7 @@

<tr>
<td>Password:</td>
<td><input type="Password" size=25 name="pwd"></td>
<td><input type="narayan" size=25 name="pwd"></td>
</tr>

<tr>
Expand Down
8 changes: 4 additions & 4 deletions target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Generated by Maven
#Sat Oct 13 07:05:28 UTC 2018
version=3.5
groupId=CM_TOOLS
artifactId=ANSIBLE
#Thu Aug 01 15:04:56 IST 2019
groupId=olam.demo.mvn
artifactId=OLAMMVN
version=7.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org/javaee7/sample/MyApplication.class
org/javaee7/sample/Person.class
org/javaee7/sample/PersonDatabase.class
org/javaee7/sample/PersonResource.class
org\javaee7\sample\MyApplication.class
org\javaee7\sample\PersonResource.class
org\javaee7\sample\Person.class
org\javaee7\sample\PersonDatabase.class
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/root/mvnproj/src/main/java/org/javaee7/sample/MyApplication.java
/root/mvnproj/src/main/java/org/javaee7/sample/PersonResource.java
/root/mvnproj/src/main/java/org/javaee7/sample/Person.java
/root/mvnproj/src/main/java/org/javaee7/sample/PersonDatabase.java
C:\Users\jai.narayanan\opt\olam-demo-maven\src\main\java\org\javaee7\sample\Person.java
C:\Users\jai.narayanan\opt\olam-demo-maven\src\main\java\org\javaee7\sample\PersonResource.java
C:\Users\jai.narayanan\opt\olam-demo-maven\src\main\java\org\javaee7\sample\PersonDatabase.java
C:\Users\jai.narayanan\opt\olam-demo-maven\src\main\java\org\javaee7\sample\MyApplication.java
Binary file added target/myproj.jar
Binary file not shown.
Binary file removed target/myproj.war
Binary file not shown.
6 changes: 0 additions & 6 deletions target/myproj/WEB-INF/beans.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
36 changes: 0 additions & 36 deletions target/myproj/index.jsp

This file was deleted.