esoe
2 years ago
16 changed files with 223 additions and 0 deletions
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
||||
<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/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
|
||||
<parent> |
||||
<groupId>ru.molokoin</groupId> |
||||
<artifactId>home</artifactId> |
||||
<version>1.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
<groupId>ru.molokoin</groupId> |
||||
<artifactId>ear</artifactId> |
||||
<packaging>ear</packaging> |
||||
<name>ear assembly</name> |
||||
|
||||
<dependencies> |
||||
<groupId>ru.molokoin</groupId> |
||||
<artifactId>servlet</artifactId> |
||||
<type>war</type> |
||||
</dependencies> |
||||
|
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<artifactId>maven-ear-plugin</artifactId> |
||||
<configuration> |
||||
<archive> |
||||
<manifest> |
||||
<addClasspath>true</addClasspath> |
||||
</manifest> |
||||
</archive> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</project> |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<application xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd" version="7"> |
||||
<display-name>ear</display-name> |
||||
<module> |
||||
<web> |
||||
<web-uri>ru.molokoin-servlet-1.0-SNAPSHOT.war</web-uri> |
||||
<context-root>/servlet</context-root> |
||||
</web> |
||||
</module> |
||||
</application> |
Binary file not shown.
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<application xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd" version="7"> |
||||
<display-name>ear</display-name> |
||||
<module> |
||||
<web> |
||||
<web-uri>ru.molokoin-servlet-1.0-SNAPSHOT.war</web-uri> |
||||
<context-root>/servlet</context-root> |
||||
</web> |
||||
</module> |
||||
</application> |
Binary file not shown.
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
#Created by Apache Maven 3.8.5 |
||||
groupId=ru.molokoin |
||||
artifactId=ear |
||||
version=1.0-SNAPSHOT |
@ -0,0 +1,131 @@
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
||||
<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/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
|
||||
<groupId>ru.molokoin</groupId> |
||||
<artifactId>home</artifactId> |
||||
<version>1.0-SNAPSHOT</version> |
||||
<packaging>pom</packaging> |
||||
|
||||
<name>home</name> |
||||
|
||||
<modules> |
||||
<module>servlet</module> |
||||
<module>ear</module> |
||||
</modules> |
||||
|
||||
<distributionManagement> |
||||
<site> |
||||
<id>site</id> |
||||
<name>project website</name> |
||||
<url>scp://local.company.com/websites/project.company.com/</url> |
||||
</site> |
||||
</distributionManagement> |
||||
|
||||
<properties> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
|
||||
<dependencyManagement> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>ru.molokoin</groupId> |
||||
<artifactId>servlet</artifactId> |
||||
<version>1.0-SNAPSHOT</version> |
||||
<type>war</type> |
||||
</dependency> |
||||
</dependencies> |
||||
</dependencyManagement> |
||||
|
||||
<build> |
||||
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
||||
<plugins> |
||||
<plugin> |
||||
<artifactId>maven-clean-plugin</artifactId> |
||||
<version>3.1.0</version> |
||||
</plugin> |
||||
<!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
||||
<plugin> |
||||
<artifactId>maven-resources-plugin</artifactId> |
||||
<version>3.0.2</version> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-compiler-plugin</artifactId> |
||||
<version>3.8.0</version> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-surefire-plugin</artifactId> |
||||
<version>2.22.1</version> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-jar-plugin</artifactId> |
||||
<version>3.0.2</version> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-war-plugin</artifactId> |
||||
<version>3.2.2</version> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-ear-plugin</artifactId> |
||||
<version>3.0.1</version> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-ejb-plugin</artifactId> |
||||
<version>3.0.1</version> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-install-plugin</artifactId> |
||||
<version>2.5.2</version> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-deploy-plugin</artifactId> |
||||
<version>2.8.2</version> |
||||
<configuration> |
||||
<!-- отключаю плагин по умолчанию --> |
||||
<skip>true</skip> |
||||
</configuration> |
||||
<executions> |
||||
<execution> |
||||
<id>default-deploy</id> |
||||
<phase>deploy</phase> |
||||
<goals> |
||||
<goal>deploy</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.wildfly.plugins</groupId> |
||||
<artifactId>wildfly-maven-plugin</artifactId> |
||||
<configuration> |
||||
<!-- <hostname>${wildfly-hostname}</hostname> |
||||
<port>${wildfly-port}</port> |
||||
<username>${wildfly-username}</username> |
||||
<password>${wildfly-password}</password> |
||||
<name>${wildfly-name}</name> --> |
||||
<hostname>molokoin.ru</hostname> |
||||
<port>9990</port> |
||||
<username>esoe</username> |
||||
<password>psalm6912</password> |
||||
<name>home.ear</name> |
||||
</configuration> |
||||
<executions> |
||||
<execution> |
||||
<id>default-deploy</id> |
||||
<phase>deploy</phase> |
||||
<goals> |
||||
<goal>deploy</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<artifactId>maven-javadoc-plugin</artifactId> |
||||
<version>3.0.0</version> |
||||
</plugin> |
||||
</plugins> |
||||
</pluginManagement> |
||||
</build> |
||||
</project> |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
||||
<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/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
|
||||
<parent> |
||||
<groupId>ru.molokoin</groupId> |
||||
<artifactId>home</artifactId> |
||||
<version>1.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
<artifactId>servlet</artifactId> |
||||
<packaging>war</packaging> |
||||
<name>servlet</name> |
||||
</project> |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
<html> |
||||
<body> |
||||
<h2>Hello World!</h2> |
||||
</body> |
||||
</html> |
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
#Created by Apache Maven 3.8.5 |
||||
groupId=ru.molokoin |
||||
artifactId=servlet |
||||
version=1.0-SNAPSHOT |
Binary file not shown.
Loading…
Reference in new issue