All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shiver.me.timbers.plugins.invoker.multi.DefaultStringReplacer Maven / Gradle / Ivy

Go to download

This plugin can be used to invoke the current maven project multiple times with different profiles or properties.

The newest version!
package shiver.me.timbers.plugins.invoker.multi;

import org.codehaus.plexus.component.annotations.Component;

/**
 * @author Karl Bennett
 */
@Component(role = StringReplacer.class, hint = "default")
class DefaultStringReplacer implements StringReplacer {

    @Override
    public String replace(String string, String substitution, String value) {
        return string.replaceAll(substitution, value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy