Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Major POM cleanup

  • Loading branch information...
commit c48a56eb5d999d84a6676d9ed98cd8c872f7ee77 1 parent 8ed8ebf
David M. Lloyd dmlloyd authored

Showing 1 changed file with 107 additions and 170 deletions. Show diff stats Hide diff stats

  1. +107 170 pom.xml
277 pom.xml
... ... @@ -1,181 +1,118 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +
  3 +<!--
  4 + ~ JBoss, Home of Professional Open Source.
  5 + ~ Copyright 2011, Red Hat, Inc., and individual contributors
  6 + ~ as indicated by the @author tags. See the copyright.txt file in the
  7 + ~ distribution for a full listing of individual contributors.
  8 + ~
  9 + ~ This is free software; you can redistribute it and/or modify it
  10 + ~ under the terms of the GNU Lesser General Public License as
  11 + ~ published by the Free Software Foundation; either version 2.1 of
  12 + ~ the License, or (at your option) any later version.
  13 + ~
  14 + ~ This software is distributed in the hope that it will be useful,
  15 + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  16 + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17 + ~ Lesser General Public License for more details.
  18 + ~
  19 + ~ You should have received a copy of the GNU Lesser General Public
  20 + ~ License along with this software; if not, write to the Free
  21 + ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  22 + ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  23 + -->
  24 +
1 25 <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 http://maven.apache.org/maven-v4_0_0.xsd">
2   - <parent>
3   - <groupId>org.jboss</groupId>
4   - <artifactId>jboss-parent</artifactId>
5   - <version>5</version>
6   - </parent>
7   - <modelVersion>4.0.0</modelVersion>
8   - <groupId>org.jboss</groupId>
9   - <artifactId>jboss-vfs</artifactId>
10   - <packaging>jar</packaging>
11   - <version>3.0.0-SNAPSHOT</version>
12   - <name>JBoss VFS</name>
13   - <url>http://www.jboss.org</url>
14   - <description>A VFS library</description>
15   - <scm>
16   - <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk</connection>
17   - <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/vfs/trunk</developerConnection>
18   - <url>https://svn.jboss.org/repos/jbossas/projects/vfs/trunk</url>
19   - </scm>
20   - <licenses>
21   - <license>
22   - <name>lgpl</name>
23   - <url>http://repository.jboss.org/licenses/lgpl.txt</url>
24   - </license>
25   - </licenses>
26   - <organization>
27   - <name>JBoss, A division of Red Hat, Inc</name>
28   - <url>http://www.jboss.org</url>
29   - </organization>
30 26
31   - <properties>
32   - <version.jboss.common.core>2.2.17.GA</version.jboss.common.core>
33   - <version.jboss.logging>2.2.0.CR1</version.jboss.logging>
34   - <version.jboss.test>1.1.5.GA</version.jboss.test>
35   - <version.junit>4.4</version.junit>
36   - </properties>
  27 + <parent>
  28 + <groupId>org.jboss</groupId>
  29 + <artifactId>jboss-parent</artifactId>
  30 + <version>6-beta-2</version>
  31 + </parent>
37 32
38   - <build>
39   - <sourceDirectory>src/main/java</sourceDirectory>
40   - <testSourceDirectory>src/test/java</testSourceDirectory>
41   - <finalName>${artifactId}</finalName>
42   - <testResources>
43   - <testResource>
44   - <directory>src/test/resources</directory>
45   - </testResource>
46   - </testResources>
47   - <plugins>
48   -
49   - <!-- define how we want compilation to take place
50   - here, we accept most of the defaults but say that we want the
51   - optimization flag set, and define the source and target to be 1.5,
52   - these setting will be inherited by child projects -->
53   - <plugin>
54   - <groupId>org.apache.maven.plugins</groupId>
55   - <artifactId>maven-compiler-plugin</artifactId>
56   - <version>2.0</version>
57   - <configuration>
58   - <debug>true</debug>
59   - <source>1.6</source>
60   - <target>1.6</target>
61   - </configuration>
62   - </plugin>
63   - <!-- define that we wish to create src jars -->
64   - <plugin>
65   - <artifactId>maven-source-plugin</artifactId>
66   - <inherited>true</inherited>
67   - <executions>
68   - <execution>
69   - <goals>
70   - <goal>jar</goal>
71   - </goals>
72   - </execution>
73   - </executions>
74   - </plugin>
  33 + <modelVersion>4.0.0</modelVersion>
  34 + <groupId>org.jboss</groupId>
  35 + <artifactId>jboss-vfs</artifactId>
  36 + <packaging>jar</packaging>
  37 + <version>3.0.0-SNAPSHOT</version>
  38 + <name>JBoss VFS</name>
  39 + <url>http://www.jboss.org</url>
  40 + <description>A VFS library</description>
75 41
76   - <plugin>
77   - <groupId>org.apache.maven.plugins</groupId>
78   - <artifactId>maven-enforcer-plugin</artifactId>
79   - <version>1.0-beta-1</version>
80   - <executions>
81   - <execution>
82   - <id>enforce-java-maven-versions</id>
83   - <goals>
84   - <goal>enforce</goal>
85   - </goals>
86   - <configuration>
87   - <rules>
88   - <requireJavaVersion>
89   - <version>1.6</version>
90   - </requireJavaVersion>
91   - </rules>
92   - </configuration>
93   - </execution>
94   - </executions>
95   - </plugin>
  42 + <licenses>
  43 + <license>
  44 + <name>lgpl</name>
  45 + <url>http://repository.jboss.org/licenses/lgpl.txt</url>
  46 + </license>
  47 + </licenses>
