■ ■ ■ ■ ■ ■
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 |