├── CONTRIBUTING.md ├── README.MD ├── atg-crs-11.2-maven ├── ATeam │ ├── ATeamCommon │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── config │ │ │ └── com │ │ │ │ └── atg │ │ │ │ └── ateam │ │ │ │ └── droplet │ │ │ │ └── TestDroplet.properties │ │ │ ├── java │ │ │ └── com │ │ │ │ └── atg │ │ │ │ └── ateam │ │ │ │ └── droplet │ │ │ │ └── TestDroplet.java │ │ │ └── module │ │ │ └── META-INF │ │ │ └── MANIFEST.MF │ ├── BuildStandalone │ │ └── pom.xml │ ├── BuildWithMavenCRS │ │ └── pom.xml │ ├── DeployStandalone │ │ └── pom.xml │ ├── DeployWithMavenCRS │ │ └── pom.xml │ ├── WebApp │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── j2ee-apps │ │ │ └── ATeam │ │ │ │ ├── META-INF │ │ │ │ └── application.xml │ │ │ │ └── ateam.war │ │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ │ ├── WEB-INF │ │ │ │ └── web.xml │ │ │ │ ├── global │ │ │ │ ├── pageNotFound.jsp │ │ │ │ ├── serverError.jsp │ │ │ │ └── sessionExpired.jsp │ │ │ │ ├── includes │ │ │ │ └── taglibs.jspf │ │ │ │ └── test.jsp │ │ │ └── module │ │ │ └── META-INF │ │ │ └── MANIFEST.MF │ └── pom.xml ├── CONTRIBUTING.md ├── LICENSE ├── README.MD ├── Store │ ├── BuildEar │ │ └── pom.xml │ ├── DeployEar │ │ └── pom.xml │ ├── EStore │ │ ├── EStore │ │ │ └── pom.xml │ │ ├── International │ │ │ ├── International │ │ │ │ └── pom.xml │ │ │ ├── Versioned │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── Versioned │ │ │ ├── J2EE-APP │ │ │ │ └── pom.xml │ │ │ ├── Versioned │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ └── pom.xml │ ├── Endeca │ │ ├── Assembler │ │ │ └── pom.xml │ │ ├── Base │ │ │ └── pom.xml │ │ ├── Endeca │ │ │ └── pom.xml │ │ ├── Index │ │ │ ├── Index │ │ │ │ └── pom.xml │ │ │ ├── Versioned │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── International │ │ │ ├── Assembler │ │ │ │ └── pom.xml │ │ │ ├── Base │ │ │ │ └── pom.xml │ │ │ ├── Index │ │ │ │ └── pom.xml │ │ │ ├── International │ │ │ │ └── pom.xml │ │ │ ├── Reader │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── Reader │ │ │ └── pom.xml │ │ └── pom.xml │ ├── Fluoroscope │ │ ├── Fluoroscope │ │ │ └── pom.xml │ │ ├── J2EE-APP │ │ │ └── pom.xml │ │ └── pom.xml │ ├── Fulfillment │ │ └── pom.xml │ ├── KnowledgeBase │ │ ├── International │ │ │ └── pom.xml │ │ ├── KnowledgeBase │ │ │ └── pom.xml │ │ └── pom.xml │ ├── Recommendations │ │ ├── International │ │ │ └── pom.xml │ │ ├── Recommendations │ │ │ └── pom.xml │ │ └── pom.xml │ ├── Storefront │ │ ├── NoPublishing │ │ │ ├── International │ │ │ │ └── pom.xml │ │ │ ├── NoPublishing │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── Storefront │ │ │ └── pom.xml │ │ └── pom.xml │ └── pom.xml ├── copy-CRS-Files.sh ├── crs-maven-setup.pdf ├── images │ └── maven-to-atg.jpg ├── install-atglibs-maven.sh ├── install-fake-hotfix.sh ├── install-wls-maven.sh └── p1234-fakehotfix.jar └── atg-maven-plugin ├── CONTRIBUTING.md ├── LICENSE ├── README.MD ├── pom.xml └── src ├── main └── java │ └── com │ └── oracle │ └── atg │ └── ateam │ └── RunAssemblerMojo.java └── sample-projects ├── linux ├── crsBCCExample │ └── pom.xml ├── jbossExample │ └── pom.xml ├── passThroughExample │ └── pom.xml ├── twoModulesExample │ └── pom.xml └── wlsDeploy │ └── pom.xml └── windows ├── crsBCCExample └── pom.xml ├── jbossExample └── pom.xml ├── passThroughExample └── pom.xml └── twoModulesExample └── pom.xml /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Refer to the CONTRIBUTING file under each project folder 4 | -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- 1 | # Oracle ATG Commerce Build Tools 2 | 3 | This repository contains projects related to build tools and build examples for Oracle ATG Commerce 4 | 5 | ## atg-maven-plugin 6 | Maven plugin to generate ATG EAR files from a maven project. Helps you interface with runAssembler from your maven build. 7 | 8 | 9 | ## atg-crs-11.2-maven 10 | Demonstrates laying out ATG projects with Maven, and shows how to build and deploy the Commerce Reference Store sample application with Maven. 11 | 12 | 13 | ## Contributing 14 | 15 | See the CONTRIBUTING file under each project for details 16 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/ATeamCommon/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.ateam.mavensample 9 | ATeamSample 10 | 1.0.0-SNAPSHOT 11 | ../pom.xml 12 | 13 | 14 | atg.ateam.mavensample 15 | ATeamCommon 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | ATeamCommon 22 | 23 | 123.2 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | maven-clean-plugin 32 | 33 | 34 | 35 | ${atg.module.home} 36 | 37 | 38 | NoPublishing/** 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/ATeamCommon/src/main/config/com/atg/ateam/droplet/TestDroplet.properties: -------------------------------------------------------------------------------- 1 | $class=com.atg.ateam.droplet.TestDroplet -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/ATeamCommon/src/main/java/com/atg/ateam/droplet/TestDroplet.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2016, Oracle Corporation 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without modification, are permitted provided 6 | * that the following conditions are met: 7 | * 8 | * * Redistributions of source code must retain the above copyright notice, this list of 9 | * conditions and the following disclaimer. 10 | * 11 | * * Redistributions in binary form must reproduce the above copyright notice, this list 12 | * of conditions and the following disclaimer in the documentation and/or other materials 13 | * provided with the distribution. 14 | * 15 | * * Neither the name of Oracle nor the names of its contributors may be used to endorse or 16 | * promote products derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED 19 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 20 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ORACLE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 21 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 22 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | */ 26 | 27 | package com.atg.ateam.droplet; 28 | 29 | import java.io.IOException; 30 | 31 | import javax.servlet.ServletException; 32 | 33 | import atg.servlet.DynamoHttpServletRequest; 34 | import atg.servlet.DynamoHttpServletResponse; 35 | import atg.servlet.DynamoServlet; 36 | 37 | /** 38 | * Test droplet - doesn't really do anything useful. Just for showing how to 39 | * build an ATG module. 40 | * 41 | */ 42 | public class TestDroplet extends DynamoServlet { 43 | 44 | public final static String OUTPUT_PARAM = "output"; 45 | public final static String OUTPUT_DATA = "outdata"; 46 | 47 | @Override 48 | public void service(final DynamoHttpServletRequest pRequest, final DynamoHttpServletResponse pResponse) 49 | throws ServletException, IOException { 50 | 51 | final String sessionId = pRequest.getSession().getId(); 52 | 53 | if (isLoggingDebug()) { 54 | logDebug("got sessionId " + sessionId); 55 | } 56 | 57 | pRequest.setParameter(OUTPUT_DATA, sessionId); 58 | // Service the output oparam 59 | pRequest.serviceLocalParameter(OUTPUT_PARAM, pRequest, pResponse); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/ATeamCommon/src/main/module/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | ATG-Product: ATeamCommon 2 | Manifest-Version: 1.0 3 | ATG-Client-Class-Path: lib/classes.jar 4 | ATG-Class-Path: lib/classes.jar 5 | ATG-Config-Path: config/config.jar 6 | ATG-Required: DAS 7 | Build-Date: ${timestamp} 8 | ATG-Build: ${build.number} 9 | 10 | Name: lib/classes.jar 11 | ATG-Client-Update-File: true -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/BuildStandalone/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.ateam.mavensample 9 | ATeamSample 10 | 1.0.0-SNAPSHOT 11 | ../pom.xml 12 | 13 | 14 | atg.ateam.mavensample 15 | BuildEarStandalone 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | 22 | 23 | 24 | /tmp 25 | 26 | ATeam.ear 27 | 28 | ATGProduction 29 | 30 | ATeamSample.ATeamWebApp DafEar.Admin 31 | 32 | 33 | 34 | 35 | 36 | com.oracle.atg.ateam 37 | atg-runAssembler-plugin 38 | 39 | 40 | buildEar 41 | package 42 | 43 | runAssembler 44 | 45 | 46 | 47 | 48 | ${atg.ear.path}/${atg.ear.name} 49 | ${atg.ear.modules} 50 | ${atg.server.name} 51 | true 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/BuildWithMavenCRS/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.ateam.mavensample 9 | ATeamSample 10 | 1.0.0-SNAPSHOT 11 | ../pom.xml 12 | 13 | 14 | atg.ateam.mavensample 15 | BuildEarStandalone 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | /tmp 26 | 27 | ATeamWithMavenCRS.ear 28 | 29 | ATGProduction 30 | 31 | ATeamSample.ATeamWebApp MavenStore.EStore DafEar.Admin DPS DSS ContentMgmt DCS.PublishingAgent DCS.AbandonedOrderServices 32 | ContentMgmt.Endeca.Index DCS.Endeca.Index MavenStore.Endeca.Index DAF.Endeca.Assembler PublishingAgent 33 | DCS.Endeca.Index.SKUIndexing MavenStore.Storefront MavenStore.Recommendations DCS.ClickToConnect MavenStore.Fluoroscope 34 | MavenStore.Fulfillment MavenStore.KnowledgeBase 35 | 36 | 37 | 38 | 39 | 40 | com.oracle.atg.ateam 41 | atg-runAssembler-plugin 42 | 43 | 44 | buildEar 45 | package 46 | 47 | runAssembler 48 | 49 | 50 | 51 | 52 | ${atg.ear.path}/${atg.ear.name} 53 | ${atg.ear.modules} 54 | ${atg.server.name} 55 | true 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/DeployStandalone/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.ateam.mavensample 7 | ATeamSample 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.ateam.mavensample 13 | DeployEarStandalone 14 | 1.0.0-SNAPSHOT 15 | jar 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | /tmp 24 | 25 | ATeam.ear 26 | 27 | ATGProduction 28 | 29 | 30 | 31 | 32 | 33 | 34 | com.oracle.weblogic 35 | wls-maven-plugin 36 | 37 | ${env.MW_HOME} 38 | 39 | 40 | 41 | 42 | wls-deploy 43 | install 44 | 45 | deploy 46 | 47 | 48 | 49 | t3://127.0.0.1:7001 50 | 51 | weblogic 52 | password1 53 | 54 | ${atg.ear.path}/${atg.ear.name} 55 | 56 | ${atg.server.name} 57 | true 58 | 59 | ${atg.ear.name} 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/DeployWithMavenCRS/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.ateam.mavensample 7 | ATeamSample 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.ateam.mavensample 13 | DeployEarStandalone 14 | 1.0.0-SNAPSHOT 15 | jar 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | /tmp 24 | 25 | ATeamWithMavenCRS.ear 26 | 27 | ATGProduction 28 | 29 | 30 | 31 | 32 | 33 | 34 | com.oracle.weblogic 35 | wls-maven-plugin 36 | 37 | ${env.MW_HOME} 38 | 39 | 40 | 41 | 42 | wls-deploy 43 | install 44 | 45 | deploy 46 | 47 | 48 | 49 | t3://127.0.0.1:7001 50 | 51 | weblogic 52 | password1 53 | 54 | ${atg.ear.path}/${atg.ear.name} 55 | 56 | ${atg.server.name} 57 | true 58 | 59 | ${atg.ear.name} 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.ateam.mavensample 9 | ATeamSample 10 | 1.0.0-SNAPSHOT 11 | ../pom.xml 12 | 13 | 14 | atg.ateam.mavensample 15 | ATeamWebApp 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | ATeamWebApp 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | org.apache.maven.plugins 42 | maven-resources-plugin 43 | 44 | true 45 | 46 | 47 | 48 | 49 | copy-j2ee-app 50 | process-resources 51 | 52 | copy-resources 53 | 54 | 55 | ${atg.module.home} 56 | true 57 | 58 | 59 | src/main/ 60 | 61 | j2ee-apps/** 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | org.apache.maven.plugins 71 | maven-dependency-plugin 72 | 73 | 74 | 75 | ateam.war-copy 76 | package 77 | 78 | copy 79 | 80 | 81 | ${atg.module.home}/j2ee-apps/ATeam/ateam.war/WEB-INF/lib 82 | 83 | 84 | atg 85 | dspjspTaglib1_0 86 | ${atg.version} 87 | jar 88 | 89 | dspjspTaglib1_0.jar 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/j2ee-apps/ATeam/META-INF/application.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | ATeamSample 11 | 12 | 13 | 14 | ateam.war 15 | ateam 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/j2ee-apps/ATeam/ateam.war/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | ATG-Module-Uri: ateam.war 3 | ATG-Context-Root: ateam 4 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/j2ee-apps/ATeam/ateam.war/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 18 | ATeamSample 19 | 20 | 29 | 30 | 38 | 39 | atg.session.parentContextName 40 | /dyn 41 | 42 | 43 | 44 | atg.dafear.bootstrapContextName 45 | /dyn 46 | 47 | 48 | 53 | 54 | context-root 55 | ateam 56 | 57 | 58 | 63 | 64 | atg.assembler 65 | true 66 | 67 | 68 | 75 | 76 | PageFilter 77 | atg.filter.dspjsp.PageFilter 78 | 79 | 80 | ErrorFilter 81 | atg.servlet.ErrorFilter 82 | 83 | 84 | 85 | PageFilter 86 | *.jsp 87 | ERROR 88 | 89 | 90 | 108 | 109 | 116 | 117 | NucleusServlet 118 | 119 | atg.nucleus.servlet.NucleusServlet 120 | 121 | 1 122 | 123 | 124 | 128 | 129 | atg.taglib.dspjsp.RegisterELResolverServletContextListener 130 | 131 | 132 | 133 | test.jsp 134 | 135 | 136 | 137 | 138 | 404 139 | /global/pageNotFound.jsp 140 | 141 | 142 | 143 | 144 | 500 145 | /global/serverError.jsp 146 | 147 | 148 | 149 | 150 | 409 151 | /global/sessionExpired.jsp 152 | 153 | 154 | 155 | 156 | *.jsp 157 | UTF-8 158 | true 159 | /includes/taglibs.jspf 160 | 161 | 162 | 163 | 164 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/j2ee-apps/ATeam/ateam.war/global/pageNotFound.jsp: -------------------------------------------------------------------------------- 1 | 2 | 404 Error
3 | Page not found 4 |
-------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/j2ee-apps/ATeam/ateam.war/global/serverError.jsp: -------------------------------------------------------------------------------- 1 | 2 | 500 Error
3 | Server Error 4 |
-------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/j2ee-apps/ATeam/ateam.war/global/sessionExpired.jsp: -------------------------------------------------------------------------------- 1 | 2 | 409 Error
3 | Session Expired 4 |
-------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/j2ee-apps/ATeam/ateam.war/includes/taglibs.jspf: -------------------------------------------------------------------------------- 1 | <%@ taglib prefix="dsp" uri="http://www.atg.com/taglibs/daf/dspjspTaglib1_1" %> 2 | 3 | <%-- 4 | This file is included in all *.jsp files. It is specified by an include-prelude 5 | option in web.xml. 6 | NOTE: Do not set a contentType directive in this file as some JSPs will render 7 | text/html, whereas others will render other mime types, including application/json. 8 | --%> -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/j2ee-apps/ATeam/ateam.war/test.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Current Session ID is
8 | ${outdata} 9 |
10 |
11 |
-------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/WebApp/src/main/module/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | ATG-Product: ATeam WebApp 2 | Manifest-Version: 1.0 3 | ATG-Required: ATeamSample.ATeamCommon 4 | ATG-Web-Module: j2ee-apps/ATeam/ateam.war 5 | ATG-Build: ${build.number} 6 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/ATeam/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | atg.ateam.mavensample 6 | ATeamSample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 11.2 13 | 14 | ${env.ATG_ROOT} 15 | 16 | ${atg.root}/ATeamSample 17 | 18 | ${atg.ateam.home}/${module.dir.name} 19 | 20 | UTF-8 21 | 22 | 23 | 24 | ${maven.build.timestamp} 25 | yyyy-MM-dd HH:mm 26 | 27 | 28 | 123 29 | 30 | 31 | 32 | 33 | ATeamCommon 34 | WebApp 35 | 36 | 37 | 38 | 39 | 40 | atg 41 | ADC-classes 42 | ${atg.version} 43 | 44 | 45 | atg 46 | DAS-classes 47 | ${atg.version} 48 | 49 | 50 | atg 51 | DAS-servlet 52 | ${atg.version} 53 | 54 | 55 | atg 56 | DASUI-uiclasses 57 | ${atg.version} 58 | 59 | 60 | atg 61 | DCS-classes 62 | ${atg.version} 63 | 64 | 65 | atg 66 | DPS-classes 67 | ${atg.version} 68 | 69 | 70 | atg 71 | DSS-classes 72 | ${atg.version} 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | src/main/java 82 | 83 | **/*.properties 84 | 85 | 86 | 87 | src/main/resources 88 | 89 | 90 | 91 | 92 | 93 | 94 | org.apache.maven.plugins 95 | maven-compiler-plugin 96 | 3.3 97 | 98 | 1.7 99 | 1.7 100 | 101 | 102 | 103 | 104 | org.apache.maven.plugins 105 | maven-resources-plugin 106 | 107 | true 108 | 109 | 110 | 111 | 112 | copy-module-manifest 113 | process-resources 114 | 115 | copy-resources 116 | 117 | 118 | ${atg.module.home} 119 | true 120 | 121 | 122 | src/main/module 123 | 124 | true 125 | 126 | 127 | 128 | 129 | 130 | 131 | copy-liveconfig-layer 132 | process-resources 133 | 134 | copy-resources 135 | 136 | 137 | ${atg.module.home} 138 | true 139 | 140 | 141 | src/main/ 142 | 143 | liveconfig/** 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | copy-configlayers 152 | process-resources 153 | 154 | copy-resources 155 | 156 | 157 | ${atg.module.home} 158 | true 159 | 160 | 161 | src/main/ 162 | 163 | configlayers/** 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | copy-j2ee-app 172 | process-resources 173 | 174 | copy-resources 175 | 176 | 177 | ${atg.module.home} 178 | true 179 | 180 | 181 | src/main/j2ee-apps 182 | 183 | */** 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | org.apache.maven.plugins 194 | maven-jar-plugin 195 | 2.6 196 | 197 | 198 | create-classes-jar 199 | process-classes 200 | 201 | jar 202 | 203 | 204 | true 205 | target/classes 206 | classes 207 | ${atg.module.home}/lib 208 | 209 | 210 | 211 | 212 | true 213 | 214 | 215 | ${maven.build.timestamp} 216 | 217 | 218 | 219 | 220 | 221 | create-config-jar 222 | process-classes 223 | 224 | jar 225 | 226 | 227 | true 228 | src/main/config 229 | config 230 | ${atg.module.home}/config 231 | 232 | 233 | true 234 | 235 | 236 | ${maven.build.timestamp} 237 | 238 | 239 | 240 | 241 | 242 | 243 | create-resources-jar 244 | process-classes 245 | 246 | jar 247 | 248 | 249 | true 250 | target/classes 251 | resources 252 | ${atg.module.home}/lib 253 | 254 | **/*.properties 255 | META-INF/* 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | org.apache.maven.plugins 267 | maven-dependency-plugin 268 | 2.10 269 | 270 | 271 | 272 | 273 | maven-clean-plugin 274 | 3.0.0 275 | 276 | 277 | 278 | org.apache.maven.plugins 279 | maven-resources-plugin 280 | 2.7 281 | 282 | 283 | 284 | com.oracle.atg.ateam 285 | atg-runAssembler-plugin 286 | 1.0 287 | 288 | 289 | 290 | com.oracle.weblogic 291 | wls-maven-plugin 292 | 12.1.2.0 293 | 294 | 295 | 296 | 297 | 298 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to atg-crs-11.2-maven 2 | 3 | *Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.* 4 | 5 | This project is not currently accepting pull requests 6 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Oracle 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | 24 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/README.MD: -------------------------------------------------------------------------------- 1 | # Oracle ATG Commerce 11.2 Commerce Reference Store Maven build 2 | 3 | This is a demonstration of building the Oracle ATG Commerce 11.2 Commerce Reference Store with Maven. 4 | This example build also demonstrates some best practices for managing ATG libraries, hotfixes and tag libraries in a Maven build. 5 | 6 | A PDF version of these instructions is included in the root of this repository. 7 | 8 | ### System requirements/prerequisites: 9 | * Oracle ATG Commerce 11.2 CRS has already been configured and installed using the instructions in the product manuals. This assumes ATG, WebLogic, Oracle database, and java are all installed and properly configured. 10 | * Maven is installed. This setup was testing with maven 3.2.5 11 | * A working knowledge of Maven is helpful 12 | 13 | 14 | ## Installation instructions 15 | 1. Install ATG libraries to your maven repository. This is a one-time step. 16 | * install-atglibs-maven.sh 17 | * Note – the environment variable ATG_ROOT must be set, and point to the root of your ATG installation. 18 | * Once libraries are added to your maven repository, there is no need to do it again unless they are deleted for some reason, or you change/add libraries. 19 | 2. Install a fake hotfix. This is a one-time step. 20 | * install-fake-hotfix.sh 21 | * This jar contains a single text file, and is used in BuildEar to demonstrate adding hotfixes from your maven repository. 22 | 3. Install WebLogic maven plugin to your maven repository if you want to be able to deploy an EAR file. This is a one-time step. 23 | * install-wls-maven.sh 24 | * Note – the MW_HOME environment variable must be set, and point to your middleware home. 25 | * This install file, and the POM included in DeployEar are for WebLogic 12.1.2. If you are using a different version of WebLogic, consult the WebLogic docs for installing and using the WebLogic maven plugin specific to that version. 26 | * Once libraries are added to your maven repository, there is no need to do it again unless they are deleted for some reason, or you change/add libraries. 27 | 4. Install the atg-maven-plugin if you want to be able to build EAR files. This is a one-time step. 28 | * Download from here: https://github.com/oracle/atg-maven-plugin 29 | * Instructions are included. All you do is run mvn install. 30 | 5. Copy the Commerce Reference Store files needed for building into the Maven build tree. A script is provided that will copy the correct files to the correct location, and change the module name in the appropriate files. 31 | * From the directory you extracted this sample to, execute ./copy-CRS-Files.sh 32 | 33 | ## Usage 34 | The setup demonstrates how to build code, build an ear, and deploy an ear using a modified CRS with maven. 35 | This setup does not install the CRS. You must do that following the product manuals. 36 | 37 | ## Building all code 38 | Change to the top level Store directory and execute “mvn install” 39 | 40 | The top level parent pom includes all the submodules in the proper order, and will build all of the code. 41 | 42 | The build process also places the built code into your ATG_ROOT, under the MavenStore directory, in an ATG module format. Note that MavenStore is the root for this customized version of the OOTB CRS. The OOTB CRS is installed under CommerceReferenceStore. 43 | 44 | Depending on if you have used maven on the machine you run this on, and what you have used it for, there may be a large amount of data downloaded the first time you use this. Maven needs to pull all its dependencies to your local repository if they do not already exist. 45 | 46 | ## Building specific modules 47 | 48 | The layout of this maven setup groups everything into various submodule layers, which mimics the ANT layout used by the CRS that ships with Commerce, but in a maven format. 49 | 50 | The EStore module includes submodules EStore.International, EStore.Versioned, and the EStore.Versioned j2ee app (as well as some others, but we will use those as an example) 51 | 52 | If you want to build EStore and all of its submodules, you would cd to Store/EStore and execute mvn install. That will build everything in the proper order. 53 | 54 | If you want to build EStore.Versioned and its submodules, cd to Store/EStore/Versioned and execute mvn install. 55 | 56 | If you only want to build the EStore.Versioned j2ee app, cd to Store/EStore/Versioned/J2EE-APP and execute mvn install. 57 | 58 | Everything follows this module/submodule layout so you can build groups of modules, or individual modules. 59 | 60 | ## Dependency management 61 | All module versions are handled in the top level parent pom, either by explicit definition, or a property value. 62 | 63 | While a submodule may include dependencies, they will not call out the version to use. The versions are located in a single pom to allow easier management, and to keep the build cleaner. This will also help prevent ending up with a build using several versions of the same library. 64 | 65 | During the setup this document outlines, you added ATG libraries to your maven repository. 66 | This allows code to be built with a common set of libraries, and allows builds to occur with an actual ATG installation in place. You will not be able to build and EAR without the full install, but you can compile and unit test code with something like junit with this setup as a standalone. 67 | 68 | You can also import each maven module into eclipse (or another IDE that supports maven) without any special configuration. Eclipse will automatically use the libraries installed to your maven repository since they are defined in the pom files. 69 | 70 | In a distributed environment with many developers, this helps setup will also help ensure everyone is using the same library versions. If you install the libs to a centralized maven repository, and modify the poms to use that repository, then all developers and build tools will always pull the exact same libraries. This is also useful to enforce which hotfixes and patches are deployed with your EAR. 71 | 72 | A sample fake hotfix is included for demonstration purposes. 73 | 74 | ## ATG dependencies 75 | 76 | The version of ATG dependencies that are used is controlled by a single property in the top level pom. This allows you to easily run the same build against multiple versions of Commerce, as long as you have the libraries added to your maven repository. 77 | 78 | ## Taglibs and 3rd party libs 79 | 80 | In many build setups, taglibs and 3rd party libraries are checked in to source control. This build setup does not do that. 81 | 82 | Taglibs are added to the maven repository, and declared in the top level pom. J2EE-APP modules that need taglibs have entries in their pom that copy the taglib from the maven repo to the appropriate location under in your war file at build time. 83 | 84 | The same is true of 3rd party libraries. You will see an example of commons-codec used in this build. It is declared in the top level pom, and entries are in the EStore module pom that pull it from the maven repo at build time. 85 | 86 | This setup is especially useful when you want to upgrade a library, or you patch ATG. You will not need to go through your source repository and make sure you upgrade all the taglibs. 87 | 88 | ## Anatomy of the maven module 89 | 90 | In the root of a module is the pom.xml. 91 | 92 | The directory tree is laid out as follows: 93 | * src/main – this is the root of all other folders 94 | * module – contains the META-INF/MANFIEST.MF used by ATG modules 95 | * config - contains the ATG module configs, which will be jar’d and copied to your module’s config directory in ATG_ROOT 96 | * configlayers – contains config layers that runAssembler will pull in if they are specified 97 | * java – contains source code, which will be compile, then jar’d, then the jar is copied to your ATG_ROOT/module’s lib directory 98 | * liveconfig – contains properties for your ATG liveconfig layer 99 | * j2ee-apps – These trees contain war files 100 | 101 | All directories are optional. 102 | 103 | The top level pom defines how to handle each type of directory. If the build finds it, it will process it based on the rules in the parent pom. 104 | 105 | There are two special directories, under EStore. They are keystore, and admin. Keystore is used for a cryptography module included in the CRS, and admin contains JHTML admin pages. You can see the special handling in the EStore pom that just copies these to the ATG module tree. 106 | 107 | The following is a diagram showing how some of the maven directories map to an ATG module’s directory structure. 108 | 109 | ![directoryMapping](/images/maven-to-atg.jpg?raw=true) 110 | 111 | The location that maven moves all the files to is controlled in each submodule pom, by the module.dir.name property. 112 | 113 | The resources.jar being created under the lib directory is not actually used by the CRS. This is created for demonstration purposed to show separating class files from properties files if desired. 114 | 115 | ## Special handling for clean 116 | 117 | Because we are doing mapping of a maven layout to an ATG module layout, there is some special handling for executing mvn clean. 118 | 119 | Normally, clean only handles files maven knows about under each module. Since we are moving files outside of maven’s structure, and mapping things to an ATG module format, we have to add some features to the clean command if we want the ATG module trees cleaned as well. 120 | 121 | You will see in each modules pom that specific clean plugins are added, and some declare file exclusions. 122 | 123 | This is to handle a case like EStore and EStore.Versioned. When I clean the main EStore module, I do not want to delete the Versioned tree under the ATG module since this is handled by a separate maven build. So in my clean configuration for EStore, I specifically exclude the Versioned tree. If I want to clean the Versioned ATG module, I run clean either inside the EStore/Versioned maven module, OR, in the top level EStore main pom. 124 | 125 | ## File Filtering 126 | 127 | Several examples of file filtering are provided. 128 | 129 | A timestamp, and build number is added to the MANIFEST.MF indicating when code was built. 130 | 131 | A timestamp example is also added when we compile and jar source code. All classes.jar files will have a build.time with a timestamp embedded in the MANIFEST of classes.jar. 132 | 133 | You can add other fields here. This is meant to show how you can mark builds with version numbers and timestamps, which is useful if you want to look at a running module and know what version is being run. In larger environments, and those with continuous integration setups, adding timestamps to the build can be very helpful so others can quickly see what is running at any given time. By adding entries to a module MANIFEST.MF, you can see data in the /dyn/admin interface – so there is no need to get on a physical server and look inside an EAR/JAR to know when it was built. Look at the what’s running section of /dyn/admin to see the build number data. 134 | 135 | You can also add a custom property field, text file, html file, or any other text based file/field this way. 136 | 137 | ## Building and deploying the EAR 138 | 139 | Building the EAR file, and deploying the EAR file to Weblogic is not part of the default build. 140 | 141 | To build the EAR, all code must already be built with the main Store module. 142 | 143 | Once this is built, execute mvn install in the Store/BuildEar directory. 144 | 145 | This will create an EAR file using the atg-maven-plugin. Note that the modules line passed to runAssembler uses MavenStore instead of Store. Store is what the OOTB CRS uses. Our version with maven has been renamed to MavenStore. 146 | 147 | Once you have an EAR created, you can also deploy it to Weblogic using maven. 148 | 149 | Execute mvn install in the Store/DeployEar directory. 150 | 151 | This uses the Weblogic maven plugin that ships with Weblogic. You should have installed this plugin as part of the initial setup process these instructions outline. 152 | 153 | To deploy the EAR to Weblogic with this build, your AdminServer must be running. This setup also assumes your WebLogic server name is ATGProduction. 154 | 155 | Note that if the ATGProduction instance is not running, you will see a message similar to the following: 156 | > java.rmi.RemoteException: [Deployer:149145]Unable to contact "ATGProduction". Deployment is deferred until "ATGProduction" becomes available. 157 | 158 | This is not an error. It just means the ear file is deployed through the admin instance, and will fire up the next time ATGProduction is started. 159 | 160 | The way the pom is setup assumes you are running Weblogic on the same host you are building/deploying code on. You can edit the pom under DeployEar to change where the code is deployed to, the Weblogic admin user/password, as well as other options. Consult the Weblogic documentation for details on other options the Weblogic maven plugin supports. 161 | 162 | Before you deploy using this build process the first time, you should go in to your Weblogic admin console and delete the ATGProduction.ear deployment. This should already exist from running the initial CRS installation with CIM. 163 | 164 | You don’t want to try to start your instance with the default CRS app, and this version installed. It will not work. 165 | 166 | You can automatically build and deploy the EAR file as part of the larger build if desired. There are multiple ways to accomplish this, including shell aliases, maven profiles, and adding to the parent pom. There are additional ways as well. You would need to decide what works best for your environment/setup. 167 | 168 | ## Other documentation 169 | The pom files themselves contain many comments explaining how things are setup. 170 | 171 | ## Sample starter module 172 | 173 | There is a second application called ATeam. 174 | This is a skeleton application to show a very simply starting point for a new application/ATG module. 175 | To build this application, change directory to the ATeam folder, and execute “mvn clean install”. 176 | 177 | This top level pom will build ATeam/ATeamCommon and ATeam/WebApp, and place the compiled code in an ATG module located at ATG_ROOT/ATeamSample 178 | 179 | Note that this is a unique application from the MavenStore module created in the first portion of this document. 180 | This skeleton application has a single droplet, and single main JSP page under the context root /ateam 181 | 182 | ## ATeamCommon 183 | 184 | The ATeamCommon folder becomes the ATG module that holds custom code and configurations. This is where the sample droplet is located. 185 | 186 | ## WebApp 187 | 188 | The WebApp folder is where JSP pages go. 189 | 190 | Included is a base web.xml that will intercept 404, 409 and 500 errors, and redirect the user to the corresponding page under the /global folder in the j2ee-app. 191 | 192 | There is also a shared taglib include file. The purpose of includes/taglibs.jspf is to automatically give any JSP page access to tag libraries. This page is injected into every JSP by the include-prelude parameter in web.xml. 193 | 194 | ## Building and Deploying the starter module 195 | 196 | This starter module can be deployed either as a standalone application (with the Maven CRS), or with the Maven CRS. This is to demonstrate how you can have multiple top level projects and still deploy them together in the same EAR. 197 | 198 | ## Standalone application EAR 199 | 200 | After doing a build of the code (mvn clean install at the top level ATeam directory), change to the BuildStandalone directory and execute mvn install. This will create an ear file at /tmp/ATeam.ear 201 | 202 | This EAR contains only the start application. 203 | 204 | ## Starter app and MavenStore together 205 | 206 | After doing a build of the code (mvn clean install at the top level ATeam directory), change to the BuildWithMavenCRS directory and execute mvn install. This will create an ear file at /tmp/ATeamWithMavenCRS.ear 207 | 208 | This EAR contains the start application and the Maven CRS. 209 | 210 | Note that you must have already built the MavenStore module described in the first portion of this document. 211 | 212 | If you compare the pom files between BuildStandalone and BuildWithMavenCRS, the key difference is which modules are being passed to runAssembler when building the EAR. 213 | 214 | ## Deploying the standalone application 215 | 216 | You can manually install ATeam.ear into WebLogic, or use the pom provided in DeployStandalone (run mvn install in this directory). 217 | 218 | Make sure you have removed any existing deployments bound to the ATGProduction instance from WebLogic before deploying this new EAR. Otherwise, you WebLogic instance will attempt to start multiple EAR deployments at the same time, and you will likely have problems. 219 | 220 | ## Deploying the starter application and MavenStore together 221 | 222 | You can manually install ATeamWithMavenCRS.ear into WebLogic, or use the pom provided in DeployWithMavenCRS (run mvn install in this directory). 223 | 224 | Make sure you have removed any existing deployments bound to the ATGProduction instance from WebLogic before deploying this new EAR. Otherwise, you WebLogic instance will attempt to start multiple EAR deployments at the same time, and you will likely have problems. 225 | 226 | ## Contributing 227 | 228 | See 229 | [CONTRIBUTING](https://github.com/oracle/atg-crs-11.2-maven/tree/master/CONTRIBUTING.md) 230 | for details. 231 | 232 | 233 | 234 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/BuildEar/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 8 | 9 | atg.crs.mavenbuild 10 | CRSMavenParent 11 | 1.0.0-SNAPSHOT 12 | ../pom.xml 13 | 14 | 15 | atg.crs.mavenbuild 16 | BuildEar 17 | 1.0.0-SNAPSHOT 18 | jar 19 | 20 | 21 | 22 | /tmp 23 | 24 | MavenCRS.ear 25 | 26 | ATGProduction 27 | 28 | MavenStore.EStore DafEar.Admin DPS DSS ContentMgmt DCS.PublishingAgent 29 | DCS.AbandonedOrderServices ContentMgmt.Endeca.Index DCS.Endeca.Index 30 | MavenStore.Endeca.Index DAF.Endeca.Assembler PublishingAgent 31 | DCS.Endeca.Index.SKUIndexing MavenStore.Storefront MavenStore.Recommendations 32 | MavenStore.Fluoroscope MavenStore.Fulfillment MavenStore.KnowledgeBase 33 | 34 | 35 | 36 | 37 | 38 | 39 | org.apache.maven.plugins 40 | maven-dependency-plugin 41 | 42 | 43 | copy-p1234-fakehotfix 44 | 46 | process-resources 47 | 48 | copy 49 | 50 | 51 | 52 | 53 | 55 | 57 | atg 58 | p1234-fakehotfix 59 | ${project.build.directory}/hotfix 60 | 62 | p1234-fakehotfix.jar 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | com.oracle.atg.ateam 71 | atg-runAssembler-plugin 72 | 73 | 74 | buildEar 75 | package 76 | 77 | runAssembler 78 | 79 | 80 | 81 | 82 | ${atg.ear.path}/${atg.ear.name} 83 | ${atg.ear.modules} 84 | ${atg.server.name} 85 | true 86 | 88 | ${project.build.directory}/hotfix/p1234-fakehotfix.jar 89 | 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/DeployEar/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | DeployEar 14 | 1.0.0-SNAPSHOT 15 | jar 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | /tmp 24 | 25 | MavenCRS.ear 26 | 27 | ATGProduction 28 | 29 | 30 | 31 | 32 | 33 | 34 | com.oracle.weblogic 35 | wls-maven-plugin 36 | 37 | ${env.MW_HOME} 38 | 39 | 40 | 41 | 42 | wls-deploy 43 | install 44 | 45 | deploy 46 | 47 | 48 | 49 | t3://127.0.0.1:7001 50 | 51 | weblogic 52 | password1 53 | 54 | ${atg.ear.path}/${atg.ear.name} 55 | 56 | ${atg.server.name} 57 | true 58 | 59 | ${atg.ear.name} 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/EStore/EStore/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | EStore 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | EStore 22 | 23 | 123.2 24 | 25 | 26 | 27 | 28 | 29 | 30 | org.apache.maven.plugins 31 | maven-dependency-plugin 32 | 33 | 34 | copy 35 | package 36 | 37 | copy 38 | 39 | 40 | 41 | 42 | 43 | 44 | commons-codec 45 | commons-codec 46 | jar 47 | ${atg.module.home}/lib 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | maven-clean-plugin 58 | 59 | 60 | 61 | ${atg.module.home} 62 | 63 | 64 | Versioned/** 65 | International/** 66 | 67 | 68 | 69 | 70 | 71 | 72 | org.apache.maven.plugins 73 | maven-resources-plugin 74 | 75 | 76 | 77 | copy-keystore 78 | process-resources 79 | 80 | copy-resources 81 | 82 | 83 | ${atg.module.home} 84 | true 85 | 86 | 87 | src/main/ 88 | 89 | keystore/** 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | copy-admin 98 | process-resources 99 | 100 | copy-resources 101 | 102 | 103 | ${atg.module.home} 104 | true 105 | 106 | 107 | src/main/ 108 | 109 | admin/** 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/EStore/International/International/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | EStore-International 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | EStore/International 22 | 23 | 24 | 25 | 26 | atg 27 | DAF-Search-Index 28 | ${atg.version} 29 | 30 | 31 | atg.crs.mavenbuild 32 | EStore 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | maven-clean-plugin 43 | 44 | 45 | 46 | ${atg.module.home} 47 | 48 | 49 | Versioned/** 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/EStore/International/Versioned/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | EStore-International-Versioned 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | EStore/International/Versioned 22 | 23 | 24 | 25 | 26 | atg 27 | WebUI-classes 28 | ${atg.version} 29 | 30 | 31 | atg.crs.mavenbuild 32 | EStore-International 33 | 34 | 35 | 36 | atg.crs.mavenbuild 37 | EStore-Versioned 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | maven-clean-plugin 48 | 49 | 50 | 51 | ${atg.module.home} 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/EStore/International/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | EStore-International-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | International 21 | Versioned 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/EStore/Versioned/J2EE-APP/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | EStore-Versioned-J2EE 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | EStore/Versioned/j2ee-apps 22 | 23 | 24 | 25 | 26 | 27 | 28 | org.apache.maven.plugins 29 | maven-dependency-plugin 30 | 31 | 32 | copy 33 | package 34 | 35 | copy 36 | 37 | 38 | ${atg.module.home}/Versioned/store-merchandising.war/WEB-INF/lib 39 | 40 | 41 | atg 42 | dspjspTaglib1_0 43 | ${atg.version} 44 | jar 45 | 46 | dspjspTaglib1_0.jar 47 | 48 | 49 | atg 50 | webui-preview-1_0 51 | ${atg.version} 52 | jar 53 | 54 | webui-preview-1_0.jar 55 | 56 | 57 | atg 58 | springtonucleus 59 | ${atg.version} 60 | jar 61 | 62 | springtonucleus.jar 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | maven-clean-plugin 73 | 74 | 75 | 76 | ${atg.module.home} 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/EStore/Versioned/Versioned/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | EStore-Versioned 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | EStore/Versioned 22 | 23 | 24 | 25 | 26 | 27 | atg.crs.mavenbuild 28 | EStore 29 | 30 | 31 | atg 32 | DCS-UI-classes 33 | ${atg.version} 34 | 35 | 36 | atg 37 | BCC-classes 38 | ${atg.version} 39 | 40 | 41 | atg 42 | SiteAdmin-classes 43 | ${atg.version} 44 | 45 | 46 | atg 47 | DPS-UI-classes 48 | ${atg.version} 49 | 50 | 51 | atg 52 | AssetUI-classes 53 | ${atg.version} 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | maven-clean-plugin 63 | 64 | 65 | 66 | ${atg.module.home} 67 | 68 | 69 | j2ee-apps/** 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/EStore/Versioned/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | EStore-Versioned-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | Versioned 21 | J2EE-APP 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/EStore/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | EStore-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | EStore 21 | Versioned 22 | International 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/Assembler/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-Assembler 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/Assembler 22 | 23 | 24 | 25 | 26 | atg.crs.mavenbuild 27 | EStore 28 | 29 | 30 | atg 31 | DAF-Endeca-Assembler 32 | ${atg.version} 33 | 34 | 35 | atg 36 | endeca-assembler-core 37 | ${atg.version} 38 | 39 | 40 | atg 41 | endeca-assembler-navigation 42 | ${atg.version} 43 | 44 | 45 | atg 46 | endeca-navigation 47 | ${atg.version} 48 | 49 | 50 | atg 51 | DAF-Search-Base 52 | ${atg.version} 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | maven-clean-plugin 62 | 63 | 64 | 65 | ${atg.module.home} 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/Base/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-Base 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/Base 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/Endeca/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | Assembler/** 37 | Base/** 38 | Index/** 39 | International/** 40 | Reader/** 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/Index/Index/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-Index 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/Index 22 | 23 | 24 | 25 | 26 | atg 27 | DAF-Search-Common 28 | ${atg.version} 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | maven-clean-plugin 38 | 39 | 40 | 41 | ${atg.module.home} 42 | 43 | 44 | Versioned/** 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/Index/Versioned/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-Index-Versioned 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/Index/Versioned 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/Index/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | Endeca-Index-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | Index 21 | Versioned 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/International/Assembler/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-International-Assembler 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/International/Assembler 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/International/Base/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-International-Base 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/International/Base 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/International/Index/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-International-Index 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/International/Index 22 | 23 | 24 | 25 | 26 | atg.crs.mavenbuild 27 | EStore-International 28 | 29 | 30 | atg 31 | DAF-Search-Index 32 | ${atg.version} 33 | 34 | 35 | atg 36 | DAF-Search-Base 37 | ${atg.version} 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | maven-clean-plugin 47 | 48 | 49 | 50 | ${atg.module.home} 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/International/International/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-International 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/International 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | Assembler/** 37 | Base/** 38 | Index/** 39 | Reader/** 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/International/Reader/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-International-Reader 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/International/Reader 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/International/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | Endeca-International-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | International 21 | Assembler 22 | Base 23 | Index 24 | Reader 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/Reader/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Endeca-Reader 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Endeca/Reader 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Endeca/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | Endeca-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | Endeca 21 | Assembler 22 | Base 23 | Index 24 | Reader 25 | International 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Fluoroscope/Fluoroscope/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Fluoroscope 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Fluoroscope 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | j2ee-apps/** 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Fluoroscope/J2EE-APP/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Fluoroscope-J2EE 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Fluoroscope/j2ee-apps 22 | 23 | 24 | 25 | 26 | 27 | 28 | org.apache.maven.plugins 29 | maven-dependency-plugin 30 | 31 | 32 | copy 33 | package 34 | 35 | copy 36 | 37 | 38 | ${atg.module.home}/Fluoroscope/fluoroscope.war/WEB-INF/lib 39 | 40 | 41 | atg 42 | dspjspTaglib1_0 43 | ${atg.version} 44 | jar 45 | 46 | dspjspTaglib1_0.jar 47 | 48 | 49 | atg 50 | webui-preview-1_0 51 | ${atg.version} 52 | jar 53 | 54 | webui-preview-1_0.jar 55 | 56 | 57 | atg 58 | springtonucleus 59 | ${atg.version} 60 | jar 61 | 62 | springtonucleus.jar 63 | 64 | 65 | atg 66 | json-taglib-0.4 67 | ${atg.version} 68 | jar 69 | 70 | json-taglib-0.4.jar 71 | 72 | 73 | atg 74 | jstl-1.1 75 | ${atg.version} 76 | jar 77 | 78 | jstl.jar 79 | 80 | 81 | atg 82 | standard-1.1 83 | ${atg.version} 84 | jar 85 | 86 | standard.jar 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | maven-clean-plugin 97 | 98 | 99 | 100 | ${atg.module.home} 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Fluoroscope/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | Fluoroscope-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | Fluoroscope 21 | J2EE-APP 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Fulfillment/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Fulfillment 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Fulfillment 22 | 23 | 24 | 25 | 26 | atg.crs.mavenbuild 27 | EStore 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | maven-clean-plugin 37 | 38 | 39 | 40 | ${atg.module.home} 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/KnowledgeBase/International/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | KnowledgeBase-International 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | KnowledgeBase/International 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/KnowledgeBase/KnowledgeBase/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | KnowledgeBase 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | KnowledgeBase 22 | 23 | 24 | 25 | 26 | 27 | atg.crs.mavenbuild 28 | EStore 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | maven-clean-plugin 38 | 39 | 40 | 41 | ${atg.module.home} 42 | 43 | 44 | International/** 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/KnowledgeBase/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | KnowledgeBase-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | KnowledgeBase 21 | International 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Recommendations/International/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Recommendations-International 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Recommendations/International 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Recommendations/Recommendations/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Recommendations 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Recommendations 22 | 23 | 24 | 25 | 26 | 27 | atg.crs.mavenbuild 28 | EStore 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | maven-clean-plugin 38 | 39 | 40 | 41 | ${atg.module.home} 42 | 43 | 44 | International/** 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Recommendations/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | Recommendations-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | Recommendations 21 | International 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Storefront/NoPublishing/International/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Storefront-NoPublishing-International 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Storefront/NoPublishing/International 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Storefront/NoPublishing/NoPublishing/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Storefront-NoPublishing 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Storefront/NoPublishing 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | International/** 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Storefront/NoPublishing/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | NoPublishing-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | NoPublishing 21 | International 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Storefront/Storefront/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | 8 | atg.crs.mavenbuild 9 | CRSMavenParent 10 | 1.0.0-SNAPSHOT 11 | ../../pom.xml 12 | 13 | 14 | atg.crs.mavenbuild 15 | Storefront 16 | 1.0.0-SNAPSHOT 17 | jar 18 | 19 | 20 | 21 | Storefront 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | maven-clean-plugin 30 | 31 | 32 | 33 | ${atg.module.home} 34 | 35 | 36 | NoPublishing/** 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | org.apache.maven.plugins 46 | maven-resources-plugin 47 | 48 | true 49 | 50 | 51 | 52 | 53 | copy-j2ee-app 54 | process-resources 55 | 56 | copy-resources 57 | 58 | 59 | ${atg.module.home} 60 | true 61 | 62 | 63 | src/main/ 64 | 65 | j2ee-apps/** 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | org.apache.maven.plugins 75 | maven-dependency-plugin 76 | 77 | 78 | 79 | store.war-copy 80 | package 81 | 82 | copy 83 | 84 | 85 | ${atg.module.home}/j2ee-apps/Storefront/store.war/WEB-INF/lib 86 | 87 | 88 | atg 89 | dspjspTaglib1_0 90 | ${atg.version} 91 | jar 92 | 93 | dspjspTaglib1_0.jar 94 | 95 | 96 | atg 97 | webui-preview-1_0 98 | ${atg.version} 99 | jar 100 | 101 | webui-preview-1_0.jar 102 | 103 | 104 | atg 105 | springtonucleus 106 | ${atg.version} 107 | jar 108 | 109 | springtonucleus.jar 110 | 111 | 112 | atg 113 | json-taglib-0.4 114 | ${atg.version} 115 | jar 116 | 117 | json-taglib-0.4.jar 118 | 119 | 120 | atg 121 | jstl-1.1 122 | ${atg.version} 123 | jar 124 | 125 | jstl.jar 126 | 127 | 128 | atg 129 | standard-1.1 130 | ${atg.version} 131 | jar 132 | 133 | standard.jar 134 | 135 | 136 | 137 | 138 | org.springframework 139 | spring-aop 140 | 3.0.1.RELEASE 141 | 142 | 143 | org.springframework 144 | spring-asm 145 | 3.0.1.RELEASE 146 | 147 | 148 | org.springframework 149 | spring-beans 150 | 3.0.1.RELEASE 151 | 152 | 153 | org.springframework 154 | spring-context 155 | 3.0.1.RELEASE 156 | 157 | 158 | org.springframework 159 | spring-core 160 | 3.0.1.RELEASE 161 | 162 | 163 | org.springframework 164 | spring-expression 165 | 3.0.1.RELEASE 166 | 167 | 168 | org.springframework 169 | spring-web 170 | 3.0.1.RELEASE 171 | 172 | 173 | 174 | 175 | 176 | 177 | storedocroot.war-copy 178 | package 179 | 180 | copy 181 | 182 | 183 | ${atg.module.home}/j2ee-apps/Storefront/storedocroot.war/WEB-INF/lib 184 | 185 | 186 | atg 187 | dspjspTaglib1_0 188 | ${atg.version} 189 | jar 190 | 191 | dspjspTaglib1_0.jar 192 | 193 | 194 | atg 195 | webui-preview-1_0 196 | ${atg.version} 197 | jar 198 | 199 | webui-preview-1_0.jar 200 | 201 | 202 | atg 203 | springtonucleus 204 | ${atg.version} 205 | jar 206 | 207 | springtonucleus.jar 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/Storefront/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | atg.crs.mavenbuild 7 | CRSMavenParent 8 | 1.0.0-SNAPSHOT 9 | ../pom.xml 10 | 11 | 12 | atg.crs.mavenbuild 13 | Storefront-Main 14 | 1.0.0-SNAPSHOT 15 | pom 16 | 17 | 18 | 19 | 20 | Storefront 21 | NoPublishing 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/Store/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | atg.crs.mavenbuild 6 | CRSMavenParent 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 11.2 13 | 14 | ${env.ATG_ROOT} 15 | 16 | ${atg.root}/MavenStore 17 | 18 | ${atg.crstest.home}/${module.dir.name} 19 | 20 | UTF-8 21 | 22 | 23 | 24 | ${maven.build.timestamp} 25 | yyyy-MM-dd HH:mm 26 | 27 | 28 | 123 29 | 30 | 31 | 32 | 33 | EStore 34 | Endeca 35 | Fulfillment 36 | KnowledgeBase 37 | Fluoroscope 38 | Recommendations 39 | Storefront 40 | 41 | 42 | 43 | 44 | 45 | atg 46 | ADC-classes 47 | ${atg.version} 48 | 49 | 50 | atg 51 | DAS-classes 52 | ${atg.version} 53 | 54 | 55 | atg 56 | DAS-servlet 57 | ${atg.version} 58 | 59 | 60 | atg 61 | DASUI-uiclasses 62 | ${atg.version} 63 | 64 | 65 | atg 66 | DCS-classes 67 | ${atg.version} 68 | 69 | 70 | atg 71 | DPS-classes 72 | ${atg.version} 73 | 74 | 75 | atg 76 | DSS-classes 77 | ${atg.version} 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | atg.crs.mavenbuild 87 | EStore 88 | 1.0.0-SNAPSHOT 89 | 90 | 91 | atg.crs.mavenbuild 92 | EStore-Versioned 93 | 1.0.0-SNAPSHOT 94 | 95 | 96 | atg.crs.mavenbuild 97 | EStore-International 98 | 1.0.0-SNAPSHOT 99 | 100 | 101 | commons-codec 102 | commons-codec 103 | 1.3 104 | 105 | 106 | 107 | atg 108 | p1234-fakehotfix 109 | ${atg.version} 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | src/main/java 120 | 121 | **/*.properties 122 | 123 | 124 | 125 | src/main/resources 126 | 127 | 128 | 129 | 130 | 131 | 132 | org.apache.maven.plugins 133 | maven-compiler-plugin 134 | 3.3 135 | 136 | 1.7 137 | 1.7 138 | 139 | 140 | 141 | 142 | org.apache.maven.plugins 143 | maven-resources-plugin 144 | 145 | true 146 | 147 | 148 | 149 | 150 | copy-module-manifest 151 | process-resources 152 | 153 | copy-resources 154 | 155 | 156 | ${atg.module.home} 157 | true 158 | 159 | 160 | src/main/module 161 | 162 | true 163 | 164 | 165 | 166 | 167 | 168 | 169 | copy-liveconfig-layer 170 | process-resources 171 | 172 | copy-resources 173 | 174 | 175 | ${atg.module.home} 176 | true 177 | 178 | 179 | src/main/ 180 | 181 | liveconfig/** 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | copy-configlayers 190 | process-resources 191 | 192 | copy-resources 193 | 194 | 195 | ${atg.module.home} 196 | true 197 | 198 | 199 | src/main/ 200 | 201 | configlayers/** 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | copy-j2ee-app 210 | process-resources 211 | 212 | copy-resources 213 | 214 | 215 | ${atg.module.home} 216 | true 217 | 218 | 219 | src/main/j2ee-apps 220 | 221 | */** 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | org.apache.maven.plugins 232 | maven-jar-plugin 233 | 2.6 234 | 235 | 236 | create-classes-jar 237 | process-classes 238 | 239 | jar 240 | 241 | 242 | true 243 | target/classes 244 | classes 245 | ${atg.module.home}/lib 246 | 247 | 248 | 249 | 250 | true 251 | 252 | 253 | ${maven.build.timestamp} 254 | 255 | 256 | 257 | 258 | 259 | create-config-jar 260 | process-classes 261 | 262 | jar 263 | 264 | 265 | true 266 | src/main/config 267 | config 268 | ${atg.module.home}/config 269 | 270 | 271 | true 272 | 273 | 274 | ${maven.build.timestamp} 275 | 276 | 277 | 278 | 279 | 280 | 281 | create-resources-jar 282 | process-classes 283 | 284 | jar 285 | 286 | 287 | true 288 | target/classes 289 | resources 290 | ${atg.module.home}/lib 291 | 292 | **/*.properties 293 | META-INF/* 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | org.apache.maven.plugins 305 | maven-dependency-plugin 306 | 2.10 307 | 308 | 309 | 310 | 311 | maven-clean-plugin 312 | 3.0.0 313 | 314 | 315 | 316 | org.apache.maven.plugins 317 | maven-resources-plugin 318 | 2.7 319 | 320 | 321 | 322 | com.oracle.atg.ateam 323 | atg-runAssembler-plugin 324 | 1.0 325 | 326 | 327 | 328 | com.oracle.weblogic 329 | wls-maven-plugin 330 | 12.1.3.0 331 | 332 | 333 | 334 | 335 | 336 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/copy-CRS-Files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ x${DYNAMO_ROOT} = x ]; then 4 | echo "Your DYNAMO_ROOT directory isn't set. Exiting" 5 | exit 1 6 | fi 7 | 8 | CRS_HOME=${DYNAMO_ROOT}/CommerceReferenceStore 9 | 10 | function mycp() 11 | { 12 | if [[ -z "$1" || -z "$2" ]]; then 13 | echo "Usage: mycp SOURCE... DIRECTORY" 14 | return 1; 15 | fi 16 | mkdir -p "$2" 17 | cp -r "$1" "$2" 18 | } 19 | 20 | # copy files from CRS to Maven build area 21 | mycp ${CRS_HOME}/Store/Endeca/liveconfig Store/Endeca/Endeca/src/main 22 | mycp ${CRS_HOME}/Store/Endeca/META-INF Store/Endeca/Endeca/src/main/module 23 | 24 | mycp ${CRS_HOME}/Store/Endeca/Assembler/configlayers Store/Endeca/Assembler/src/main 25 | mycp ${CRS_HOME}/Store/Endeca/Assembler/liveconfig Store/Endeca/Assembler/src/main 26 | mycp ${CRS_HOME}/Store/Endeca/Assembler/META-INF Store/Endeca/Assembler/src/main/module 27 | mycp ${CRS_HOME}/Store/Endeca/Assembler/src/config Store/Endeca/Assembler/src/main 28 | mycp ${CRS_HOME}/Store/Endeca/Assembler/src/Java/* Store/Endeca/Assembler/src/main/java 29 | 30 | mycp ${CRS_HOME}/Store/Endeca/Base/configlayers Store/Endeca/Base/src/main 31 | mycp ${CRS_HOME}/Store/Endeca/Base/liveconfig Store/Endeca/Base/src/main 32 | mycp ${CRS_HOME}/Store/Endeca/Base/META-INF Store/Endeca/Base/src/main/module 33 | mycp ${CRS_HOME}/Store/Endeca/Base/src/config Store/Endeca/Base/src/main 34 | 35 | mycp ${CRS_HOME}/Store/Endeca/Index/liveconfig Store/Endeca/Index/Index/src/main 36 | mycp ${CRS_HOME}/Store/Endeca/Index/META-INF Store/Endeca/Index/Index/src/main/module 37 | mycp ${CRS_HOME}/Store/Endeca/Index/src/config Store/Endeca/Index/Index/src/main 38 | mycp ${CRS_HOME}/Store/Endeca/Index/src/Java/* Store/Endeca/Index/Index/src/main/java 39 | 40 | mycp ${CRS_HOME}/Store/Endeca/Index/Versioned/liveconfig Store/Endeca/Index/Versioned/src/main 41 | mycp ${CRS_HOME}/Store/Endeca/Index/Versioned/META-INF Store/Endeca/Index/Versioned/src/main/module 42 | mycp ${CRS_HOME}/Store/Endeca/Index/Versioned/src/config Store/Endeca/Index/Versioned/src/main 43 | 44 | mycp ${CRS_HOME}/Store/Endeca/International/liveconfig Store/Endeca/International/International/src/main 45 | mycp ${CRS_HOME}/Store/Endeca/International/META-INF Store/Endeca/International/International/src/main/module 46 | 47 | mycp ${CRS_HOME}/Store/Endeca/International/Assembler/liveconfig Store/Endeca/International/Assembler/src/main 48 | mycp ${CRS_HOME}/Store/Endeca/International/Assembler/META-INF Store/Endeca/International/Assembler/src/main/module 49 | mycp ${CRS_HOME}/Store/Endeca/International/Assembler/src/config Store/Endeca/International/Assembler/src/main 50 | 51 | mycp ${CRS_HOME}/Store/Endeca/International/Base/liveconfig Store/Endeca/International/Base/src/main 52 | mycp ${CRS_HOME}/Store/Endeca/International/Base/META-INF Store/Endeca/International/Base/src/main/module 53 | mycp ${CRS_HOME}/Store/Endeca/International/Base/src/config Store/Endeca/International/Base/src/main 54 | 55 | mycp ${CRS_HOME}/Store/Endeca/International/Index/liveconfig Store/Endeca/International/Index/src/main 56 | mycp ${CRS_HOME}/Store/Endeca/International/Index/META-INF Store/Endeca/International/Index/src/main/module 57 | mycp ${CRS_HOME}/Store/Endeca/International/Index/src/config Store/Endeca/International/Index/src/main 58 | mycp ${CRS_HOME}/Store/Endeca/International/Index/src/Java/* Store/Endeca/International/Index/src/main/java 59 | 60 | mycp ${CRS_HOME}/Store/Endeca/International/Reader/liveconfig Store/Endeca/International/Reader/src/main 61 | mycp ${CRS_HOME}/Store/Endeca/International/Reader/META-INF Store/Endeca/International/Reader/src/main/module 62 | mycp ${CRS_HOME}/Store/Endeca/International/Reader/src/config Store/Endeca/International/Reader/src/main 63 | mycp ${CRS_HOME}/Store/Endeca/International/Reader/src/Java/* Store/Endeca/International/Reader/src/main/java 64 | 65 | mycp ${CRS_HOME}/Store/Endeca/Reader/liveconfig Store/Endeca/Reader/src/main 66 | mycp ${CRS_HOME}/Store/Endeca/Reader/META-INF Store/Endeca/Reader/src/main/module 67 | mycp ${CRS_HOME}/Store/Endeca/Reader/src/config Store/Endeca/Reader/src/main 68 | mycp ${CRS_HOME}/Store/Endeca/Reader/src/Java/* Store/Endeca/Reader/Index/src/main/java 69 | 70 | mycp ${CRS_HOME}/Store/EStore/configlayers Store/EStore/EStore/src/main 71 | mycp ${CRS_HOME}/Store/EStore/liveconfig Store/EStore/EStore/src/main 72 | mycp ${CRS_HOME}/Store/EStore/META-INF Store/EStore/EStore/src/main/module 73 | mycp ${CRS_HOME}/Store/EStore/src/config Store/EStore/EStore/src/main 74 | mycp ${CRS_HOME}/Store/EStore/src/Java/* Store/EStore/EStore/src/main/java 75 | mycp ${CRS_HOME}/Store/EStore/admin Store/EStore/EStore/src/main 76 | mycp ${CRS_HOME}/Store/EStore/keystore Store/EStore/EStore/src/main 77 | 78 | mycp ${CRS_HOME}/Store/EStore/International/liveconfig Store/EStore/International/International/src/main 79 | mycp ${CRS_HOME}/Store/EStore/International/META-INF Store/EStore/International/International/src/main/module 80 | mycp ${CRS_HOME}/Store/EStore/International/src/config Store/EStore/International/International/src/main 81 | mycp ${CRS_HOME}/Store/EStore/International/src/Java/* Store/EStore/International/International/src/main/java 82 | 83 | mycp ${CRS_HOME}/Store/EStore/International/Versioned/configlayers Store/EStore/International/Versioned/src/main 84 | mycp ${CRS_HOME}/Store/EStore/International/Versioned/liveconfig Store/EStore/International/Versioned/src/main 85 | mycp ${CRS_HOME}/Store/EStore/International/Versioned/META-INF Store/EStore/International/Versioned/src/main/module 86 | mycp ${CRS_HOME}/Store/EStore/International/Versioned/src/config Store/EStore/International/Versioned/src/main 87 | mycp ${CRS_HOME}/Store/EStore/International/Versioned/src/Java/* Store/EStore/International/Versioned/src/main/java 88 | 89 | mycp ${CRS_HOME}/Store/EStore/Versioned/configlayers Store/EStore/Versioned/Versioned/src/main 90 | mycp ${CRS_HOME}/Store/EStore/Versioned/liveconfig Store/EStore/Versioned/Versioned/src/main 91 | mycp ${CRS_HOME}/Store/EStore/Versioned/META-INF Store/EStore/Versioned/Versioned/src/main/module 92 | mycp ${CRS_HOME}/Store/EStore/Versioned/src/config Store/EStore/Versioned/Versioned/src/main 93 | mycp ${CRS_HOME}/Store/EStore/Versioned/src/Java/* Store/EStore/Versioned/Versioned/src/main/java 94 | 95 | mycp ${CRS_HOME}/Store/EStore/Versioned/j2ee-apps Store/EStore/Versioned/J2EE-APP/src/main 96 | 97 | mycp ${CRS_HOME}/Store/Fluoroscope/liveconfig Store/Fluoroscope/Fluoroscope/src/main 98 | mycp ${CRS_HOME}/Store/Fluoroscope/META-INF Store/Fluoroscope/Fluoroscope/src/main/module 99 | mycp ${CRS_HOME}/Store/Fluoroscope/src/config Store/Fluoroscope/Fluoroscope/src/main 100 | mycp ${CRS_HOME}/Store/Fluoroscope/src/Java/* Store/Fluoroscope/Fluoroscope/src/main/java 101 | 102 | mycp ${CRS_HOME}/Store/Fluoroscope/j2ee-apps Store/Fluoroscope/J2EE-APP/src/main 103 | 104 | mycp ${CRS_HOME}/Store/Fulfillment/liveconfig Store/Fulfillment/src/main 105 | mycp ${CRS_HOME}/Store/Fulfillment/META-INF Store/Fulfillment/src/main/module 106 | mycp ${CRS_HOME}/Store/Fulfillment/src/config Store/Fulfillment/src/main 107 | mycp ${CRS_HOME}/Store/Fulfillment/src/Java/* Store/Fulfillment/src/main/java 108 | 109 | mycp ${CRS_HOME}/Store/KnowledgeBase/liveconfig Store/KnowledgeBase/KnowledgeBase/src/main 110 | mycp ${CRS_HOME}/Store/KnowledgeBase/META-INF Store/KnowledgeBase/KnowledgeBase/src/main/module 111 | mycp ${CRS_HOME}/Store/KnowledgeBase/src/config Store/KnowledgeBase/KnowledgeBase/src/main 112 | mycp ${CRS_HOME}/Store/KnowledgeBase/src/Java/* Store/KnowledgeBase/KnowledgeBase/src/main/java 113 | 114 | mycp ${CRS_HOME}/Store/KnowledgeBase/International/liveconfig Store/KnowledgeBase/International/src/main 115 | mycp ${CRS_HOME}/Store/KnowledgeBase/International/META-INF Store/KnowledgeBase/International/src/main/module 116 | mycp ${CRS_HOME}/Store/KnowledgeBase/International/src/config Store/KnowledgeBase/International/src/main 117 | 118 | mycp ${CRS_HOME}/Store/Recommendations/liveconfig Store/Recommendations/Recommendations/src/main 119 | mycp ${CRS_HOME}/Store/Recommendations/META-INF Store/Recommendations/Recommendations/src/main/module 120 | mycp ${CRS_HOME}/Store/Recommendations/src/config Store/Recommendations/Recommendations/src/main 121 | mycp ${CRS_HOME}/Store/Recommendations/src/Java/* Store/Recommendations/Recommendations/src/main/java 122 | 123 | mycp ${CRS_HOME}/Store/Recommendations/International/liveconfig Store/Recommendations/International/src/main 124 | mycp ${CRS_HOME}/Store/Recommendations/International/META-INF Store/Recommendations/International/src/main/module 125 | mycp ${CRS_HOME}/Store/Recommendations/International/src/config Store/Recommendations/International/src/main 126 | 127 | mycp ${CRS_HOME}/Store/Storefront/liveconfig Store/Storefront/Storefront/src/main 128 | mycp ${CRS_HOME}/Store/Storefront/META-INF Store/Storefront/Storefront/src/main/module 129 | mycp ${CRS_HOME}/Store/Storefront/src/Java/* Store/Storefront/Storefront/src/main/java 130 | mycp ${CRS_HOME}/Store/Storefront/j2ee-apps Store/Storefront/Storefront/src/main 131 | 132 | mycp ${CRS_HOME}/Store/Storefront/NoPublishing/liveconfig Store/Storefront/NoPublishing/NoPublishing/src/main 133 | mycp ${CRS_HOME}/Store/Storefront/NoPublishing/META-INF Store/Storefront/NoPublishing/NoPublishing/src/main/module 134 | mycp ${CRS_HOME}/Store/Storefront/NoPublishing/src/config Store/Storefront/NoPublishing/NoPublishing/src/main 135 | 136 | mycp ${CRS_HOME}/Store/Storefront/NoPublishing/International/liveconfig Store/Storefront/NoPublishing/International/src/main 137 | mycp ${CRS_HOME}/Store/Storefront/NoPublishing/International/META-INF Store/Storefront/NoPublishing/International/src/main/module 138 | mycp ${CRS_HOME}/Store/Storefront/NoPublishing/International/src/config Store/Storefront/NoPublishing/International/src/main 139 | 140 | 141 | # Change module names from Store.EStore to MavenStore.EStore 142 | 143 | function changeModuleName() 144 | { 145 | if [ -z "$1" ]; then 146 | echo "Usage: changeModuleName SOURCE" 147 | return 1; 148 | fi 149 | sed -i '/^ATG-Required/s/Store\./MavenStore\./g' ${1} 150 | sed -i '$ a ATG-Build: ${build.number}' ${1} 151 | } 152 | 153 | 154 | changeModuleName Store/Endeca/Assembler/src/main/module/META-INF/MANIFEST.MF 155 | changeModuleName Store/Endeca/Base/src/main/module/META-INF/MANIFEST.MF 156 | changeModuleName Store/Endeca/Index/Index/src/main/module/META-INF/MANIFEST.MF 157 | changeModuleName Store/Endeca/International/Assembler/src/main/module/META-INF/MANIFEST.MF 158 | changeModuleName Store/Endeca/International/Base/src/main/module/META-INF/MANIFEST.MF 159 | changeModuleName Store/Endeca/International/Index/src/main/module/META-INF/MANIFEST.MF 160 | changeModuleName Store/EStore/Versioned/Versioned/src/main/module/META-INF/MANIFEST.MF 161 | changeModuleName Store/EStore/International/Versioned/src/main/module/META-INF/MANIFEST.MF 162 | changeModuleName Store/EStore/International/International/src/main/module/META-INF/MANIFEST.MF 163 | changeModuleName Store/Fulfillment/src/main/module/META-INF/MANIFEST.MF 164 | changeModuleName Store/KnowledgeBase/KnowledgeBase/src/main/module/META-INF/MANIFEST.MF 165 | changeModuleName Store/KnowledgeBase/International/src/main/module/META-INF/MANIFEST.MF 166 | changeModuleName Store/Storefront/Storefront/src/main/module/META-INF/MANIFEST.MF 167 | changeModuleName Store/Endeca/Index/Versioned/src/main/module/META-INF/MANIFEST.MF 168 | changeModuleName Store/Endeca/International/Reader/src/main/module/META-INF/MANIFEST.MF 169 | changeModuleName Store/Endeca/International/International/src/main/module/META-INF/MANIFEST.MF 170 | changeModuleName Store/Endeca/Endeca/src/main/module/META-INF/MANIFEST.MF 171 | changeModuleName Store/EStore/Versioned/Versioned/src/main/module/META-INF/MANIFEST.MF 172 | changeModuleName Store/Recommendations/International/src/main/module/META-INF/MANIFEST.MF 173 | changeModuleName Store/Storefront/NoPublishing/International/src/main/module/META-INF/MANIFEST.MF 174 | changeModuleName Store/Storefront/NoPublishing/NoPublishing/src/main/module/META-INF/MANIFEST.MF 175 | 176 | sed -i 's/Store.EStore/MavenStore.EStore/' Store/EStore/EStore/src/main/config/atg/store/security/crypto/SecretKeyStoreManager.properties 177 | sed -i 's/Store.EStore/MavenStore.EStore/' Store/EStore/EStore/src/main/config/atg/modules/Store.properties 178 | 179 | sed -i '$ a Build-Date: ${timestamp}' Store/EStore/EStore/src/main/module/META-INF/MANIFEST.MF 180 | 181 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/crs-maven-setup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oracle/atg-build-tools/63d547651169e35f2e36ed7fe94f47d6998c5a9f/atg-crs-11.2-maven/crs-maven-setup.pdf -------------------------------------------------------------------------------- /atg-crs-11.2-maven/images/maven-to-atg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oracle/atg-build-tools/63d547651169e35f2e36ed7fe94f47d6998c5a9f/atg-crs-11.2-maven/images/maven-to-atg.jpg -------------------------------------------------------------------------------- /atg-crs-11.2-maven/install-atglibs-maven.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ATG_VERSION=11.2 4 | ENDECA_NAV_VERSION=6.5.2 5 | 6 | if [ x${DYNAMO_ROOT} = x ]; then 7 | echo "Your DYNAMO_ROOT directory isn't set. Exiting" 8 | exit 1 9 | fi 10 | 11 | 12 | mvn install:install-file \ 13 | -DgroupId=atg \ 14 | -DartifactId=webui-preview-1_0 \ 15 | -Dpackaging=jar \ 16 | -Dversion=${ATG_VERSION} \ 17 | -Dfile=${DYNAMO_ROOT}/WebUI/Preview/taglibs/webui-preview/lib/webui-preview-1_0.jar 18 | 19 | mvn install:install-file \ 20 | -DgroupId=atg \ 21 | -DartifactId=springtonucleus \ 22 | -Dpackaging=jar \ 23 | -Dversion=${ATG_VERSION} \ 24 | -Dfile=${DYNAMO_ROOT}/DAF/spring/lib/springtonucleus.jar 25 | 26 | mvn install:install-file \ 27 | -DgroupId=atg \ 28 | -DartifactId=dspjspTaglib1_0 \ 29 | -Dpackaging=jar \ 30 | -Dversion=${ATG_VERSION} \ 31 | -Dfile=${DYNAMO_ROOT}/DAS/taglib/dspjspTaglib/1.0/lib/dspjspTaglib1_0.jar 32 | 33 | mvn install:install-file \ 34 | -DgroupId=atg \ 35 | -DartifactId=ADC-classes \ 36 | -Dpackaging=jar \ 37 | -Dversion=${ATG_VERSION} \ 38 | -Dfile=${DYNAMO_ROOT}/ADC/lib/classes.jar 39 | 40 | mvn install:install-file \ 41 | -DgroupId=atg \ 42 | -DartifactId=DAS-classes \ 43 | -Dpackaging=jar \ 44 | -Dversion=${ATG_VERSION} \ 45 | -Dfile=${DYNAMO_ROOT}/DAS/lib/classes.jar 46 | 47 | mvn install:install-file \ 48 | -DgroupId=atg \ 49 | -DartifactId=DAS-resources \ 50 | -Dpackaging=jar \ 51 | -Dversion=${ATG_VERSION} \ 52 | -Dfile=${DYNAMO_ROOT}/DAS/lib/resources.jar 53 | 54 | mvn install:install-file \ 55 | -DgroupId=atg \ 56 | -DartifactId=DPS-resources \ 57 | -Dpackaging=jar \ 58 | -Dversion=${ATG_VERSION} \ 59 | -Dfile=${DYNAMO_ROOT}/DPS/lib/resources.jar 60 | 61 | mvn install:install-file \ 62 | -DgroupId=atg \ 63 | -DartifactId=DSS-resources \ 64 | -Dpackaging=jar \ 65 | -Dversion=${ATG_VERSION} \ 66 | -Dfile=${DYNAMO_ROOT}/DSS/lib/resources.jar 67 | 68 | mvn install:install-file \ 69 | -DgroupId=atg \ 70 | -DartifactId=DCS-resources \ 71 | -Dpackaging=jar \ 72 | -Dversion=${ATG_VERSION} \ 73 | -Dfile=${DYNAMO_ROOT}/DCS/lib/resources.jar 74 | 75 | mvn install:install-file \ 76 | -DgroupId=atg \ 77 | -DartifactId=DAS-servlet \ 78 | -Dpackaging=jar \ 79 | -Dversion=${ATG_VERSION} \ 80 | -Dfile=${DYNAMO_ROOT}/DAS/lib/servlet.jar 81 | 82 | mvn install:install-file \ 83 | -DgroupId=atg \ 84 | -DartifactId=DASUI-uiclasses \ 85 | -Dpackaging=jar \ 86 | -Dversion=${ATG_VERSION} \ 87 | -Dfile=${DYNAMO_ROOT}/DAS-UI/lib/uiclasses.jar 88 | 89 | mvn install:install-file \ 90 | -DgroupId=atg \ 91 | -DartifactId=DCS-classes \ 92 | -Dpackaging=jar \ 93 | -Dversion=${ATG_VERSION} \ 94 | -Dfile=${DYNAMO_ROOT}/DCS/lib/classes.jar 95 | 96 | mvn install:install-file \ 97 | -DgroupId=atg \ 98 | -DartifactId=DPS-classes \ 99 | -Dpackaging=jar \ 100 | -Dversion=${ATG_VERSION} \ 101 | -Dfile=${DYNAMO_ROOT}/DPS/lib/classes.jar 102 | 103 | mvn install:install-file \ 104 | -DgroupId=atg \ 105 | -DartifactId=DSS-classes \ 106 | -Dpackaging=jar \ 107 | -Dversion=${ATG_VERSION} \ 108 | -Dfile=${DYNAMO_ROOT}/DSS/lib/classes.jar 109 | 110 | mvn install:install-file \ 111 | -DgroupId=atg \ 112 | -DartifactId=DCS-UI-classes \ 113 | -Dpackaging=jar \ 114 | -Dversion=${ATG_VERSION} \ 115 | -Dfile=${DYNAMO_ROOT}/DCS-UI/lib/classes.jar 116 | 117 | mvn install:install-file \ 118 | -DgroupId=atg \ 119 | -DartifactId=BCC-classes \ 120 | -Dpackaging=jar \ 121 | -Dversion=${ATG_VERSION} \ 122 | -Dfile=${DYNAMO_ROOT}/BCC/lib/classes.jar 123 | 124 | mvn install:install-file \ 125 | -DgroupId=atg \ 126 | -DartifactId=SiteAdmin-classes \ 127 | -Dpackaging=jar \ 128 | -Dversion=${ATG_VERSION} \ 129 | -Dfile=${DYNAMO_ROOT}/SiteAdmin/lib/classes.jar 130 | 131 | mvn install:install-file \ 132 | -DgroupId=atg \ 133 | -DartifactId=DPS-UI-classes \ 134 | -Dpackaging=jar \ 135 | -Dversion=${ATG_VERSION} \ 136 | -Dfile=${DYNAMO_ROOT}/DPS-UI/lib/classes.jar 137 | 138 | mvn install:install-file \ 139 | -DgroupId=atg \ 140 | -DartifactId=AssetUI-classes \ 141 | -Dpackaging=jar \ 142 | -Dversion=${ATG_VERSION} \ 143 | -Dfile=${DYNAMO_ROOT}/AssetUI/lib/classes.jar 144 | 145 | 146 | mvn install:install-file \ 147 | -DgroupId=atg \ 148 | -DartifactId=json-taglib-0.4 \ 149 | -Dpackaging=jar \ 150 | -Dversion=${ATG_VERSION} \ 151 | -Dfile=${DYNAMO_ROOT}/DAS/taglib/json/0.4/lib/json-taglib-0.4.jar 152 | 153 | mvn install:install-file \ 154 | -DgroupId=atg \ 155 | -DartifactId=jstl-1.1 \ 156 | -Dpackaging=jar \ 157 | -Dversion=${ATG_VERSION} \ 158 | -Dfile=${DYNAMO_ROOT}/DAS/taglib/jstl/1.1/lib/jstl.jar 159 | 160 | mvn install:install-file \ 161 | -DgroupId=atg \ 162 | -DartifactId=standard-1.1 \ 163 | -Dpackaging=jar \ 164 | -Dversion=${ATG_VERSION} \ 165 | -Dfile=${DYNAMO_ROOT}/DAS/taglib/jstl/1.1/lib/standard.jar 166 | 167 | mvn install:install-file \ 168 | -DgroupId=atg \ 169 | -DartifactId=DAF-Search-Index \ 170 | -Dpackaging=jar \ 171 | -Dversion=${ATG_VERSION} \ 172 | -Dfile=${DYNAMO_ROOT}/DAF/Search/Index/lib/classes.jar 173 | 174 | mvn install:install-file \ 175 | -DgroupId=atg \ 176 | -DartifactId=DAF-Search-Base \ 177 | -Dpackaging=jar \ 178 | -Dversion=${ATG_VERSION} \ 179 | -Dfile=${DYNAMO_ROOT}/DAF/Search/Base/lib/classes.jar 180 | 181 | mvn install:install-file \ 182 | -DgroupId=atg \ 183 | -DartifactId=DAF-Search-Common \ 184 | -Dpackaging=jar \ 185 | -Dversion=${ATG_VERSION} \ 186 | -Dfile=${DYNAMO_ROOT}/DAF/Search/common/lib/classes.jar 187 | 188 | mvn install:install-file \ 189 | -DgroupId=atg \ 190 | -DartifactId=WebUI-classes \ 191 | -Dpackaging=jar \ 192 | -Dversion=${ATG_VERSION} \ 193 | -Dfile=${DYNAMO_ROOT}/WebUI/lib/classes.jar 194 | 195 | mvn install:install-file \ 196 | -DgroupId=atg \ 197 | -DartifactId=DAF-Endeca-Assembler \ 198 | -Dpackaging=jar \ 199 | -Dversion=${ATG_VERSION} \ 200 | -Dfile=${DYNAMO_ROOT}/DAF/Endeca/Assembler/lib/classes.jar 201 | 202 | mvn install:install-file \ 203 | -DgroupId=atg \ 204 | -DartifactId=endeca-assembler-core \ 205 | -Dpackaging=jar \ 206 | -Dversion=${ATG_VERSION} \ 207 | -Dfile=${DYNAMO_ROOT}/DAF/Endeca/Assembler/lib/endeca_assembler_core-${ATG_VERSION}.0.jar 208 | 209 | mvn install:install-file \ 210 | -DgroupId=atg \ 211 | -DartifactId=endeca-assembler-navigation \ 212 | -Dpackaging=jar \ 213 | -Dversion=${ATG_VERSION} \ 214 | -Dfile=${DYNAMO_ROOT}/DAF/Endeca/Assembler/lib/endeca_assembler_navigation-${ATG_VERSION}.0.jar 215 | 216 | # The naming of this jar does not match the rest of the ATG libraries. Keeping the maven version as 11.1 for consistency since it is part of the 11.1 product 217 | mvn install:install-file \ 218 | -DgroupId=atg \ 219 | -DartifactId=endeca-navigation \ 220 | -Dpackaging=jar \ 221 | -Dversion=${ATG_VERSION} \ 222 | -Dfile=${DYNAMO_ROOT}/DAF/Endeca/Assembler/lib/endeca_navigation-${ENDECA_NAV_VERSION}.jar 223 | 224 | 225 | 226 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/install-fake-hotfix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ATG_VERSION=11.2 4 | 5 | # add hotfix to our maven repository. Keep the version number the same as the version of the ATG installation 6 | # Different versions of a hotfix can exist for different versions of ATG 7 | mvn install:install-file \ 8 | -DgroupId=atg \ 9 | -DartifactId=p1234-fakehotfix \ 10 | -Dpackaging=jar \ 11 | -Dversion=${ATG_VERSION} \ 12 | -Dfile=p1234-fakehotfix.jar 13 | 14 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/install-wls-maven.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ x${MW_HOME} = x ]; then 4 | echo "Your MW_HOME directory isn't set. Exiting" 5 | exit 1 6 | fi 7 | 8 | # This is the maven weblogic plugin. The install will vary depending on your version of WLS 9 | # This is for Weblogic 12.1. Refer to the documentation for your specific version for instructions. 10 | cd ${MW_HOME}/wlserver/server/lib 11 | mvn install 12 | mvn install:install-file -Dfile=wls-maven-plugin.jar -DpomFile=pom.xml 13 | 14 | -------------------------------------------------------------------------------- /atg-crs-11.2-maven/p1234-fakehotfix.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oracle/atg-build-tools/63d547651169e35f2e36ed7fe94f47d6998c5a9f/atg-crs-11.2-maven/p1234-fakehotfix.jar -------------------------------------------------------------------------------- /atg-maven-plugin/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to atg-maven-plugin 2 | 3 | *Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.* 4 | 5 | Pull requests can be made under 6 | [The Oracle Contributor Agreement](https://www.oracle.com/technetwork/community/oca-486395.html) 7 | (OCA). 8 | 9 | 10 | For pull requests to be accepted, the bottom of your 11 | commit message must have the following line using your name and 12 | e-mail address as it appears in the OCA Signatories list. 13 | 14 | ``` 15 | Signed-off-by: Your Name 16 | ``` 17 | 18 | This can be automatically added to pull requests by committing with: 19 | 20 | ``` 21 | git commit --signoff 22 | ```` 23 | 24 | Only pull requests from committers that can be verified as having 25 | signed the OCA can be accepted. 26 | -------------------------------------------------------------------------------- /atg-maven-plugin/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Oracle 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /atg-maven-plugin/README.MD: -------------------------------------------------------------------------------- 1 | # Maven plugin to build ear files with ATG runAssembler. 2 | 3 | 4 | ### System requirements: 5 | * Oracle ATG Commerce 9.4, 10.x, or 11.x 6 | * Java jdk1.6 or jdk 1.7 7 | * Maven 2.x or 3.x. Plugin had been tested with 2.2.1, 3.2.5 and 3.3.3 8 | 9 | The version of maven used by the plugin pom itself is 2.2.1, and should not be changed for compatibility. 10 | 11 | Note that not all arguments available in this plugin are applicable to all versions of ATG. 12 | Make sure you read the Platform Programming Guide, and look at the runAssembler options applicable to the version 13 | of Commerce you are using. 14 | 15 | 16 | ## Installation instructions 17 | 18 | 1. From the directory this README is in, run "mvn install" 19 | This will install the plugin to your local maven repository. 20 | If you have a remote, shared maven repository, install the plugin through your normal process. 21 | 22 | 2. Add the plugin to your project pom. 23 | The maven goal for this plugin in runAssembler. 24 | You will find working examples to build ear files in the src/sample-projects tree. 25 | 26 | To execute the sample projects, cd to one of the project folders (i.e. src/sample-projects/linux/crsBCCExample) 27 | These examples are tied to the maven package phase. You can run them with "mvn install" as an example. 28 | Or, if you wish to call the plugin directly, execute: 29 | mvn com.oracle.atg.ateam:atg-runAssembler-plugin:runAssembler 30 | 31 | There are samples for windows and linux, with the only difference being the path the ear file is built to. 32 | For linux, it builds to /tmp 33 | For windows, it builds to c:\temp 34 | You can change these to match your system if needed. 35 | 36 | 37 | Plugin usage: add to your pom as follows. Look at the sample projects for examples with options filled in. 38 | 39 | 40 | com.oracle.atg.ateam 41 | atg-runAssembler-plugin 42 | 1.0 43 | 44 | Add config options here 45 | 46 | 47 | 48 | 49 | ## Plugin options: 50 | 51 | STRING Required. This is the path and name of the ear to be generated 52 | STRING Required. Modules passed to runAssembler (-m flag) 53 | STRING Optional. Adds -add-ear-file with value you enter here 54 | BOOLEAN Optional. Adds -classesonly flag 55 | BOOLEAN Optional. Adds -collapse-class-path flag 56 | STRING Optional. Adds -context-roots-file and value you enter here 57 | STRING Optional. Adds -displayname flag and value you enter here 58 | BOOLEAN Optional. Adds -distributable flag 59 | BOOLEAN Optional. Adds -jardirs flag 60 | BOOLEAN Optional. Adds -jboss flag (ATG 11 only) 61 | STRING STRING Optional. Adds -layer flag and values you enter. Value are space separated. 62 | BOOLEAN Optional. Adds -liveconfig flag 63 | BOOLEAN Optional. Adds -nofix flag 64 | BOOLEAN Optional. Adds -overwrite flag 65 | BOOLEAN Optional. Adds -pack flag 66 | STRING,STRING Optional. Adds -prependJars flag and values you enter. Value are comma separated. 67 | BOOLEAN Optional. Adds -run-in-place flag 68 | STRING Optional. Adds -server flag and value you enter. 69 | BOOLEAN Optional. Adds -standalone flag 70 | 71 | 72 | ### Special options: 73 | 74 | STRING Optional. Sets the path to DYNAMO_HOME. By default, this uses your DYNAMO_HOME environment variable 75 | STRING Optional. Sets the path to runAssembler relative to DYNAMO_HOME. This is set to bin/runAssembler by default 76 | *See the note below on assemblerPath. 77 | 78 | STRING 79 | passThroughCommand is a special case allowing you to directly pass your own build flags to runAssembler. 80 | Using this option causes all other config options to be ignored, except dynamoHome and assemblerPath. 81 | 82 | 83 | ## Notes: 84 | The plugin is designed to work on linux and windows, and detects which operating system it is being run on. 85 | When Windows is detected, the .bat extension is automatically appended to the runAssembler command. 86 | So on windows, the default value of bin/runAssembler will be changed to bin/runAssembler.bat at runtime. 87 | The only value you should have to change for the same pom setup to work between operating systems is the path to build the ear to. 88 | 89 | ## Contributing 90 | 91 | atg-maven-plugin is an open source project. See 92 | [CONTRIBUTING](https://github.com/oracle/atg-maven-plugin/tree/master/CONTRIBUTING.md) 93 | for details. 94 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /atg-maven-plugin/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | com.oracle.atg.ateam 5 | atg-runAssembler-plugin 6 | maven-plugin 7 | 1.0 8 | atg-runAssembler-plugin 9 | 10 | 11 | UTF-8 12 | UTF-8 13 | 2.2.1 14 | 15 | 16 | 17 | 18 | org.apache.maven.plugin-tools 19 | maven-plugin-annotations 20 | 3.4 21 | provided 22 | 23 | 24 | 25 | org.apache.maven 26 | maven-plugin-api 27 | ${mavenVersion} 28 | 29 | 30 | org.apache.maven 31 | maven-artifact 32 | ${mavenVersion} 33 | 34 | 35 | org.apache.maven 36 | maven-core 37 | ${mavenVersion} 38 | 39 | 40 | org.apache.maven.reporting 41 | maven-reporting-api 42 | 43 | 44 | org.apache.maven.wagon 45 | wagon-file 46 | 47 | 48 | org.apache.maven.wagon 49 | wagon-http-lightweight 50 | 51 | 52 | org.apache.maven.wagon 53 | wagon-ssh 54 | 55 | 56 | org.apache.maven.wagon 57 | wagon-ssh-external 58 | 59 | 60 | commons-cli 61 | commons-cli 62 | 63 | 64 | classworlds 65 | classworlds 66 | 67 | 68 | org.codehaus.plexus 69 | plexus-container-default 70 | 71 | 72 | org.codehaus.plexus 73 | plexus-interactivity-api 74 | 75 | 76 | 77 | 78 | org.codehaus.plexus 79 | plexus-utils 80 | 2.0.5 81 | 82 | 83 | org.apache.maven.plugin-testing 84 | maven-plugin-testing-harness 85 | 2.0-alpha-1 86 | test 87 | 88 | 89 | junit 90 | junit 91 | 4.13.1 92 | test 93 | 94 | 95 | org.mockito 96 | mockito-core 97 | 1.9.5 98 | test 99 | 100 | 101 | org.apache.commons 102 | commons-lang3 103 | 3.3 104 | 105 | 106 | 107 | 108 | 109 | 110 | org.apache.maven.plugins 111 | maven-compiler-plugin 112 | 113 | 1.6 114 | 1.6 115 | 116 | 117 | 119 | 120 | org.eclipse.m2e 121 | lifecycle-mapping 122 | 1.0.0 123 | 124 | 125 | 126 | 127 | 128 | 129 | org.apache.maven.plugins 130 | 131 | 132 | maven-plugin-plugin 133 | 134 | 135 | [3.2,) 136 | 137 | 138 | descriptor 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/main/java/com/oracle/atg/ateam/RunAssemblerMojo.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015, Oracle Corporation 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without modification, are permitted provided 6 | * that the following conditions are met: 7 | * 8 | * * Redistributions of source code must retain the above copyright notice, this list of 9 | * conditions and the following disclaimer. 10 | * 11 | * * Redistributions in binary form must reproduce the above copyright notice, this list 12 | * of conditions and the following disclaimer in the documentation and/or other materials 13 | * provided with the distribution. 14 | * 15 | * * Neither the name of Oracle nor the names of its contributors may be used to endorse or 16 | * promote products derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED 19 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 20 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ORACLE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 21 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 22 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | */ 26 | package com.oracle.atg.ateam; 27 | 28 | import java.io.File; 29 | 30 | import org.apache.commons.lang3.StringUtils; 31 | import org.apache.commons.lang3.SystemUtils; 32 | import org.apache.maven.plugin.AbstractMojo; 33 | import org.apache.maven.plugin.MojoExecutionException; 34 | import org.apache.maven.plugin.MojoFailureException; 35 | import org.codehaus.plexus.util.cli.CommandLineException; 36 | import org.codehaus.plexus.util.cli.CommandLineUtils; 37 | import org.codehaus.plexus.util.cli.Commandline; 38 | import org.codehaus.plexus.util.cli.StreamConsumer; 39 | 40 | /** 41 | * @author Michael Shanley 42 | * @version 1.0 43 | * 44 | * @goal runAssembler 45 | */ 46 | public class RunAssemblerMojo extends AbstractMojo { 47 | 48 | /** 49 | * Path to DYNAMO_HOME 50 | * 51 | * @parameter default-value="${env.DYNAMO_HOME}" 52 | * @required 53 | */ 54 | private String dynamoHome; 55 | 56 | /** 57 | * Path to runAssembler 58 | * 59 | * @parameter default-value="bin/runAssembler" 60 | * @required 61 | */ 62 | private String assemblerPath; 63 | 64 | /** 65 | * The path and name of the EAR file to generate. 66 | * 67 | * @parameter 68 | */ 69 | private String destinationEar; 70 | 71 | /** 72 | * What modules to include in the EAR 73 | * 74 | * @parameter 75 | * @required 76 | */ 77 | private String moduleNames; 78 | 79 | /** 80 | * -add-ear-file option 81 | * 82 | * @parameter 83 | */ 84 | private String addEarFile; 85 | 86 | /** 87 | * -classesonly option 88 | * 89 | * @parameter 90 | */ 91 | private boolean classesOnly; 92 | 93 | /** 94 | * -collapse-class-path option 95 | * 96 | * @parameter 97 | */ 98 | private boolean collapseClassPath; 99 | 100 | /** 101 | * -context-roots-file option 102 | * 103 | * @parameter 104 | */ 105 | private String contextRootsFile; 106 | 107 | /** 108 | * -displayname option 109 | * 110 | * @parameter 111 | */ 112 | private String displayName; 113 | 114 | /** 115 | * adds distributable tag to web.xml for JBoss 116 | * 117 | * @parameter 118 | */ 119 | private boolean distributable; 120 | 121 | /** 122 | * -jardirs option 123 | * 124 | * @parameter 125 | */ 126 | private boolean jarDirs; 127 | 128 | /** 129 | * For ATG 11 and JBoss. Does not exist in ATG 10.x 130 | * 131 | * @parameter 132 | */ 133 | private boolean jboss; 134 | 135 | /** 136 | * Enabled one or more config layers. -layer option -layer must precede 137 | * –standalone and –m 138 | * 139 | * @parameter 140 | */ 141 | private String layer; 142 | 143 | /** 144 | * Enable the liveconfig layer –liveconfig must follow the runAssembler 145 | * command 146 | * 147 | * @parameter default-value="false" 148 | */ 149 | private boolean liveconfig; 150 | 151 | /** 152 | * -nofix option 153 | * 154 | * @parameter 155 | */ 156 | private boolean noFix; 157 | 158 | /** 159 | * Whether to overwrite the ear 160 | * 161 | * @parameter 162 | */ 163 | private boolean overwriteEar; 164 | 165 | /** 166 | * Should the ear be packed 167 | * 168 | * @parameter 169 | */ 170 | private boolean pack; 171 | 172 | /** 173 | * PrependJars - archive that needs to be prepended to the ear. 174 | * 175 | * @parameter 176 | */ 177 | private String prependJars; 178 | 179 | /** 180 | * add run-in-place option - for JBoss only 181 | * 182 | * @parameter 183 | */ 184 | private boolean runInPlace; 185 | 186 | /** 187 | * ATG serverName layer 188 | * 189 | * @parameter 190 | */ 191 | private String serverName; 192 | 193 | /** 194 | * add -standalone option. must precede –m 195 | * 196 | * @parameter 197 | */ 198 | private boolean standalone; 199 | 200 | /** 201 | * Allow command override 202 | * 203 | * @parameter 204 | */ 205 | private String passThroughCommand; 206 | 207 | /* 208 | * (non-Javadoc) 209 | * 210 | * @see org.apache.maven.plugin.Mojo#execute() 211 | */ 212 | @Override 213 | public void execute() throws MojoExecutionException, MojoFailureException { 214 | 215 | if (getLog().isDebugEnabled()) { 216 | dumpParams(); 217 | } 218 | 219 | if (StringUtils.isBlank(dynamoHome)) { 220 | throw new MojoExecutionException( 221 | "dynamoHome cannot be empty. Set your env.DYNAMO_HOME, or explicitly set dynamoHome in your pom"); 222 | } 223 | 224 | // if passThrough is not set, you must have a destination ear 225 | if (StringUtils.isBlank(destinationEar) 226 | && StringUtils.isBlank(passThroughCommand)) { 227 | throw new MojoExecutionException("destinationEar cannot be empty"); 228 | } 229 | 230 | // build command and pass it to runAssembler 231 | executeAssembler(buildCommand()); 232 | 233 | } 234 | 235 | /** 236 | * Build the command for runAssembler 237 | * 238 | * @return command to send to runAssembler 239 | */ 240 | protected String buildCommand() { 241 | final StringBuilder assemblerCommand = new StringBuilder(); 242 | 243 | // if passthrough is set, skip all this 244 | if (StringUtils.isBlank(passThroughCommand)) { 245 | if (liveconfig) { 246 | assemblerCommand.append(" -liveconfig"); 247 | } 248 | if (StringUtils.isNotBlank(addEarFile)) { 249 | assemblerCommand.append(" -add-ear-file "); 250 | assemblerCommand.append(addEarFile); 251 | } 252 | if (classesOnly) { 253 | assemblerCommand.append(" -classesonly"); 254 | } 255 | if (collapseClassPath) { 256 | assemblerCommand.append(" -collapse-class-path"); 257 | } 258 | if (StringUtils.isNotBlank(contextRootsFile)) { 259 | assemblerCommand.append(" -context-roots-file "); 260 | assemblerCommand.append(contextRootsFile); 261 | } 262 | if (StringUtils.isNotBlank(displayName)) { 263 | assemblerCommand.append(" -displayname "); 264 | assemblerCommand.append(displayName); 265 | } 266 | if (distributable) { 267 | assemblerCommand.append(" -distributable"); 268 | } 269 | if (jarDirs) { 270 | assemblerCommand.append(" -jardirs"); 271 | } 272 | if (jboss) { 273 | assemblerCommand.append(" -jboss"); 274 | } 275 | if (noFix) { 276 | assemblerCommand.append(" -nofix"); 277 | } 278 | if (standalone) { 279 | assemblerCommand.append(" -standalone"); 280 | } 281 | if (overwriteEar) { 282 | assemblerCommand.append(" -overwrite"); 283 | } 284 | if (pack) { 285 | assemblerCommand.append(" -pack"); 286 | } 287 | if (StringUtils.isNotBlank(prependJars)) { 288 | assemblerCommand.append(" -prependJars "); 289 | assemblerCommand.append(prependJars); 290 | } 291 | if (runInPlace) { 292 | assemblerCommand.append(" -run-in-place"); 293 | } 294 | if (StringUtils.isNotBlank(serverName)) { 295 | assemblerCommand.append(" -server "); 296 | assemblerCommand.append(serverName); 297 | } 298 | assemblerCommand.append(" "); 299 | assemblerCommand.append(destinationEar); 300 | 301 | if (StringUtils.isNotBlank(layer)) { 302 | assemblerCommand.append(" -layer "); 303 | assemblerCommand.append(layer); 304 | } 305 | if (StringUtils.isNotBlank(moduleNames)) { 306 | assemblerCommand.append(" -m "); 307 | assemblerCommand.append(moduleNames); 308 | } 309 | } else { 310 | // allow override of all commands. Just pass through the exact 311 | // string 312 | // used in the pom 313 | assemblerCommand.append(passThroughCommand); 314 | } 315 | 316 | return assemblerCommand.toString(); 317 | } 318 | 319 | /** 320 | * Call runAssembler with command 321 | * 322 | * @param command 323 | * @throws MojoExecutionException 324 | * @throws MojoFailureException 325 | */ 326 | private void executeAssembler(final String command) 327 | throws MojoExecutionException, MojoFailureException { 328 | 329 | final File assemblerCommand = new File(dynamoHome, assemblerPath 330 | + (SystemUtils.IS_OS_UNIX ? "" : ".bat")); 331 | 332 | if (!assemblerCommand.isFile()) { 333 | throw new MojoExecutionException(assemblerCommand.getAbsolutePath() 334 | + " is not a regular file"); 335 | } 336 | if (!assemblerCommand.canExecute()) { 337 | throw new MojoExecutionException(assemblerCommand.getAbsolutePath() 338 | + " is not executable"); 339 | } 340 | 341 | String execCommand = command; 342 | 343 | getLog().info("*******************************************"); 344 | getLog().info("Calling runAssembler"); 345 | getLog().info(" "); 346 | getLog().info("Command: " + assemblerCommand + " " + execCommand); 347 | getLog().info(" "); 348 | getLog().info("*******************************************"); 349 | 350 | try { 351 | 352 | // spit out lines from stdout and stderr as soon as they come in 353 | final StreamConsumer stdout = new StreamConsumer() { 354 | @Override 355 | public void consumeLine(final String line) { 356 | getLog().info(line); 357 | } 358 | }; 359 | 360 | final StreamConsumer stderr = new StreamConsumer() { 361 | @Override 362 | public void consumeLine(final String line) { 363 | getLog().error(line); 364 | } 365 | }; 366 | 367 | final Commandline commandLine = new Commandline(); 368 | 369 | // if the OS is windows, we need to call the batch file through 370 | // cmd.exe 371 | if (SystemUtils.IS_OS_UNIX) { 372 | commandLine.setExecutable(assemblerCommand.getAbsolutePath()); 373 | } else { 374 | commandLine.setExecutable("cmd.exe"); 375 | commandLine.createArg().setValue("/c"); 376 | execCommand = assemblerCommand.getAbsolutePath() + " " 377 | + execCommand; 378 | } 379 | 380 | commandLine.createArg().setValue(execCommand); 381 | 382 | final int returncode = CommandLineUtils.executeCommandLine( 383 | commandLine, stdout, stderr); 384 | 385 | final String returnMsg = "Return code: " + returncode; 386 | if (returncode != 0) { 387 | throw new MojoFailureException(returnMsg); 388 | } 389 | } catch (final CommandLineException e) { 390 | throw new MojoFailureException( 391 | "CommandLineException executing runAssembler ", e); 392 | } 393 | 394 | } 395 | 396 | private void dumpParams() { 397 | getLog().debug("dynamoHome " + dynamoHome); 398 | getLog().debug("assemblerPath " + assemblerPath); 399 | getLog().debug("destinationEar " + destinationEar); 400 | getLog().debug("moduleNames " + moduleNames); 401 | getLog().debug("addEarFile " + addEarFile); 402 | getLog().debug("classesOnly " + classesOnly); 403 | getLog().debug("collapseClassPath " + collapseClassPath); 404 | getLog().debug("contextRootsFile " + contextRootsFile); 405 | getLog().debug("displayName " + displayName); 406 | getLog().debug("distributable " + distributable); 407 | getLog().debug("jarDirs " + jarDirs); 408 | getLog().debug("jboss " + jboss); 409 | getLog().debug("layer " + layer); 410 | getLog().debug("liveconfig " + liveconfig); 411 | getLog().debug("noFix " + noFix); 412 | getLog().debug("overwriteEar " + overwriteEar); 413 | getLog().debug("pack " + pack); 414 | getLog().debug("prependJars " + prependJars); 415 | getLog().debug("runInPlace " + runInPlace); 416 | getLog().debug("serverName " + serverName); 417 | getLog().debug("standalone " + standalone); 418 | } 419 | 420 | /** 421 | * @return dynamoHome 422 | */ 423 | public String getDynamoHome() { 424 | return dynamoHome; 425 | } 426 | 427 | /** 428 | * 429 | * @param dynamoHome 430 | */ 431 | public void setDynamoHome(final String dynamoHome) { 432 | this.dynamoHome = dynamoHome; 433 | } 434 | 435 | /** 436 | * @return assemblerPath 437 | */ 438 | public String getAssemblerPath() { 439 | return assemblerPath; 440 | } 441 | 442 | /** 443 | * @param assemblerPath 444 | */ 445 | public void setAssemblerPath(final String assemblerPath) { 446 | this.assemblerPath = assemblerPath; 447 | } 448 | 449 | /** 450 | * @return destinationEar 451 | */ 452 | public String getDestinationEar() { 453 | return destinationEar; 454 | } 455 | 456 | /** 457 | * @param destinationEar 458 | */ 459 | public void setDestinationEar(final String destinationEar) { 460 | this.destinationEar = destinationEar; 461 | } 462 | 463 | /** 464 | * @return moduleNames 465 | */ 466 | public String getModuleNames() { 467 | return moduleNames; 468 | } 469 | 470 | /** 471 | * @param moduleNames 472 | */ 473 | public void setModuleNames(final String moduleNames) { 474 | this.moduleNames = moduleNames; 475 | } 476 | 477 | /** 478 | * @return addEarFile 479 | */ 480 | public String getAddEarFile() { 481 | return addEarFile; 482 | } 483 | 484 | /** 485 | * @param addEarFile 486 | */ 487 | public void setAddEarFile(final String addEarFile) { 488 | this.addEarFile = addEarFile; 489 | } 490 | 491 | /** 492 | * @return classesOnly 493 | */ 494 | public boolean isClassesOnly() { 495 | return classesOnly; 496 | } 497 | 498 | /** 499 | * @param classesOnly 500 | */ 501 | public void setClassesOnly(final boolean classesOnly) { 502 | this.classesOnly = classesOnly; 503 | } 504 | 505 | /** 506 | * @return collapseClassPath 507 | */ 508 | public boolean isCollapseClassPath() { 509 | return collapseClassPath; 510 | } 511 | 512 | /** 513 | * @param collapseClassPath 514 | */ 515 | public void setCollapseClassPath(final boolean collapseClassPath) { 516 | this.collapseClassPath = collapseClassPath; 517 | } 518 | 519 | /** 520 | * @return contextRootsFile 521 | */ 522 | public String getContextRootsFile() { 523 | return contextRootsFile; 524 | } 525 | 526 | /** 527 | * @param contextRootsFile 528 | */ 529 | public void setContextRootsFile(final String contextRootsFile) { 530 | this.contextRootsFile = contextRootsFile; 531 | } 532 | 533 | /** 534 | * @return displayName 535 | */ 536 | public String getDisplayName() { 537 | return displayName; 538 | } 539 | 540 | /** 541 | * @param displayName 542 | */ 543 | public void setDisplayName(final String displayName) { 544 | this.displayName = displayName; 545 | } 546 | 547 | /** 548 | * @return distributable 549 | */ 550 | public boolean isDistributable() { 551 | return distributable; 552 | } 553 | 554 | /** 555 | * @param distributable 556 | */ 557 | public void setDistributable(final boolean distributable) { 558 | this.distributable = distributable; 559 | } 560 | 561 | /** 562 | * @return jarDirs 563 | */ 564 | public boolean isJarDirs() { 565 | return jarDirs; 566 | } 567 | 568 | /** 569 | * @param jarDirs 570 | */ 571 | public void setJarDirs(final boolean jarDirs) { 572 | this.jarDirs = jarDirs; 573 | } 574 | 575 | /** 576 | * @return jboss 577 | */ 578 | public boolean isJboss() { 579 | return jboss; 580 | } 581 | 582 | /** 583 | * @param jboss 584 | */ 585 | public void setJboss(final boolean jboss) { 586 | this.jboss = jboss; 587 | } 588 | 589 | /** 590 | * @return layer 591 | */ 592 | public String getLayer() { 593 | return layer; 594 | } 595 | 596 | /** 597 | * @param layer 598 | */ 599 | public void setLayer(final String layer) { 600 | this.layer = layer; 601 | } 602 | 603 | /** 604 | * @return liveconfig 605 | */ 606 | public boolean isLiveconfig() { 607 | return liveconfig; 608 | } 609 | 610 | /** 611 | * @param liveconfig 612 | */ 613 | public void setLiveconfig(final boolean liveconfig) { 614 | this.liveconfig = liveconfig; 615 | } 616 | 617 | /** 618 | * @return noFix 619 | */ 620 | public boolean isNoFix() { 621 | return noFix; 622 | } 623 | 624 | /** 625 | * @param noFix 626 | */ 627 | public void setNoFix(final boolean noFix) { 628 | this.noFix = noFix; 629 | } 630 | 631 | /** 632 | * @return overwriteEar 633 | */ 634 | public boolean isOverwriteEar() { 635 | return overwriteEar; 636 | } 637 | 638 | /** 639 | * @param overwriteEar 640 | */ 641 | public void setOverwriteEar(final boolean overwriteEar) { 642 | this.overwriteEar = overwriteEar; 643 | } 644 | 645 | /** 646 | * @return pack 647 | */ 648 | public boolean isPack() { 649 | return pack; 650 | } 651 | 652 | /** 653 | * @param pack 654 | */ 655 | public void setPack(final boolean pack) { 656 | this.pack = pack; 657 | } 658 | 659 | /** 660 | * @return prependJars 661 | */ 662 | public String getPrependJars() { 663 | return prependJars; 664 | } 665 | 666 | /** 667 | * @param prependJars 668 | */ 669 | public void setPrependJars(final String prependJars) { 670 | this.prependJars = prependJars; 671 | } 672 | 673 | /** 674 | * @return runInPlace 675 | */ 676 | public boolean isRunInPlace() { 677 | return runInPlace; 678 | } 679 | 680 | /** 681 | * @param runInPlace 682 | */ 683 | public void setRunInPlace(final boolean runInPlace) { 684 | this.runInPlace = runInPlace; 685 | } 686 | 687 | /** 688 | * @return serverName 689 | */ 690 | public String getServerName() { 691 | return serverName; 692 | } 693 | 694 | /** 695 | * @param serverName 696 | */ 697 | public void setServerName(final String serverName) { 698 | this.serverName = serverName; 699 | } 700 | 701 | /** 702 | * @return standalone 703 | */ 704 | public boolean isStandalone() { 705 | return standalone; 706 | } 707 | 708 | /** 709 | * @param standalone 710 | */ 711 | public void setStandalone(final boolean standalone) { 712 | this.standalone = standalone; 713 | } 714 | 715 | /** 716 | * @return passThroughCommand 717 | */ 718 | public String getPassThroughCommand() { 719 | return passThroughCommand; 720 | } 721 | 722 | /** 723 | * @param passThroughCommand 724 | */ 725 | public void setPassThroughCommand(final String passThroughCommand) { 726 | this.passThroughCommand = passThroughCommand; 727 | } 728 | 729 | } 730 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/linux/crsBCCExample/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | crsBCCExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 13 | com.oracle.atg.ateam 14 | atg-runAssembler-plugin 15 | 1.0 16 | 17 | 18 | buildEar 19 | package 20 | 21 | runAssembler 22 | 23 | 24 | 25 | 26 | /tmp/crsBCC.ear 27 | DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin 28 | ContentMgmt.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned 29 | Store.Storefront DCS-UI.SiteAdmin.Versioned SiteAdmin.Versioned 30 | ContentMgmt.Endeca.Index.Versioned DCS.Endeca.Index.Versioned 31 | Store.Endeca.Index.Versioned DCS.Endeca.Index.SKUIndexing 32 | Store.KnowledgeBase 33 | ATGPublishing 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/linux/jbossExample/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | atg11jbossExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 13 | com.oracle.atg.ateam 14 | atg-runAssembler-plugin 15 | 1.0 16 | 17 | 18 | buildEar 19 | package 20 | 21 | runAssembler 22 | 23 | 24 | 25 | 26 | /tmp/atgJboss.ear 27 | DAS DafEar.Admin DPS DCS 28 | true 29 | true 30 | ATGJBoss 31 | 32 | true 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/linux/passThroughExample/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | passThroughExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 13 | 14 | com.oracle.atg.ateam 15 | atg-runAssembler-plugin 16 | 1.0 17 | 18 | 19 | buildEar 20 | package 21 | 22 | runAssembler 23 | 24 | 25 | 26 | 27 | DAS 28 | true 29 | true 30 | true 31 | Staging Preview 32 | 34 | -liveconfig /tmp/passThrough.ear -m DAS 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/linux/twoModulesExample/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | crsBCCExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 13 | com.oracle.atg.ateam 14 | atg-runAssembler-plugin 15 | 1.0 16 | 17 | 18 | buildBccEar 19 | package 20 | 21 | runAssembler 22 | 23 | 24 | 25 | 26 | /tmp/crsBCC.ear 27 | DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin 28 | ContentMgmt.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned 29 | Store.Storefront DCS-UI.SiteAdmin.Versioned SiteAdmin.Versioned 30 | ContentMgmt.Endeca.Index.Versioned DCS.Endeca.Index.Versioned 31 | Store.Endeca.Index.Versioned DCS.Endeca.Index.SKUIndexing 32 | Store.KnowledgeBase 33 | ATGPublishing 34 | 35 | 36 | 37 | com.oracle.atg.ateam 38 | atg-runAssembler-plugin 39 | 1.0 40 | 41 | 42 | buildProdEar 43 | package 44 | 45 | runAssembler 46 | 47 | 48 | 49 | 50 | /tmp/crsProd.ear 51 | Store.EStore DafEar.Admin DPS DSS ContentMgmt 52 | DCS.PublishingAgent DCS.AbandonedOrderServices 53 | ContentMgmt.Endeca.Index DCS.Endeca.Index Store.Endeca.Index 54 | DAF.Endeca.Assembler PublishingAgent DCS.Endeca.Index.SKUIndexing 55 | Store.Storefront Store.Recommendations DCS.ClickToConnect 56 | Store.Fluoroscope Store.Fulfillment Store.KnowledgeBase 57 | ATGProduction 58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/linux/wlsDeploy/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | crsBCCDeployExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | /tmp/crsBCC.ear 12 | ATGPublishing> 13 | 14 | 15 | 16 | 17 | 18 | 19 | com.oracle.atg.ateam 20 | atg-runAssembler-plugin 21 | 1.0 22 | 23 | 24 | buildEar 25 | package 26 | 27 | runAssembler 28 | 29 | 30 | 31 | 32 | ${myEarFile} 33 | DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin 34 | ContentMgmt.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned 35 | Store.Storefront DCS-UI.SiteAdmin.Versioned SiteAdmin.Versioned 36 | ContentMgmt.Endeca.Index.Versioned DCS.Endeca.Index.Versioned 37 | Store.Endeca.Index.Versioned DCS.Endeca.Index.SKUIndexing 38 | Store.KnowledgeBase 39 | ${myServerName} 40 | 41 | 42 | 43 | com.oracle.weblogic 44 | wls-maven-plugin 45 | 12.1.2.0 46 | 47 | t3://localhost:7001 48 | weblogic 49 | password1 50 | true 51 | deploy 52 | false 53 | true 54 | ${myEarFile} 55 | ${myServerName} 56 | 57 | 58 | 59 | install 60 | 61 | deploy 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/windows/crsBCCExample/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | crsBCCExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 13 | com.oracle.atg.ateam 14 | atg-runAssembler-plugin 15 | 1.0 16 | 17 | 18 | buildEar 19 | package 20 | 21 | runAssembler 22 | 23 | 24 | 25 | 26 | c:\temp\crsBCC.ear 27 | DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin 28 | ContentMgmt.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned 29 | Store.Storefront DCS-UI.SiteAdmin.Versioned SiteAdmin.Versioned 30 | ContentMgmt.Endeca.Index.Versioned DCS.Endeca.Index.Versioned 31 | Store.Endeca.Index.Versioned DCS.Endeca.Index.SKUIndexing 32 | Store.KnowledgeBase 33 | ATGPublishing 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/windows/jbossExample/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | atg11jbossExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 13 | com.oracle.atg.ateam 14 | atg-runAssembler-plugin 15 | 1.0 16 | 17 | 18 | buildEar 19 | package 20 | 21 | runAssembler 22 | 23 | 24 | 25 | 26 | c:\temp\atgJboss.ear 27 | DAS DafEar.Admin DPS DCS 28 | true 29 | true 30 | ATGJBoss 31 | 32 | true 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/windows/passThroughExample/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | passThroughExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 13 | 14 | com.oracle.atg.ateam 15 | atg-runAssembler-plugin 16 | 1.0 17 | 18 | 19 | buildEar 20 | package 21 | 22 | runAssembler 23 | 24 | 25 | 26 | 27 | DAS 28 | true 29 | true 30 | true 31 | Staging Preview 32 | 34 | -liveconfig c:\temp\passThrough.ear -m DAS 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /atg-maven-plugin/src/sample-projects/windows/twoModulesExample/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.oracle.atg.ateam 6 | crsBCCExample 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | 12 | 13 | com.oracle.atg.ateam 14 | atg-runAssembler-plugin 15 | 1.0 16 | 17 | 18 | buildBccEar 19 | package 20 | 21 | runAssembler 22 | 23 | 24 | 25 | 26 | c:\temp\crsBCC.ear 27 | DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin 28 | ContentMgmt.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned 29 | Store.Storefront DCS-UI.SiteAdmin.Versioned SiteAdmin.Versioned 30 | ContentMgmt.Endeca.Index.Versioned DCS.Endeca.Index.Versioned 31 | Store.Endeca.Index.Versioned DCS.Endeca.Index.SKUIndexing 32 | Store.KnowledgeBase 33 | ATGPublishing 34 | 35 | 36 | 37 | com.oracle.atg.ateam 38 | atg-runAssembler-plugin 39 | 1.0 40 | 41 | 42 | buildProdEar 43 | package 44 | 45 | runAssembler 46 | 47 | 48 | 49 | 50 | c:\temp\crsProd.ear 51 | Store.EStore DafEar.Admin DPS DSS ContentMgmt 52 | DCS.PublishingAgent DCS.AbandonedOrderServices 53 | ContentMgmt.Endeca.Index DCS.Endeca.Index Store.Endeca.Index 54 | DAF.Endeca.Assembler PublishingAgent DCS.Endeca.Index.SKUIndexing 55 | Store.Storefront Store.Recommendations DCS.ClickToConnect 56 | Store.Fluoroscope Store.Fulfillment Store.KnowledgeBase 57 | ATGProduction 58 | 59 | 60 | 61 | 62 | 63 | --------------------------------------------------------------------------------