mirror of
https://github.com/theonedev/onedev.git
synced 2025-12-08 18:26:30 +00:00
consider system scoped dependency in plugin.maven
This commit is contained in:
parent
70369cb4f0
commit
6f2a924693
@ -19,6 +19,7 @@
|
||||
<module>../commons.hibernate</module>
|
||||
<module>../commons.wicket</module>
|
||||
<module>../commons.tapestry</module>
|
||||
<module>../commons.product</module>
|
||||
</modules>
|
||||
<repositories>
|
||||
<repository>
|
||||
|
||||
@ -155,7 +155,7 @@
|
||||
<plugin>
|
||||
<groupId>com.pmease</groupId>
|
||||
<artifactId>plugin.maven</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<version>1.0.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>check-project-dependencies</id>
|
||||
|
||||
@ -121,7 +121,8 @@ public class PluginUtils {
|
||||
}
|
||||
|
||||
public static boolean isRuntimeArtifact(Artifact artifact) {
|
||||
return artifact.getScope().equals(Artifact.SCOPE_COMPILE) || artifact.getScope().equals(Artifact.SCOPE_RUNTIME);
|
||||
return artifact.getScope().equals(Artifact.SCOPE_COMPILE) || artifact.getScope().equals(Artifact.SCOPE_RUNTIME)
|
||||
|| artifact.getScope().equals(Artifact.SCOPE_SYSTEM);
|
||||
}
|
||||
|
||||
public static void writeClasspath(File file, MavenProject project, RepositorySystem repoSystem,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user