Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

FuguSailor
Community profile FuguSailor Level 2
Job title here
Location here
8 BADGES
Level 2

Level 2

Learn more
Joined the community 19-05-2021 10:32:55 AM
Offline
Top badges earned by FuguSailor
Customize the badges you want to showcase on your profile
Re: Problems building the project created by the aem-proj...
Avatar
Give Back 5
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
FuguSailor
- Adobe Experience Manager
There wasn't a change to the pom. When I looked at the uber-jar-6.5.0.jar file in the .m2 tree, it was far too small. I manually went to the repository and downloaded the uber-jar-6.5.0-release.jar and replaced the original uber-jar with that one. That archive was good enough to get going.

Views

416

Likes

0

Replies

0
Re: aem-project-archetype-aem-project-archetype-27 note e...
Avatar
Give Back 5
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
FuguSailor
- Adobe Experience Manager
Figured it out. I needed to add the package-info.java file to the package folder

Views

175

Like

1

Replies

1
aem-project-archetype-aem-project-archetype-27 note exporting new packages
Avatar
Give Back 5
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
FuguSailor
- Adobe Experience Manager
I have created a project using the aem-project-archetype-aem-project-archetype-27. I've added a package to the core module at com.myproject.core.workflows. When I check the bundle, it is marked as a private package. How do I add new packages to the default list of packages and have them published as public? I don't see a setting in the pom files that expressly set the exports. How is this handled now?

Views

180

Likes

0

Replies

2
Re: Problems building the project created by the aem-proj...
Avatar
Give Back 5
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
FuguSailor
- Adobe Experience Manager
I think I have the answer. In the root project pom, there is a section that refers to the online archetype. I commented out that section and it no longer has the issue with the groovy compiler and now builds fine.

Views

474

Likes

2

Replies

2
Re: Problems building the project created by the aem-proj...
Avatar
Give Back 5
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
FuguSailor
- Adobe Experience Manager
The documentation doesn't help with fixing the issue. My problem is after the project is created but in the pre build stage. I'm not sure why it is calling groovy. Even when I change to the core folder, I get the same result.

Views

485

Likes

0

Replies

0
Re: Problems building the project created by the aem-proj...
Avatar
Give Back 5
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
FuguSailor
- Adobe Experience Manager
This is the command line I used to create the new project:C:\dev\aem-project-archetype-aem-project-archetype-27\apple>mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=27 -D appTitle="Apple Test" -D appId="apple" -D groupId="com.apple" -D enableDynamicMedia=y -D aemVersion=6.5 -D includeDispatcherConfig=n -D frontendModule=general -D includeErrorHandler=y

Views

490

Likes

0

Replies

0
Problems building the project created by the aem-project-archetype-aem-project-archetype-27
Avatar
Give Back 5
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
FuguSailor
- Adobe Experience Manager
I have downloaded the aem-project-archetype-aem-project-archetype-27 package, completed the mvn clean install process. Then I created the new project using the batch method described in the README.md file. Now I change to the generated folder and run mvn clean install to build that sub project and I receive the following error:[ERROR] Failed to execute goal org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute (archetype-pre-package-transformation) on project apple: Execution archetype-pre-packa...

Views

610

Likes

0

Replies

11
Likes from