@@ -0,0 +1,1077 @@
+/*%0A * Copyright 2016 Jacob Meacham (jemonjam.com).%0A */%0Apackage com.jemonjam.versioneer.impl;%0A%0Aimport com.jemonjam.versioneer.api.VersionLocator;%0Aimport java.io.InputStream;%0Aimport java.util.Optional;%0Aimport java.util.Scanner;%0A%0Apublic class ClasspathVersionLocator implements VersionLocator %7B%0A    public static final String DEFAULT_VERSION_FILE = %22.VERSIONEER%22;%0A    private final String versionFile;%0A%0A    public ClasspathVersionLocator() %7B%0A        this(DEFAULT_VERSION_FILE);%0A    %7D%0A%0A    public ClasspathVersionLocator(String versionFile) %7B%0A        if (versionFile == null) %7B%0A            throw new IllegalArgumentException(%22versionFile is required.%22);%0A        %7D%0A%0A        this.versionFile = versionFile;%0A    %7D%0A%0A    @Override%0A    public final Optional%3CString%3E getVersion() %7B%0A        try (InputStream in = this.getClass().getClassLoader().getResourceAsStream(versionFile);%0A                Scanner scanner = new Scanner(in).useDelimiter(%22%5C%5CA%22)) %7B%0A            return Optional.of(scanner.next());%0A        %7D catch (Exception e) %7B%0A            return Optional.empty();%0A        %7D%0A    %7D%0A%0A%7D%0A

Add ClasspathVersionLocator.