Alfresco / alfresco-sdk

The Alfresco In-Process SDK is based on Apache Maven, includes support for rapid and standard development, testing, packaging, versioning and release of your Alfresco integration and extension projects
Apache License 2.0
185 stars 113 forks source link

"Deprecated" warning is displayed when building #578

Closed silverskyvicto closed 5 years ago

silverskyvicto commented 5 years ago

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request

Deprecated warning is displayed when building.

Expected Behavior

No deprecated warning is displayed.

Current Behavior

The following warning is output.

Possible Solution

The workaround is to modify ${build.finalName} to ${project.build.finalName} in the pom.xml file.

Steps to Reproduce (for bugs)

  1. Create a Platform/Share archetype project using mvn archetype:generate -Dfilter=org.alfresco: command
  2. Move created project folder
  3. Start build using ./run.sh build_start

Context

Occurs when a build is executed after creating a template. If the Maven version changes in the future and the property is deleted, the build may not be able to be executed.

Your Environment

Additional information

Displayed in Platform Archetype and Share Archetype.

jlosornogil commented 5 years ago

This will be included in sdk-4.1 https://github.com/Alfresco/alfresco-sdk/pull/581. Thanks @silverskyvicto !