Coder Social home page Coder Social logo

Comments (5)

pfauchere avatar pfauchere commented on July 27, 2024

Hi,

I currently cannot reproduce the issue. I can currently trigger a mvn clean test command line both with the archetype and with the generated project without errors.

On [0] I read when building without installing the artifacts and I am wondering if I executed the install step beforehand or not... Could you please give us more detail?

I am using:

  • Java 1.8
  • Maven 3.6.1

[0] https://issues.apache.org/jira/browse/JCRVLT-272

from aem-spa-project-archetype.

yakulto avatar yakulto commented on July 27, 2024

So I tried with another fresh generated project using the following command:
mvn archetype:generate -B -DarchetypeCatalog=local -DarchetypeGroupId=com.adobe.cq.spa.archetypes -DarchetypeArtifactId=aem-spa-project-archetype -DarchetypeVersion=1.1.0 -Dpackage=com.yakulto -DgroupId=com.yakulto -DartifactId=yakulto -Dversion=1.0.0-SNAPSHOT -DprojectTitle="yakulto" -DprojectName=yakulto -DcomponentGroup=yakultoGroup -DoptionFrontend=react

Commands I executed in order:

  1. mvn clean install - success
  2. mvn clean test - fail

[ERROR] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.0.1:analyze-classes (default-analyze-classes) on project yakulto.all: Error while analysing imports: C:\src\issue88\yakulto\core\target\classes (Access is denied) -> [Help 1]

  1. edited pom.xml bumped plugin to 1.0.3
  2. mvn clean install - success
  3. mvn test - fail

[ERROR] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.0.3:generate-metadata (default-generate-metadata) on project yakulto.all: Could not open subpackage 'C:\src\issue88\yakulto\ui.apps\target\classes' to extract metadata: C:\src\issue88\yakulto\ui.apps\target\classes (Access is denied) -> [Help 1]

  1. mvn clean test - fail

[ERROR] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.0.3:generate-metadata (default-generate-metadata) on project yakulto.all: Could not open subpackage 'C:\src\issue88\yakulto\ui.apps\target\classes' to extract metadata: C:\src\issue88\yakulto\ui.apps\target\classes (Access is denied) -> [Help 1]

I can send log files if you guys need them

from aem-spa-project-archetype.

samuelmeuli avatar samuelmeuli commented on July 27, 2024

I've encountered issues with this plugin as well. #112 updates it to the latest version.

from aem-spa-project-archetype.

samuelmeuli avatar samuelmeuli commented on July 27, 2024

@yakulto I cannot reproduce this issue, would you mind testing if it still occurs with filevault-package-maven-plugin v1.0.4?

from aem-spa-project-archetype.

samuelmeuli avatar samuelmeuli commented on July 27, 2024

We're gonna go ahead and merge #112 as it should fix your first issue (in analyze-classes) and we cannot reproduce the second one (in generate-metadata). Please let us know if you're still encountering issues with the new version :)

from aem-spa-project-archetype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.