Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns="http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee
  5. http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/web-app_3_1.xsd"
  6. version="3.1">
  7. <welcome-file-list>
  8. <welcome-file>index.jsp</welcome-file>
  9. </welcome-file-list>
  10. </web-app>
  11.  
  12. <?xml version="1.0" encoding="UTF-8"?>
  13. <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  16. <profiles>
  17. <profile>
  18. <id>jelastic</id>
  19. <properties>
  20. <jelastic.username>[insert your Jelastic user name]</jelastic.username>
  21. <jelastic.password>[insert your Jelastic password]</jelastic.password>
  22. </properties>
  23. </profile>
  24. </profiles>
  25. </settings>
  26.  
  27. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  28. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  29. <modelVersion>4.0.0</modelVersion>
  30. <groupId>demo-jelastic</groupId>
  31. <artifactId>demo-jelastic</artifactId>
  32. <packaging>war</packaging>
  33. <version>1.0-SNAPSHOT</version>
  34. <name>demo-jelastic Maven Webapp</name>
  35. <url>http://maven.apache.org</url>
  36. <dependencies>
  37. <dependency>
  38. <groupId>junit</groupId>
  39. <artifactId>junit</artifactId>
  40. <version>3.8.1</version>
  41. <scope>test</scope>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <finalName>demo-jelastic</finalName>
  46. </build>
  47. <pluginRepositories>
  48. <pluginRepository>
  49. <id>sonatype-oss-public</id>
  50. <url>https://oss.sonatype.org/content/groups/public</url>
  51. <releases>
  52. <enabled>true</enabled>
  53. </releases>
  54. <snapshots>
  55. <enabled>true</enabled>
  56. </snapshots>
  57. </pluginRepository>
  58. </pluginRepositories>
  59. <profiles>
  60. <profile>
  61. <id>jelastic</id>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>com.jelastic</groupId>
  66. <artifactId>jelastic-maven-plugin</artifactId>
  67. <version>1.7</version>
  68. <configuration>
  69. <api_hoster>[INSERT YOUR HOSTER'S API ADRESS]</api_hoster>
  70. <context>ROOT</context>
  71. <email>[YOUR EMAIL]</email>
  72. <environment>[ENVIRONMENT NAME]</environment>
  73. <password>[PASSWORD]</password>
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <phase>install</phase>
  78. <goals>
  79. <goal>deploy</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-install-plugin</artifactId>
  87. <version>2.4</version>
  88. <executions>
  89. <execution>
  90. <phase>none</phase>
  91. </execution>
  92. </executions>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. </profile>
  97. </profiles>
  98. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement