Skip to content

Commit 350dd11

Browse files
committed
PopulateAppMojo: improve log messages
1 parent 34ad33c commit 350dd11

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/org/scijava/maven/plugin/install/PopulateAppMojo.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,23 @@ public class PopulateAppMojo extends AbstractInstallMojo {
9292
@Override
9393
public void execute() throws MojoExecutionException {
9494
if (appDirectory == null) {
95-
if (hasIJ1Dependency(project)) getLog().info(
96-
"Property '" + APP_DIRECTORY_PROPERTY + "' unset; Skipping populate-app");
95+
getLog().debug("Property '" + APP_DIRECTORY_PROPERTY +
96+
"' unset; skipping populate-app.");
9797
return;
9898
}
9999
final String interpolated = interpolate(appDirectory, project);
100100
appDir = new File(interpolated);
101101

102102
if (appSubdirectory == null) {
103-
getLog().info("No property name for the " + APP_SUBDIRECTORY_PROPERTY +
104-
" directory location was specified; Installing in default location");
103+
getLog().info("Property " + APP_SUBDIRECTORY_PROPERTY +
104+
" unset; installing in default location.");
105105
}
106106

107107
if (!appDir.isDirectory()) {
108108
getLog().warn(
109109
"'" + appDirectory + "'" +
110110
(interpolated.equals(appDirectory) ? "" : " (" + appDirectory + ")") +
111-
" is not an SciJava application directory; Skipping populate-app");
111+
" is not a SciJava application directory; skipping populate-app.");
112112
return;
113113
}
114114

0 commit comments

Comments
 (0)