First Commit - Source Code from Reply
This commit is contained in:
2
dbcm/dbcm-ear/.settings/org.eclipse.core.resources.prefs
Normal file
2
dbcm/dbcm-ear/.settings/org.eclipse.core.resources.prefs
Normal file
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
||||
4
dbcm/dbcm-ear/.settings/org.eclipse.m2e.core.prefs
Normal file
4
dbcm/dbcm-ear/.settings/org.eclipse.m2e.core.prefs
Normal file
@@ -0,0 +1,4 @@
|
||||
activeProfiles=
|
||||
eclipse.preferences.version=1
|
||||
resolveWorkspaceProjects=true
|
||||
version=1
|
||||
9
dbcm/dbcm-ear/.settings/org.eclipse.wst.common.component
Normal file
9
dbcm/dbcm-ear/.settings/org.eclipse.wst.common.component
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="dbcm-ear-1.0">
|
||||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/ear-resources"/>
|
||||
<wb-resource deploy-path="/" source-path="/EarContent" tag="defaultRootSource"/>
|
||||
<dependent-module archiveName="dbcm.war" deploy-path="/" handle="module:/resource/dbcm-web/dbcm-web">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
</wb-module>
|
||||
</project-modules>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<installed facet="jst.ear" version="1.3"/>
|
||||
</faceted-project>
|
||||
2
dbcm/dbcm-ear/.settings/org.eclipse.wst.validation.prefs
Normal file
2
dbcm/dbcm-ear/.settings/org.eclipse.wst.validation.prefs
Normal file
@@ -0,0 +1,2 @@
|
||||
disabled=06target
|
||||
eclipse.preferences.version=1
|
||||
10
dbcm/dbcm-ear/EarContent/META-INF/application.xml
Normal file
10
dbcm/dbcm-ear/EarContent/META-INF/application.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
|
||||
<display-name>dbcm</display-name>
|
||||
<module>
|
||||
<web>
|
||||
<web-uri>dbcm.war</web-uri>
|
||||
<context-root>dbcm</context-root>
|
||||
</web>
|
||||
</module>
|
||||
</application>
|
||||
11
dbcm/dbcm-ear/EarContent/META-INF/weblogic-application.xml
Normal file
11
dbcm/dbcm-ear/EarContent/META-INF/weblogic-application.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wls:weblogic-application xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.0/weblogic-application.xsd">
|
||||
<wls:application-param>
|
||||
<wls:param-name>webapp.encoding.default</wls:param-name>
|
||||
<wls:param-value>UTF-8</wls:param-value>
|
||||
</wls:application-param>
|
||||
|
||||
<wls:prefer-application-packages>
|
||||
<wls:package-name>javax.persistence.*</wls:package-name>
|
||||
</wls:prefer-application-packages>
|
||||
</wls:weblogic-application>
|
||||
89
dbcm/dbcm-ear/pom.xml
Normal file
89
dbcm/dbcm-ear/pom.xml
Normal file
@@ -0,0 +1,89 @@
|
||||
<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>
|
||||
<artifactId>dbcm-ear</artifactId>
|
||||
<packaging>ear</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>dbcm</groupId>
|
||||
<artifactId>dbcm</artifactId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.6</maven.compiler.source>
|
||||
<maven.compiler.target>1.6</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>dbcm</groupId>
|
||||
<artifactId>dbcm-web</artifactId>
|
||||
<type>war</type>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-ear-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<configuration>
|
||||
<earSourceDirectory>${basedir}/EarContent</earSourceDirectory>
|
||||
<modules>
|
||||
<webModule>
|
||||
<groupId>dbcm</groupId>
|
||||
<artifactId>dbcm-web</artifactId>
|
||||
<contextRoot>dbcm</contextRoot>
|
||||
<bundleFileName>dbcm.war</bundleFileName>
|
||||
<bundleDir>/</bundleDir>
|
||||
</webModule>
|
||||
</modules>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-dependencies</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<copy todir="../target">
|
||||
<fileset dir="./target">
|
||||
<include name="*.ear" />
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.coderplus.maven.plugins</groupId>
|
||||
<artifactId>copy-rename-maven-plugin</artifactId>
|
||||
<version>1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-file</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>rename</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sourceFile>../target/dbcm-ear-1.0.ear</sourceFile>
|
||||
<destinationFile>../target/dbcm.ear</destinationFile>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
10
dbcm/dbcm-ear/target/antrun/build-main.xml
Normal file
10
dbcm/dbcm-ear/target/antrun/build-main.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<project name="maven-antrun-" default="main" >
|
||||
<target name="main">
|
||||
<copy todir="../target">
|
||||
<fileset dir="./target">
|
||||
<include name="*.ear"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
</project>
|
||||
13
dbcm/dbcm-ear/target/application.xml
Normal file
13
dbcm/dbcm-ear/target/application.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE application PUBLIC
|
||||
"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
|
||||
"http://java.sun.com/dtd/application_1_3.dtd">
|
||||
<application>
|
||||
<display-name>dbcm-ear</display-name>
|
||||
<module>
|
||||
<web>
|
||||
<web-uri>dbcm.war</web-uri>
|
||||
<context-root>dbcm</context-root>
|
||||
</web>
|
||||
</module>
|
||||
</application>
|
||||
BIN
dbcm/dbcm-ear/target/dbcm-ear-1.0.ear
Normal file
BIN
dbcm/dbcm-ear/target/dbcm-ear-1.0.ear
Normal file
Binary file not shown.
10
dbcm/dbcm-ear/target/dbcm-ear-1.0/META-INF/application.xml
Normal file
10
dbcm/dbcm-ear/target/dbcm-ear-1.0/META-INF/application.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
|
||||
<display-name>dbcm</display-name>
|
||||
<module>
|
||||
<web>
|
||||
<web-uri>dbcm.war</web-uri>
|
||||
<context-root>dbcm</context-root>
|
||||
</web>
|
||||
</module>
|
||||
</application>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wls:weblogic-application xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.0/weblogic-application.xsd">
|
||||
<wls:application-param>
|
||||
<wls:param-name>webapp.encoding.default</wls:param-name>
|
||||
<wls:param-value>UTF-8</wls:param-value>
|
||||
</wls:application-param>
|
||||
|
||||
<wls:prefer-application-packages>
|
||||
<wls:package-name>javax.persistence.*</wls:package-name>
|
||||
</wls:prefer-application-packages>
|
||||
</wls:weblogic-application>
|
||||
BIN
dbcm/dbcm-ear/target/dbcm-ear-1.0/dbcm.war
Normal file
BIN
dbcm/dbcm-ear/target/dbcm-ear-1.0/dbcm.war
Normal file
Binary file not shown.
5
dbcm/dbcm-ear/target/maven-archiver/pom.properties
Normal file
5
dbcm/dbcm-ear/target/maven-archiver/pom.properties
Normal file
@@ -0,0 +1,5 @@
|
||||
#Generated by Maven
|
||||
#Fri Jun 10 14:07:01 CEST 2022
|
||||
version=1.0
|
||||
groupId=dbcm
|
||||
artifactId=dbcm-ear
|
||||
Reference in New Issue
Block a user