Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the build by copying in the Hudson parent pom.

Previously this hudson-git2 project was built within the Hudson svn tree where
the ../pom.xml reference just worked.

Now that the projects lives in its own repo, Maven (surprisingly) lets us just
copy/paste the Hudson pom over to where we can reference it without the rest of
the Hudson svn tree around.
  • Loading branch information...
commit 94dc759c8be81fc9a95ae67e47b581a1861a33f3 1 parent 151f934
@stephenh authored
Showing with 127 additions and 1 deletion.
  1. +126 −0 pom-hudson.xml
  2. +1 −1  pom.xml
View
126 pom-hudson.xml
@@ -0,0 +1,126 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jvnet.hudson</groupId>
+ <artifactId>hudson</artifactId>
+ <version>1.6</version>
+ <packaging>pom</packaging>
+
+ <name>Hudson</name>
+ <url>https://hudson.dev.java.net/</url>
+
+ <scm>
+ <connection>scm:svn:https://svn.dev.java.net/svn/hudson/trunk/hudson/</connection>
+ <developerConnection>scm:svn:https://svn.dev.java.net/svn/hudson/trunk/hudson/</developerConnection>
+ <url>https://hudson.dev.java.net/source/browse/hudson/trunk/hudson</url>
+ </scm>
+
+ <repositories>
+ <repository>
+ <id>m.g.o-public</id>
+ <url>http://maven.glassfish.org/content/groups/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>m.g.o-public</id>
+ <url>http://maven.glassfish.org/content/groups/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <distributionManagement>
+ <repository>
+ <uniqueVersion>false</uniqueVersion>
+ <id>java.net-m2-repository</id>
+ <!--url>svn:https://svn.dev.java.net/svn/maven2-repository/trunk/www/repository/</url-->
+ <url>java-net:/maven2-repository/trunk/www/repository/</url>
+ </repository>
+ <snapshotRepository>
+ <!-- prevent accidental deployment of SNAPSHOTS to repository -->
+ <id>local</id>
+ <url>file:.</url>
+ </snapshotRepository>
+ </distributionManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>display-info</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-idea-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <jdkName>JDK1.5</jdkName>
+ </configuration>
+ </plugin>
+ </plugins>
+ <extensions>
+ <extension>
+ <groupId>org.jvnet.wagon-svn</groupId>
+ <artifactId>wagon-svn</artifactId>
+ <version>1.8</version>
+ </extension>
+ </extensions>
+ </build>
+
+ <modules>
+ <module>main</module>
+ <module>tools</module>
+ <module>plugins</module>
+ </modules>
+
+ <profiles>
+ <profile>
+ <id>always-check-remote-repositories</id>
+ <properties>
+ <maven.repository.update.freqency>always</maven.repository.update.freqency>
+ </properties>
+ </profile>
+ </profiles>
+ <properties>
+ <!-- by default only check remote repositories once per week -->
+ <maven.repository.update.freqency>interval:10080</maven.repository.update.freqency>
+
+ <!-- the version of Maven that we embed in Hudson -->
+ <maven.version>2.0.4</maven.version>
+ </properties>
+</project>
View
2  pom.xml
@@ -4,7 +4,7 @@
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.235</version>
- <relativePath>../pom.xml</relativePath>
+ <relativePath>pom-hudson.xml</relativePath>
</parent>
<artifactId>git</artifactId>
Please sign in to comment.
Something went wrong with that request. Please try again.