|
| 1 | +<!-- |
| 2 | + | Copyright 2019 Adobe Systems Incorporated |
| 3 | + | |
| 4 | + | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + | you may not use this file except in compliance with the License. |
| 6 | + | You may obtain a copy of the License at |
| 7 | + | |
| 8 | + | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + | |
| 10 | + | Unless required by applicable law or agreed to in writing, software |
| 11 | + | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + | See the License for the specific language governing permissions and |
| 14 | + | limitations under the License. |
| 15 | +--> |
| 16 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 17 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 19 | + <modelVersion>4.0.0</modelVersion> |
| 20 | + |
| 21 | + <!-- ====================================================================== --> |
| 22 | + <!-- P A R E N T P R O J E C T D E S C R I P T I O N --> |
| 23 | + <!-- ====================================================================== --> |
| 24 | + <parent> |
| 25 | + <groupId>com.comwrap.public</groupId> |
| 26 | + <artifactId>graphql-voyager</artifactId> |
| 27 | + <version>1.0.0-SNAPSHOT</version> |
| 28 | + <relativePath>../pom.xml</relativePath> |
| 29 | + </parent> |
| 30 | + |
| 31 | + <!-- ====================================================================== --> |
| 32 | + <!-- P R O J E C T D E S C R I P T I O N --> |
| 33 | + <!-- ====================================================================== --> |
| 34 | + <artifactId>graphql-voyager.all</artifactId> |
| 35 | + <packaging>content-package</packaging> |
| 36 | + <name>GraphQL Voyager - All</name> |
| 37 | + <description>All content package for GraphQL Voyager</description> |
| 38 | + |
| 39 | + <!-- ====================================================================== --> |
| 40 | + <!-- B U I L D D E F I N I T I O N --> |
| 41 | + <!-- ====================================================================== --> |
| 42 | + <build> |
| 43 | + <plugins> |
| 44 | + <!-- ====================================================================== --> |
| 45 | + <!-- V A U L T P A C K A G E P L U G I N S --> |
| 46 | + <!-- ====================================================================== --> |
| 47 | + <plugin> |
| 48 | + <groupId>org.apache.jackrabbit</groupId> |
| 49 | + <artifactId>filevault-package-maven-plugin</artifactId> |
| 50 | + <extensions>true</extensions> |
| 51 | + <configuration> |
| 52 | + <group>com.comwrap.public</group> |
| 53 | + <packageType>container</packageType> |
| 54 | + <!-- skip sub package validation for now as some vendor packages like CIF apps will not pass --> |
| 55 | + <skipSubPackageValidation>true</skipSubPackageValidation> |
| 56 | + <embeddeds> |
| 57 | + <embedded> |
| 58 | + <groupId>com.comwrap.public</groupId> |
| 59 | + <artifactId>graphql-voyager.ui.apps</artifactId> |
| 60 | + <type>zip</type> |
| 61 | + <target>/apps/graphql-voyager-packages/application/install</target> |
| 62 | + </embedded> |
| 63 | + |
| 64 | + </embeddeds> |
| 65 | + </configuration> |
| 66 | + </plugin> |
| 67 | + <plugin> |
| 68 | + <groupId>com.day.jcr.vault</groupId> |
| 69 | + <artifactId>content-package-maven-plugin</artifactId> |
| 70 | + <extensions>true</extensions> |
| 71 | + <configuration> |
| 72 | + <verbose>true</verbose> |
| 73 | + <failOnError>true</failOnError> |
| 74 | + </configuration> |
| 75 | + </plugin> |
| 76 | + <plugin> |
| 77 | + <artifactId>maven-clean-plugin</artifactId> |
| 78 | + <executions> |
| 79 | + <execution> |
| 80 | + <id>auto-clean</id> |
| 81 | + <phase>initialize</phase> |
| 82 | + <goals> |
| 83 | + <goal>clean</goal> |
| 84 | + </goals> |
| 85 | + </execution> |
| 86 | + </executions> |
| 87 | + </plugin> |
| 88 | + <plugin> |
| 89 | + <groupId>com.adobe.aem</groupId> |
| 90 | + <artifactId>aemanalyser-maven-plugin</artifactId> |
| 91 | + <executions> |
| 92 | + <execution> |
| 93 | + <id>aem-analyser</id> |
| 94 | + <goals> |
| 95 | + <goal>project-analyse</goal> |
| 96 | + </goals> |
| 97 | + </execution> |
| 98 | + </executions> |
| 99 | + </plugin> |
| 100 | + </plugins> |
| 101 | + </build> |
| 102 | + |
| 103 | + <!-- ====================================================================== --> |
| 104 | + <!-- P R O F I L E S --> |
| 105 | + <!-- ====================================================================== --> |
| 106 | + <profiles> |
| 107 | + <profile> |
| 108 | + <id>autoInstallSinglePackage</id> |
| 109 | + <activation> |
| 110 | + <activeByDefault>false</activeByDefault> |
| 111 | + </activation> |
| 112 | + <build> |
| 113 | + <plugins> |
| 114 | + <plugin> |
| 115 | + <groupId>com.day.jcr.vault</groupId> |
| 116 | + <artifactId>content-package-maven-plugin</artifactId> |
| 117 | + <executions> |
| 118 | + <execution> |
| 119 | + <id>install-package</id> |
| 120 | + <goals> |
| 121 | + <goal>install</goal> |
| 122 | + </goals> |
| 123 | + <configuration> |
| 124 | + <targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL> |
| 125 | + <failOnError>true</failOnError> |
| 126 | + </configuration> |
| 127 | + </execution> |
| 128 | + </executions> |
| 129 | + </plugin> |
| 130 | + </plugins> |
| 131 | + </build> |
| 132 | + </profile> |
| 133 | + <profile> |
| 134 | + <id>autoInstallSinglePackagePublish</id> |
| 135 | + <activation> |
| 136 | + <activeByDefault>false</activeByDefault> |
| 137 | + </activation> |
| 138 | + <build> |
| 139 | + <plugins> |
| 140 | + <plugin> |
| 141 | + <groupId>com.day.jcr.vault</groupId> |
| 142 | + <artifactId>content-package-maven-plugin</artifactId> |
| 143 | + <executions> |
| 144 | + <execution> |
| 145 | + <id>install-package-publish</id> |
| 146 | + <goals> |
| 147 | + <goal>install</goal> |
| 148 | + </goals> |
| 149 | + <configuration> |
| 150 | + <targetURL>http://${aem.publish.host}:${aem.publish.port}/crx/packmgr/service.jsp</targetURL> |
| 151 | + <failOnError>true</failOnError> |
| 152 | + </configuration> |
| 153 | + </execution> |
| 154 | + </executions> |
| 155 | + </plugin> |
| 156 | + </plugins> |
| 157 | + </build> |
| 158 | + </profile> |
| 159 | + </profiles> |
| 160 | + |
| 161 | + <!-- ====================================================================== --> |
| 162 | + <!-- D E P E N D E N C I E S --> |
| 163 | + <!-- ====================================================================== --> |
| 164 | + <dependencies> |
| 165 | + <dependency> |
| 166 | + <groupId>com.comwrap.public</groupId> |
| 167 | + <artifactId>graphql-voyager.ui.apps</artifactId> |
| 168 | + <version>${project.version}</version> |
| 169 | + <type>zip</type> |
| 170 | + </dependency> |
| 171 | + |
| 172 | + </dependencies> |
| 173 | +</project> |
0 commit comments