version is

0.0.1-SNAPSHOT

No ArtifactId in the version.

Have a look at one of the free books listed on the Maven site.

Ron

On 26/11/2012 8:44 AM, 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 <[email protected]> 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 <[email protected]> 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]



--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to