Comments (7)
Thanks for the report. Do you have an idea about how to fix this?
from aem-project-archetype.
I checked the Maven docs: https://maven.apache.org/guides/mini/guide-default-execution-ids.html
Apparently you need to place the <configuration>
block inside the <execution>
and than it works.
from aem-project-archetype.
What does remain is a warning: Element failOnMissingEmbed is not allowed here
from aem-project-archetype.
The following works and has no warnings:
<profiles>
<profile>
<id>autoInstallPackage</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<executions>
<execution>
<id>install-package</id>
<goals>
<goal>install</goal>
</goals>
<configuration>
<targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL>
</configuration>
</execution>
</executions>
<configuration>
<failOnError>true</failOnError>
<failOnMissingEmbed>true</failOnMissingEmbed>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>autoInstallPackagePublish</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<executions>
<execution>
<id>install-package-publish</id>
<goals>
<goal>install</goal>
</goals>
<configuration>
<targetURL>http://${aem.publish.host}:${aem.publish.port}/crx/packmgr/service.jsp</targetURL>
</configuration>
</execution>
</executions>
<configuration>
<failOnError>true</failOnError>
<failOnMissingEmbed>true</failOnMissingEmbed>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
from aem-project-archetype.
Great! I can produce a fix later today. If you prefer, you can also submit a PR so that the fix is attributed to you
from aem-project-archetype.
I can create a PR Monday.
Kind regards
Wim
Op 16-okt.-2015 16:18 schreef "Robert Munteanu" [email protected]:
Great! I can produce a fix later today. If you prefer, you can also submit
a PR so that the fix is attributed to you—
Reply to this email directly or view it on GitHub
#47 (comment)
.
from aem-project-archetype.
Thanks, looking forward to it
from aem-project-archetype.
Related Issues (20)
- Cypress tests not generated when using uiTestingFramework parameter
- Archetype 23 does not exist when trying to create AEM project for version 6.5.0
- [ERROR] ValidationViolation: "jackrabbit-filter: Node '/apps/mysite/components/form/container/cq:editConfig' is not contained in any of the filter rules", filePath=jcr_root\apps\mysite\components\form\container\_cq_editConfig.xml
- Add replication metadata for CAC and Editable Templates
- Why Maven version is not stored in the pom.xml?
- Use jib-maven-plugin for building (Docker) images
- ui.tests (both cypress and wdio) throw errors with "install" or "deploy" phases HOT 2
- Enforce local build of ui-tests module by default HOT 8
- Is there a plan to move towards faster bundler for the frontend module ? such as esbuild or vite for newer archetype ?
- package.json: Is it LICENSE or LICENSE.txt or something else?
- ui.frontend + "npm run watch" not working on Windows 11 (fix/workaround inside) HOT 1
- Getting Error Maven must be executed with a Java 11 JRE or higher.
- Maven Build Warnings with latest filevault-package-maven-plugin HOT 3
- AEM Developer Tools Could not process archetype: null
- Update immutable file list for CM/AMS
- Don
- Don't use mode="merge" in filter.xml
- xfpage overlay does not render structure of root element HOT 1
- Remove references to com.day.jcr.vault:content-package-maven-plugin HOT 1
- Rewrites from shortened URLs missing some valid paths HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aem-project-archetype.