bw-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/maven/AbstractBWMojo.java
public static AbstractBWMojo propertiesManager(MavenSession session, MavenProject mavenProject) {
		AbstractBWMojo mojo = new AbstractBWMojo();
		mojo.setProject(mavenProject);
		mojo.setSession(session);
		mojo.setSettings(session.getSettings());

		return mojo;
	}
public static AbstractBWMojo propertiesManager(MavenSession session, MavenProject mavenProject) {
		AbstractBWMojo mojo = new AbstractBWMojo();
		mojo.setProject(mavenProject);
		mojo.setSession(session);
		mojo.setSettings(session.getSettings());

		return mojo;
	}
<p>
Instantiate a minimalistic {@link AbstractCommonMojo} to use properties
management as a standalone object.
</p>

@param session
@param mavenProject
@return