What is the proper way to deprecate a sub module in maven project?
<p>I have a maven project having child projects.</p>

<p>Sample representation:</p>

<pre><code>parent 

  core
   -src
   -pom.xml

  projA
   -src
   -pom.xml

  projB

    projB1 
     -src
     -pom.xml

    projB2
     -src
     -pom.xml

  projC
   -src
   -pom.xml

pom.xml (parent pom)
</code></pre>

<p>This is an open-source project. In the next release, <strong>I want to deprecate  <code>projB2</code></strong>. I don't want to increase it's version.</p>

<p>How should I do it?</p>

<hr>

<p>To further clarify, say all of my projects(<em><code>core</code>, <code>projA</code>, <code>projB1</code>, <code>projB2</code>, <code>projC</code></em>) are at version 1.2. </p>

<p>In next release, I want to increase the version of <code>core</code>, <code>projA</code>, <code>projB1</code>, <code>projC</code> to 1.3 and <code>projB2</code> to remain at 1.2 as this is the deprecated project. </p>