Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paas-test
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Java-于龙
paas-test
Commits
608ebcd6
Commit
608ebcd6
authored
Aug 03, 2017
by
BrianHolsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modi pom to try to change war name and access url
parent
6bf08fca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
0 deletions
+76
-0
pom.xml
pom.xml
+76
-0
No files found.
pom.xml
View file @
608ebcd6
...
...
@@ -21,6 +21,9 @@
<redisClient.version>
2.9.0
</redisClient.version>
<springRedis.version>
1.7.4.RELEASE
</springRedis.version>
<oa-common.version>
0.0.1-SNAPSHOT
</oa-common.version>
<version.war.plugin>
2.1.1
</version.war.plugin>
<version.jboss.maven.plugin>
7.4.Final
</version.jboss.maven.plugin>
<version.surefire.plugin>
2.10
</version.surefire.plugin>
</properties>
<dependencies>
...
...
@@ -82,4 +85,76 @@
</dependency>
</dependencies>
<build>
<!-- Maven will append the version to the finalName (which is the name
given to the generated war, and hence the context root) -->
<finalName>
${project.artifactId}
</finalName>
<plugins>
<plugin>
<artifactId>
maven-war-plugin
</artifactId>
<version>
${version.war.plugin}
</version>
<configuration>
<!-- Java EE 6 doesn't require web.xml, Maven needs to catch up! -->
<failOnMissingWebXml>
false
</failOnMissingWebXml>
</configuration>
</plugin>
<!-- The JBoss AS plugin deploys your war to a local JBoss EAP container -->
<!-- To use, run: mvn package jboss-as:deploy -->
<plugin>
<groupId>
org.jboss.as.plugins
</groupId>
<artifactId>
jboss-as-maven-plugin
</artifactId>
<version>
${version.jboss.maven.plugin}
</version>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- The default profile skips all tests, though you can tune it to run
just unit tests based on a custom pattern -->
<!-- Seperate profiles are provided for running all tests, including Arquillian
tests that execute in the specified container -->
<id>
default
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
${version.surefire.plugin}
</version>
<configuration>
<skip>
true
</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- When built in OpenShift the 'openshift' profile will be used when
invoking mvn. -->
<!-- Use this profile for any OpenShift specific customization your app
will need. -->
<!-- By default that is to put the resulting archive into the 'deployments'
folder. -->
<!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html -->
<id>
openshift
</id>
<build>
<plugins>
<plugin>
<artifactId>
maven-war-plugin
</artifactId>
<version>
${version.war.plugin}
</version>
<configuration>
<outputDirectory>
deployments
</outputDirectory>
<warName>
ROOT
</warName>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment