File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
maven-release-manager/src/main/java/org/apache/maven/shared/release/transform
maven-release-plugin/src/main/java/org/apache/maven/plugins/release Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,17 @@ public interface ModelETL {
5151 */
5252 void load (File pomFile ) throws ReleaseExecutionException ;
5353
54- // will be removed once transform() is implemented
5554 /**
56- * <p>getModel.</p>
55+ * Returns the intermediate {@link Model} representation.
5756 *
58- * @return a {@link org.apache.maven.model.Model} object
57+ * @deprecated This method is a temporary accessor that exists only for
58+ * legacy workflow support. It will be removed once the
59+ * {@link #transform()} processing phase is fully implemented
60+ * and callers no longer need to access the intermediate model
61+ * directly.
62+ * There is no direct replacement. New code should rely on the
63+ * {@link #extract(File)} -> {@link #transform()} -> {@link #load(File)}
64+ * processing pipeline instead of accessing the model explicitly.
5965 */
6066 @ Deprecated
6167 Model getModel ();
Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ public class PerformReleaseMojo extends AbstractScmReadReleaseMojo {
9090 * artifact, if appropriate. If set to true, the release plugin sets the property "<code>performRelease</code>" to
9191 * true, which activates the profile "<code>release-profile</code>" as inherited from
9292 * <a href="/ref/3.8.5/maven-model-builder/super-pom.html">the super pom</a>.
93- *
9493 * @deprecated The <code>release-profile</code> profile will be removed from future versions of the super POM
9594 */
9695 @ Parameter (defaultValue = "false" , property = "useReleaseProfile" )
You can’t perform that action at this time.
0 commit comments