Is there any way to tell an SCM configuration to use 'quiet' or
'non-verbose' mode? I have a scenario where I need to use the checkin
goal to checkin files but if there are files that need to be added (e.g.
add_test.txt) the maven build stops with the following error:
[WARNING] Unknown checkin ouput: add_test.txt : No files matching
"file_NOT_in_starteam.txt" were found in the StarTeam repository.
Here's the configuration for checkin goal
<execution>
<id>checkin-docbuild-destination</id>
<goals>
<goal>checkin</goal>
</goals>
<phase>install</phase>
<configuration>
<connectionType>connection</connectionType>
<connectionUrl>${dest.base.scm.url}/${webhelp.dir}</connectionUrl>
<workingDirectory>${dest.checkout.directory}</workingDirectory>
<includes>**/*</includes>
<message>New DocServices Build Checkin</message>
</configuration>
</execution>
If I add an execution of the 'add' goal before the 'checkin' goal I get
the following error:
[WARNING] Unknown add ouput: borlandhelp.css : No files matching
"file_already_in_starteam.txt" were found on the local disk that were
not already in the repository.
Here's the configuration for the add goal:
<execution>
<id>add-docbuild-destination</id>
<goals>
<goal>add</goal>
</goals>
<phase>install</phase>
<configuration>
<connectionType>connection</connectionType>
<connectionUrl>${dest.base.scm.url}/${webhelp.dir}</connectionUrl>
<workingDirectory>${dest.checkout.directory}</workingDirectory>
<includes>**/*</includes>
<message>Adding Files From New DocServices Build</message>
</configuration>
</execution>
The only way I've found to get around this is by invoking the same
starteam add and checkin commands that maven is invoking but add a '-q'
argument. This silently ignores the errors above. However, I can't
figure out how to configure 'quite' mode in Maven.
Eric