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)
- Disable passing on authorization header by default HOT 4
- Update FileVault from 1.1.6 -> 1.3.2
- Adobe I/O SSR (React) action does not work HOT 1
- Archetype version 42's tag shows an error when viewing in Github
- Forms tests fail with "cannot find symbol"
- Caching by default the sample site
- mvn clean test not working due to ui.frontend and ui.apps.structure module HOT 1
- AIO SSR Actions not getting deployed with install phase
- Cannot have different Pipeline variables for Stage & Prod - Cloud manager
- 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
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.