Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <web-app xmlns="http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee
- http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/web-app_3_1.xsd"
- version="3.1">
- <welcome-file-list>
- <welcome-file>index.jsp</welcome-file>
- </welcome-file-list>
- </web-app>
- <?xml version="1.0" encoding="UTF-8"?>
- <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>jelastic</id>
- <properties>
- <jelastic.username>[insert your Jelastic user name]</jelastic.username>
- <jelastic.password>[insert your Jelastic password]</jelastic.password>
- </properties>
- </profile>
- </profiles>
- </settings>
- <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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>demo-jelastic</groupId>
- <artifactId>demo-jelastic</artifactId>
- <packaging>war</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>demo-jelastic Maven Webapp</name>
- <url>http://maven.apache.org</url>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <finalName>demo-jelastic</finalName>
- </build>
- <pluginRepositories>
- <pluginRepository>
- <id>sonatype-oss-public</id>
- <url>https://oss.sonatype.org/content/groups/public</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
- <profiles>
- <profile>
- <id>jelastic</id>
- <build>
- <plugins>
- <plugin>
- <groupId>com.jelastic</groupId>
- <artifactId>jelastic-maven-plugin</artifactId>
- <version>1.7</version>
- <configuration>
- <api_hoster>[INSERT YOUR HOSTER'S API ADRESS]</api_hoster>
- <context>ROOT</context>
- <email>[YOUR EMAIL]</email>
- <environment>[ENVIRONMENT NAME]</environment>
- <password>[PASSWORD]</password>
- </configuration>
- <executions>
- <execution>
- <phase>install</phase>
- <goals>
- <goal>deploy</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.4</version>
- <executions>
- <execution>
- <phase>none</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement