• ■ ■ ■ ■
    pom.xml
    skipped 7 lines
    8 8   </parent>
    9 9   <artifactId>plugin-maven</artifactId>
    10 10   <packaging>maven-plugin</packaging>
    11  - <version>2.0.6</version>
     11 + <version>2.0.7</version>
    12 12   <build>
    13 13   <finalName>${project.groupId}.${project.artifactId}-${project.version}</finalName>
    14 14   <pluginManagement>
    skipped 110 lines
  • ■ ■ ■ ■ ■
    src/main/java/io/onedev/plugin/maven/PluginUtils.java
    skipped 121 lines
    122 122   }
    123 123   
    124 124   public static boolean isRuntimeArtifact(Artifact artifact) {
    125  - return !artifact.hasClassifier() &&
    126  - (artifact.getScope().equals(Artifact.SCOPE_COMPILE) || artifact.getScope().equals(Artifact.SCOPE_RUNTIME) || artifact.getScope().equals(Artifact.SCOPE_SYSTEM));
     125 + return !artifact.hasClassifier() && (artifact.getScope().equals(Artifact.SCOPE_COMPILE) || artifact.getScope().equals(Artifact.SCOPE_RUNTIME));
    127 126   }
    128 127  
    129 128   public static void writeClasspath(File file, MavenProject project, RepositorySystem repoSystem,
    skipped 404 lines
Please wait...
Page is in error, reload to recover