
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
59 lines
1.2 KiB
Plaintext
59 lines
1.2 KiB
Plaintext
== Why is this an issue?
|
|
|
|
Deprecated features are those that have been retained temporarily for backward compatibility, but which will eventually be removed. In effect, deprecation announces a grace period to allow the smooth transition from the old features to the new ones. In that period, no use of the deprecated features should be added, and all existing uses should be gradually removed.
|
|
|
|
|
|
This rule raises an issue when ``++${pom.*}++`` properties are used in a pom.
|
|
|
|
|
|
=== Noncompliant code example
|
|
|
|
[source,xml]
|
|
----
|
|
<build>
|
|
<finalName>${pom.artifactId}-${pom.version}</finalName> <!-- Noncompliant -->
|
|
----
|
|
|
|
|
|
=== Compliant solution
|
|
|
|
[source,xml]
|
|
----
|
|
<build>
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
----
|
|
or
|
|
|
|
[source,xml]
|
|
----
|
|
<build>
|
|
<finalName>${artifactId}-${version}</finalName>
|
|
----
|
|
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
=== Message
|
|
|
|
Replace "pom.xxx" with "project.xxx".
|
|
|
|
|
|
=== Highlighting
|
|
|
|
pom.
|
|
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
=== on 30 Nov 2015, 14:24:00 Michael Gumowski wrote:
|
|
LGTM [~ann.campbell.2]!
|
|
|
|
endif::env-github,rspecator-view[]
|