public boolean registerFileForced()

in src/main/java/org/apache/maven/plugins/war/util/WebappStructure.java [122:132]


    public boolean registerFileForced(String id, String path) {
        if (!isRegistered(path)) {
            doRegister(id, path);
            return false;
        } else {
            // Force the switch to the new owner
            getStructure(getOwner(path)).remove(path);
            getStructure(id).add(path);
            return true;
        }
    }