Closed re-jim closed 7 years ago
yeah the same, i think the plugin has the problem, if you clic cancel and then run a build from console, will work. I'm looking it now and its making changes when i publish. I not able yet to run the debug mode
@Millertaker, How do you run a build from console?
go to root of your project and run the maven command: mvn -PautoInstallPackage -PintegrationServer install
After doing that I get six successes, and a warning that " The requested profile "integrationServer" could not be activated because it does not exist."
The launcher, tests, and apps folders still have errors associated with them, and I cannot add these resources to the server.
try create all project through maven with this:
mvn archetype:generate -DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=com.adobe.cq -DartifactId=key61 -Dversion=1.0-SNAPSHOT -Dpackage=com.adobe.cq -DappsFolderName=myproject -DartifactName="My Project" -DcqVersion="5.6.1" -DpackageGroup="My Company"
and import it as a maven prj on eclipse. Should be work as if you have created through the wizard.
When I run that command and import the project as a maven project in Eclipse, I get this error from pom.xml:
cvc-elt.1: Cannot find the declaration of element 'project'.
I deleted a trailing space inside of xsi:schemaLocation and that fixed it. This also doesn't provide all of the dependencies I get when creating a project through the wizard, but when I deploy it, it seems to work.
@Millertaker - @re-jim is using Archetype 10, why would you instruct him to generate a new project with an extremely outdated archetype version? :anguished:
Hi @re-jim,
I've also experienced this kind of problem. You just need to delete all your Maven repositories and try to create project again and it will be fine.
The main reason is the packages in your Maven repository could be corrupted. Maybe when it tries to download you have weak or intermittent connection.
Let me know if it works.
Looks to be the same issue as #72 - let's continue the discussion there.
Probably the same as https://github.com/Adobe-Marketing-Cloud/aem-eclipse-developer-tools/issues/72
I'm using Eclipse 4.5.2
Maven Apache Maven 3.2.5 Java version: 1.8 Windows 10
Here are my relevant plugins
When I create a new AEM Sample Multi-Module Project, selecting Archetype 10, I get an error saying "Failed while installing Sightly 1.1"
If I choose not to immediately deploy them on a server I just get "Problems encountered while setting project description" with the same four errors.
Those four errors in the "Problems" space are: