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
BedrockMission!

Learn More

View all

Sign in to view all badges

Problems building the project created by the aem-project-archetype-aem-project-archetype-27

Avatar

Avatar
Boost 3
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct Reply

2 solutions
Top badges earned
Boost 3
Boost 1
Validate 1
Affirm 1
View profile

Avatar
Boost 3
Level 2
FuguSailor
Level 2

Likes

3 likes

Total Posts

7 posts

Correct Reply

2 solutions
Top badges earned
Boost 3
Boost 1
Validate 1
Affirm 1
View profile
FuguSailor
Level 2

19-05-2021

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-package-transformation of goal org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute failed: startup failed:
[ERROR] script1.groovy: 1: Unexpected input: '\' @ line 1, column 3.
[ERROR] C:\dev\aem-project-archetype-aem-project-archetype-27\apple/src/main/resources/META-INF/archetype-pre-package.groovy
[ERROR] ^
[ERROR]
[ERROR] 1 error
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

 

I have recreated the project several times with different settings and each time, I encounter this error. I have yet to find a solution by searching the web.

The operating system is Windows 10

 

Thanks in advance for your help.

View Entire Topic

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

470 likes

Total Posts

1,039 posts

Correct Reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

470 likes

Total Posts

1,039 posts

Correct Reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

19-05-2021

Hi @FuguSailor 

 

   I am assuming you are mentioning about creating a project from scratch. I am not sure how you are doing it with the steps you mentioned. May be if you cross check your steps with https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel... and see if you are following the steps properly , may be that would help. 

 

Thanks

Veena