FAQ
I have a sneaky suspicion that you are doing some crazy stupid stuff in
your pom.

please provide the snippet which gave you the warning and what you think
the fix of that is based on the warning...

On 26 November 2012 13:44, Alberto Ivo wrote:

Hello Anders,

I've tried to do what the warning told me to do. But I got the same warning
anyway.

In my projetct: *project-parent* i did this:

<version>*project-parent*.0.0.1-SNAPSHOT</version>

I only ask it here because I've tried many other options and in some
situations I got an error, in others I got the same warning.. None work it!

Ivo

On Mon, Nov 26, 2012 at 11:02 AM, Anders Hammar wrote:

Well, the warning text kind of spells this out. You should replace
"${artifactId}" with "${project.artifactId}".

/Anders
On Mon, Nov 26, 2012 at 1:23 PM, Alberto Ivo wrote:

Hello,

How can I fix this warning?

project-parent is just a maven project with only a pom that is a parent for
another POMs.

[WARNING]
[WARNING] Some problems were encountered while building the effective model
for com.company.project:project-parent:pom:0.0.1-SNAPSHOT
[WARNING] The expression ${artifactId} is deprecated. Please use
${project.artifactId} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support
building such malformed projects.
[WARNING]

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 7 | next ›
Discussion Overview
groupusers @
categoriesmaven
postedNov 26, '12 at 12:24p
activeNov 26, '12 at 2:50p
posts7
users4
websitemaven.apache.org
irc#maven

People

Translate

site design / logo © 2021 Grokbase