package com.jamierf.dropwizard.config;

import org.apache.maven.execution.MavenSession;
import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.project.MavenProject;
import org.vafer.jdeb.utils.Utils;

public class DebConfiguration {

    private MavenProject project;
    private MavenSession session;

    public void setProject(MavenProject project) {
        this.project = project;
    }

    public void setSession(MavenSession session) {
        this.session = session;
    }

    @Parameter
    private String maintainer = "Unspecified";

    @SuppressWarnings("unused")
    public String getName() {
        return project.getArtifactId();
    }

    @SuppressWarnings("unused")
    public String getVersion() {
        return Utils.convertToDebianVersion(project.getVersion(), false, null, session.getStartTime());
    }

    @SuppressWarnings("unused")
    public String getMaintainer() {
        return maintainer;
    }
}

@@ -807,12 +807,11 @@
 (), 
-fals
+tru
 e, n

Include timestamp in version when building SNAPSHOTS