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.hibernate</module>
|
||||||
<module>../commons.wicket</module>
|
<module>../commons.wicket</module>
|
||||||
<module>../commons.tapestry</module>
|
<module>../commons.tapestry</module>
|
||||||
|
<module>../commons.product</module>
|
||||||
</modules>
|
</modules>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
|||||||
@ -48,7 +48,7 @@
|
|||||||
<groupId>org.got5</groupId>
|
<groupId>org.got5</groupId>
|
||||||
<artifactId>tapestry5-jquery</artifactId>
|
<artifactId>tapestry5-jquery</artifactId>
|
||||||
<version>3.2.0</version>
|
<version>3.2.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
|||||||
@ -155,7 +155,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.pmease</groupId>
|
<groupId>com.pmease</groupId>
|
||||||
<artifactId>plugin.maven</artifactId>
|
<artifactId>plugin.maven</artifactId>
|
||||||
<version>1.0.7</version>
|
<version>1.0.8</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>check-project-dependencies</id>
|
<id>check-project-dependencies</id>
|
||||||
|
|||||||
@ -121,7 +121,8 @@ public class PluginUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isRuntimeArtifact(Artifact artifact) {
|
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,
|
public static void writeClasspath(File file, MavenProject project, RepositorySystem repoSystem,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user