Created
July 18, 2014 16:57
-
-
Save andreluizf/55aeae9a6a800bf528d4 to your computer and use it in GitHub Desktop.
maven deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.1.1</version> | |
<configuration> | |
<failOnMissingWebXml>false</failOnMissingWebXml> | |
<!-- <webXml>src\main\webapp\WEB-INF\web.xml</webXml> --> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.glassfish.maven.plugin</groupId> | |
<artifactId>maven-glassfish-plugin</artifactId> | |
<version>2.1</version> | |
<configuration> | |
<glassfishDirectory>${local.glassfish.home}</glassfishDirectory> | |
<user>andre</user> | |
<adminPassword>admin</adminPassword> | |
<domain> | |
<name>domain1</name> | |
<httpPort>8080</httpPort> | |
<adminPort>4848</adminPort> | |
</domain> | |
<components> | |
<component> | |
<name>${project.artifactId}</name> | |
<artifact>target/${project.build.finalName}.war</artifact> | |
</component> | |
</components> | |
<debug>true</debug> | |
<terse>false</terse> | |
<echo>true</echo> | |
</configuration> | |
</plugin> | |
</plugins> | |
<finalName>CAX</finalName> | |
</build> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<profiles> | |
<profile> | |
<id>glassfish-context</id> | |
<properties> | |
<local.glassfish.home>C:\\Program Files\\glassfish-4.0\\glassfish</local.glassfish.home> | |
<local.glassfish.user>andre</local.glassfish.user> | |
<local.glassfish.domain>domain1</local.glassfish.domain> | |
<local.glassfish.passfile> | |
${local.glassfish.home}\\domains\\${local.glassfish.domain}\\config\\domain-passwords | |
</local.glassfish.passfile> | |
</properties> | |
<repositories> | |
<repository> | |
<id>prime-repo</id> | |
<name>PrimeFaces Maven Repository</name> | |
<url>http://repository.primefaces.org</url> | |
<layout>default</layout> | |
</repository> | |
<repository> | |
<id>jvnet-nexus-releases</id> | |
<name>jvnet-nexus-releases</name> | |
<url>https://maven.java.net/content/repositories/releases/</url> | |
</repository> | |
</repositories> | |
</profile> | |
</profiles> | |
<activeProfiles> | |
<activeProfile>glassfish-context</activeProfile> | |
</activeProfiles> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment