-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse
pom.xml
without SCM section in `PluginRemoting#retrievePomDat…
…a` (#451)
- Loading branch information
Showing
4 changed files
with
87 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/test/resources/org/jenkins/tools/test/model/scm/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>com.example.jenkins</groupId> | ||
<artifactId>example-parent</artifactId> | ||
<version>4.1</version> | ||
</parent> | ||
<artifactId>example</artifactId> | ||
<packaging>hpi</packaging> | ||
<name>Example</name> | ||
<url>https://jenkins.example.com/example-plugin</url> | ||
</project> |
39 changes: 39 additions & 0 deletions
39
src/test/resources/org/jenkins/tools/test/model/smokes/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.example.jenkins</groupId> | ||
<artifactId>example</artifactId> | ||
<version>4.1</version> | ||
<packaging>hpi</packaging> | ||
<name>Example</name> | ||
<url>https://jenkins.example.com/example-plugin</url> | ||
<licenses> | ||
<license> | ||
<name>The MIT License (MIT)</name> | ||
<url>https://opensource.org/licenses/MIT</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<scm> | ||
<connection>scm:git:https://jenkins.example.com/example-plugin.git</connection> | ||
<developerConnection>scm:git:[email protected]/example-plugin.git</developerConnection> | ||
<tag>example-4.1</tag> | ||
<url>https://jenkins.example.com/example-plugin</url> | ||
</scm> | ||
<distributionManagement> | ||
<repository> | ||
<id>maven.example.com</id> | ||
<url>https://repo.example.com/releases/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>maven.example.com</id> | ||
<url>https://repo.example.com/snapshots/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
<repositories> | ||
<repository> | ||
<id>repo.example.com</id> | ||
<url>https://repo.example.com/public/</url> | ||
</repository> | ||
</repositories> | ||
</project> |