esoe 2 years ago
parent
commit
9c1dd169d5
  1. 38
      ear/pom.xml
  2. 10
      ear/target/application.xml
  3. BIN
      ear/target/ear-1.0-SNAPSHOT.ear
  4. 10
      ear/target/ear-1.0-SNAPSHOT/META-INF/application.xml
  5. BIN
      ear/target/ear-1.0-SNAPSHOT/ru.molokoin-servlet-1.0-SNAPSHOT.war
  6. 4
      ear/target/maven-archiver/pom.properties
  7. 131
      pom.xml
  8. 16
      servlet/pom.xml
  9. 0
      servlet/src/main/webapp/WEB-INF/web.xml
  10. 5
      servlet/src/main/webapp/index.jsp
  11. 4
      servlet/target/maven-archiver/pom.properties
  12. 0
      servlet/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  13. 0
      servlet/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
  14. BIN
      servlet/target/servlet-1.0-SNAPSHOT.war
  15. 0
      servlet/target/servlet-1.0-SNAPSHOT/WEB-INF/web.xml
  16. 5
      servlet/target/servlet-1.0-SNAPSHOT/index.jsp

38
ear/pom.xml

@ -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>

10
ear/target/application.xml

@ -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>

BIN
ear/target/ear-1.0-SNAPSHOT.ear

Binary file not shown.

10
ear/target/ear-1.0-SNAPSHOT/META-INF/application.xml

@ -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>

BIN
ear/target/ear-1.0-SNAPSHOT/ru.molokoin-servlet-1.0-SNAPSHOT.war

Binary file not shown.

4
ear/target/maven-archiver/pom.properties

@ -0,0 +1,4 @@
#Created by Apache Maven 3.8.5
groupId=ru.molokoin
artifactId=ear
version=1.0-SNAPSHOT

131
pom.xml

@ -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>

16
servlet/pom.xml

@ -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
servlet/src/main/webapp/WEB-INF/web.xml

5
servlet/src/main/webapp/index.jsp

@ -0,0 +1,5 @@
<html>
<body>
<h2>Hello World!</h2>
</body>
</html>

4
servlet/target/maven-archiver/pom.properties

@ -0,0 +1,4 @@
#Created by Apache Maven 3.8.5
groupId=ru.molokoin
artifactId=servlet
version=1.0-SNAPSHOT

0
servlet/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

0
servlet/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

BIN
servlet/target/servlet-1.0-SNAPSHOT.war

Binary file not shown.

0
servlet/target/servlet-1.0-SNAPSHOT/WEB-INF/web.xml

5
servlet/target/servlet-1.0-SNAPSHOT/index.jsp

@ -0,0 +1,5 @@
<html>
<body>
<h2>Hello World!</h2>
</body>
</html>
Loading…
Cancel
Save