Skip to content

Fail to build and install CodeNarc locally #23

@DayS

Description

@DayS

Describe the bug
The tool_prepare-codenarc script fails to complete as maven do not found the binary built by Gradle. This is a simple path issue, which should be fixed with this modification :

[...]
REM == Deploy to local repository
cd ..
mvn -B install:install-file -Dfile=CodeNarc/build/libs/CodeNarc-%codenarc_version%.jar -DgroupId=org.codenarc -DartifactId=CodeNarc -Dversion=%codenarc_version% -Dpackaging=jar

To Reproduce
Steps to reproduce the behavior:

  1. Launch the script from the root directory of a brand new project.

Expected behavior
The script should complete successfully and intall the binary in the local maven repository.

Desktop (please complete the following information):

  • OS: MacOS Ventura

Metadata

Metadata

Assignees

Labels

💉 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions