Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ public void execute() throws MojoExecutionException {
"Liferay versions below 6.1.0 are not supported");
}

initPortalProperties();

initUtils();
if (Validator.isNull(extractPortalWeb) || !"false".equalsIgnoreCase(extractPortalWeb)) {
initPortalProperties();
initUtils();
}

doExecute();
}
Expand Down Expand Up @@ -645,6 +646,11 @@ protected ClassLoader toClassLoader(List<String> classPath)
*/
protected ArtifactResolver artifactResolver;

/**
* @parameter expression="${extractPortalWeb}"
*/
protected String extractPortalWeb;

/**
* @parameter expression="${liferayVersion}"
*/
Expand Down Expand Up @@ -693,4 +699,4 @@ protected ClassLoader toClassLoader(List<String> classPath)
private static Pattern _majorVersionPattern = Pattern.compile(
"(\\d+[.]\\d+)");

}
}