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

Development #37

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM tomcat:8.0.20-jre8
# Dummy text to test
COPY target/java-web-app*.war /usr/local/tomcat/webapps/java-web-app.war
#COPY target/java-web-app-docker*.war /usr/local/tomcat/webapps/java-web-app-docker.war
COPY target/java-web-app*.war /usr/local/tomcat/webapps/java-web-app.war

19 changes: 13 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<packaging>war</packaging>
<version>1.0</version>

<name>Maven Web Application</name>
<name>Java Web Application</name>
<url>http://mithuntechnologies.com</url>

<description>Maven Web Project</description>
Expand All @@ -25,6 +25,11 @@
<log4j.version>1.2.17</log4j.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<!-- Adding SonarQube Properties -->
<sonar.host.url>http://16.16.170.21:9000/</sonar.host.url>
<sonar.login>admin</sonar.login>
<sonar.password>Milind@3597</sonar.password>
</properties>

<dependencies>
Expand Down Expand Up @@ -97,19 +102,21 @@
</dependency>

</dependencies>

<!-- <distributionManagement>

<!-- Adding Nexus Credentials -->

<distributionManagement>
<repository>
<id>nexus</id>
<name>Mithun Technologies Releases Nexus Repository</name>
<url>http://13.235.8.113:8081/repository/flipkart-release/</url>
<url>http://13.53.188.98:8081/repository/java-web-app-Release/</url>
</repository>
<snapshotRepository>
<id>nexus</id>
<name>Mithun Technologies Snapshot Nexus Repository </name>
<url>http://13.235.8.113:8081/repository/flipkart-snapshot/</url>
<url>http://13.53.188.98:8081/repository/java-web-app-Snapshot/</url>
</snapshotRepository>
</distributionManagement> -->
</distributionManagement>

<build>
<plugins>
Expand Down