Search in sources :

Example 1 with AssemblyArchiverPhaseComparator

use of org.apache.maven.plugins.assembly.archive.phase.AssemblyArchiverPhaseComparator in project maven-plugins by apache.

the class DefaultAssemblyArchiver method sortedPhases.

private List<AssemblyArchiverPhase> sortedPhases() {
    List<AssemblyArchiverPhase> sorted = new ArrayList<AssemblyArchiverPhase>(assemblyPhases);
    Collections.sort(sorted, new AssemblyArchiverPhaseComparator());
    return sorted;
}
Also used : ArrayList(java.util.ArrayList) AssemblyArchiverPhaseComparator(org.apache.maven.plugins.assembly.archive.phase.AssemblyArchiverPhaseComparator) AssemblyArchiverPhase(org.apache.maven.plugins.assembly.archive.phase.AssemblyArchiverPhase)

Aggregations

ArrayList (java.util.ArrayList)1 AssemblyArchiverPhase (org.apache.maven.plugins.assembly.archive.phase.AssemblyArchiverPhase)1 AssemblyArchiverPhaseComparator (org.apache.maven.plugins.assembly.archive.phase.AssemblyArchiverPhaseComparator)1