Several changes in the junit4osgi subproject (copy preparation)
Add LICENCE and NOTICE files
Add licence header
Format the code
The groupId is now org.apache.felix

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@722135 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/examples/junit4osgi/swing-runner/pom.xml b/ipojo/examples/junit4osgi/swing-runner/pom.xml
index fe9b18e..4931067 100644
--- a/ipojo/examples/junit4osgi/swing-runner/pom.xml
+++ b/ipojo/examples/junit4osgi/swing-runner/pom.xml
@@ -21,7 +21,7 @@
 	<packaging>bundle</packaging>

 	<name>Junit4Osgi-Swing-GUI</name>

 	<artifactId>org.apache.felix.ipojo.junit4osgi.swing-gui</artifactId>

-	<groupId>ipojo.examples</groupId>

+	<groupId>org.apache.felix</groupId>

 	<version>1.1.0-SNAPSHOT</version>

 	<dependencies>

 		<dependency>

@@ -30,61 +30,78 @@
 			<version>1.1.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

-			<groupId>org.apache.felix</groupId>

-			<artifactId>org.apache.felix.shell</artifactId>

-			<version>1.0.2</version>

-		</dependency>

-		<dependency>

 			<groupId>junit</groupId>

 			<artifactId>junit</artifactId>

 			<version>3.8.1</version>

 		</dependency>

 	</dependencies>

 	<build>

-		<plugins>

-			<plugin>

-				<groupId>org.apache.maven.plugins</groupId>

-				<artifactId>maven-compiler-plugin</artifactId>

-				<configuration>

-					<source>1.5</source>

-					<target>1.5</target>

-				</configuration>

-			</plugin>

-			<plugin>

-				<groupId>org.apache.felix</groupId>

-				<artifactId>maven-bundle-plugin</artifactId>

-				<version>1.4.3</version>

-				<extensions>true</extensions>

-				<configuration>

-					<instructions>

-						<Bundle-Name>

-							iPOJO OSGi Junit Runner - Swing Gui

-						</Bundle-Name>

-						<Bundle-SymbolicName>

-							${pom.artifactId}

-						</Bundle-SymbolicName>

-						<Private-Package>

-							org.apache.felix.ipojo.junit4osgi.command

-						</Private-Package>

-						<Import-Package>org.osgi.framework;version=1.3,*</Import-Package>

-					</instructions>

-				</configuration>

-			</plugin>

-			<plugin>

-				<groupId>org.apache.felix</groupId>

-				<artifactId>maven-ipojo-plugin</artifactId>

-				<version>1.1.0-SNAPSHOT</version>

-				<executions>

-					<execution>

-						<goals>

-							<goal>ipojo-bundle</goal>

-						</goals>

-						<configuration>

-							<ignoreAnnotations>true</ignoreAnnotations>

-						</configuration>

-					</execution>

-				</executions>

-			</plugin>

-		</plugins>

-	</build>

+	<plugins>

+		<plugin>

+			<groupId>org.apache.maven.plugins</groupId>

+			<artifactId>maven-compiler-plugin</artifactId>

+			<configuration>

+				<source>1.5</source>

+				<target>1.5</target>

+			</configuration>

+		</plugin>

+		<plugin>

+			<groupId>org.apache.felix</groupId>

+			<artifactId>maven-bundle-plugin</artifactId>

+			<version>1.4.3</version>

+			<extensions>true</extensions>

+			<configuration>

+				<instructions>

+					<Bundle-Name> iPOJO OSGi Junit Runner - Swing Gui</Bundle-Name>

+					<Bundle-SymbolicName> ${pom.artifactId}</Bundle-SymbolicName>

+					<Private-Package> org.apache.felix.ipojo.junit4osgi.command

+					</Private-Package>

+					<Import-Package>org.osgi.framework;version=1.3,*

+					</Import-Package>

+				</instructions>

+			</configuration>

+		</plugin>

+		<plugin>

+			<groupId>org.apache.felix</groupId>

+			<artifactId>maven-ipojo-plugin</artifactId>

+			<version>1.1.0-SNAPSHOT</version>

+			<executions>

+				<execution>

+					<goals>

+						<goal>ipojo-bundle</goal>

+					</goals>

+					<configuration>

+						<ignoreAnnotations>true</ignoreAnnotations>

+					</configuration>

+				</execution>

+			</executions>

+		</plugin>

+		<plugin>

+			<groupId>org.codehaus.mojo</groupId>

+			<artifactId>rat-maven-plugin</artifactId>

+			<configuration>

+				<excludeSubProjects>false</excludeSubProjects>

+				<useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>

+				<useMavenDefaultExcludes>true</useMavenDefaultExcludes>

+				<excludes>

+					<param>doc/*</param>

+					<param>maven-eclipse.xml</param>

+					<param>.checkstyle</param>

+					<param>.externalToolBuilders/*</param>

+				</excludes>

+			</configuration>

+		</plugin>

+		<plugin>

+			<groupId>org.apache.maven.plugins</groupId>

+			<artifactId>maven-checkstyle-plugin

+			</artifactId>

+			<configuration>

+				<configLocation>

+					http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml

+				</configLocation>

+				<violationSeverity>error</violationSeverity>

+			</configuration>

+		</plugin>

+	</plugins>

+</build>

 </project>