96 48
97   - <plugin>
98   - <groupId>org.apache.maven.plugins</groupId>
99   - <artifactId>maven-surefire-plugin</artifactId>
100   - <version>2.4.3</version>
101   - <configuration>
102   - <forkMode>always</forkMode> <!-- required to correctly run the PojoServer tests -->
103   - <useSystemClassLoader>true</useSystemClassLoader>
104   - <redirectTestOutputToFile>true</redirectTestOutputToFile>
105   - <testFailureIgnore>true</testFailureIgnore>
106   - </configuration>
107   - </plugin>
108   - <plugin>
109   - <groupId>org.apache.maven.plugins</groupId>
110   - <artifactId>maven-release-plugin</artifactId>
111   - <version>2.0-beta-9</version>
112   - <configuration>
113   - <tagBase>https://svn.jboss.org/repos/jbossas/projects/vfs/tags</tagBase>
114   - </configuration>
115   - </plugin>
116   - </plugins>
  49 + <organization>
  50 + <name>JBoss, A division of Red Hat, Inc</name>
  51 + <url>http://www.jboss.org</url>
  52 + </organization>
117 53
118   - <pluginManagement>
119   - <plugins>
120   - <plugin>
121   - <groupId>org.apache.maven.plugins</groupId>
122   - <artifactId>maven-idea-plugin</artifactId>
123   - <version>2.2</version>
124   - <configuration>
125   - <downloadSources>true</downloadSources>
126   - </configuration>
127   - </plugin>
128   - </plugins>
129   - </pluginManagement>
  54 + <properties>
  55 + <version.jboss.common.core>2.2.17.GA</version.jboss.common.core>
  56 + <version.jboss.logging>3.0.0.CR1</version.jboss.logging>
  57 + <version.jboss.test>1.1.5.GA</version.jboss.test>
  58 + <version.junit>4.4</version.junit>
  59 + </properties>
130 60
131   - </build>
  61 + <build>
  62 + <plugins>
  63 + <plugin>
  64 + <groupId>org.apache.maven.plugins</groupId>
  65 + <artifactId>maven-surefire-plugin</artifactId>
  66 + <version>2.4.3</version>
  67 + <configuration>
  68 + <forkMode>always</forkMode>
  69 + <!-- required to correctly run the PojoServer tests -->
  70 + <useSystemClassLoader>true</useSystemClassLoader>
  71 + <redirectTestOutputToFile>true</redirectTestOutputToFile>
  72 + <testFailureIgnore>true</testFailureIgnore>
  73 + </configuration>
  74 + </plugin>
  75 + </plugins>
132 76
133   - <reporting>
134   - <plugins>
135   - <plugin>
136   - <groupId>org.codehaus.mojo</groupId>
137   - <artifactId>findbugs-maven-plugin</artifactId>
138   - <version>2.0.1</version>
139   - <configuration>
140   - <findbugsXmlOutput>true</findbugsXmlOutput>
141   - <!-- Optional directory to put findbugs xml report -->
142   - <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
143   - </configuration>
144   - </plugin>
145   - </plugins>
146   - </reporting>
  77 + <pluginManagement>
  78 + <plugins>
  79 + <plugin>
  80 + <groupId>org.apache.maven.plugins</groupId>
  81 + <artifactId>maven-idea-plugin</artifactId>
  82 + <version>2.2</version>
  83 + <configuration>
  84 + <downloadSources>true</downloadSources>
  85 + </configuration>
  86 + </plugin>
  87 + </plugins>
  88 + </pluginManagement>
  89 + </build>
147 90
148   - <dependencies>
149   - <dependency>
150   - <groupId>org.jboss.logging</groupId>
151   - <artifactId>jboss-logging-spi</artifactId>
152   - <version>${version.jboss.logging}</version>
153   - <scope>compile</scope>
154   - </dependency>
155   - <dependency>
156   - <groupId>org.jboss</groupId>
157   - <artifactId>jboss-common-core</artifactId>
158   - <version>${version.jboss.common.core}</version>
159   - <scope>provided</scope>
160   - </dependency>
161   - <dependency>
162   - <groupId>org.jboss.logging</groupId>
163   - <artifactId>jboss-logging-log4j</artifactId>
164   - <version>${version.jboss.logging}</version>
165   - <scope>provided</scope>
166   - </dependency>
167   - <dependency>
168   - <groupId>org.jboss.test</groupId>
169   - <artifactId>jboss-test</artifactId>
170   - <version>${version.jboss.test}</version>
171   - <scope>test</scope>
172   - </dependency>
173   - <dependency>
174   - <groupId>junit</groupId>
175   - <artifactId>junit</artifactId>
176   - <version>${version.junit}</version>
177   - <scope>test</scope>
178   - </dependency>
179   - </dependencies>
  91 + <dependencies>
  92 + <dependency>
  93 + <groupId>org.jboss.logging</groupId>
  94 + <artifactId>jboss-logging</artifactId>
  95 + <version>${version.jboss.logging}</version>
  96 + <scope>compile</scope>
  97 + </dependency>
  98 + <dependency>
  99 + <groupId>org.jboss</groupId>
  100 + <artifactId>jboss-common-core</artifactId>
  101 + <version>${version.jboss.common.core}</version>
  102 + <scope>provided</scope>
  103 + </dependency>
  104 + <dependency>
  105 + <groupId>org.jboss.test</groupId>
  106 + <artifactId>jboss-test</artifactId>
  107 + <version>${version.jboss.test}</version>
  108 + <scope>test</scope>
  109 + </dependency>
  110 + <dependency>
  111 + <groupId>junit</groupId>
  112 + <artifactId>junit</artifactId>
  113 + <version>${version.junit}</version>
  114 + <scope>test</scope>
  115 + </dependency>
  116 + </dependencies>
180 117
181 118 </project>

0 comments on commit c48a56e

Please sign in to comment.
Something went wrong with that request. Please try again.