Rat (Release Audit Tool) results

The following document contains the results of Rat (Release Audit Tool).

*****************************************************
Summary
-------
Generated at: 2020-07-18T16:15:43+05:30

Notes: 0
Binaries: 0
Archives: 0
Standards: 12

Apache Licensed: 9
Generated Documents: 0

JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.

3 Unknown Licenses

*****************************************************

Files with unapproved licenses:

  pom.xml
  src/main/java/com/jcg/maven/rat/service/impl/Truck.java
  src/main/java/com/jcg/maven/rat/factory/VehicleFactory.java

*****************************************************

*****************************************************
  Files with Apache License headers will be marked AL
  Binary files (which do not require any license headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc. will be marked N
 !????? pom.xml
  AL    src/main/resources/pom-files-examples/section-2.1.pom.xml
  AL    src/main/resources/pom-files-examples/pom.xml
  AL    src/main/java/META-INF/MANIFEST.MF
  AL    src/main/java/com/jcg/maven/rat/launcher/VehicleLauncher.java
 !????? src/main/java/com/jcg/maven/rat/service/impl/Truck.java
  AL    src/main/java/com/jcg/maven/rat/service/impl/Truck.java.new
  AL    src/main/java/com/jcg/maven/rat/service/impl/Motorcycle.java
  AL    src/main/java/com/jcg/maven/rat/service/impl/Car.java
  AL    src/main/java/com/jcg/maven/rat/service/Vehicle.java
 !????? src/main/java/com/jcg/maven/rat/factory/VehicleFactory.java
  AL    src/main/java/com/jcg/maven/rat/factory/VehicleFactory.java.new
 
*****************************************************

 Printing headers for text files without a valid license header...
 
=====================================================
== File: pom.xml
=====================================================
<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.jcg.maven</groupId>
	<artifactId>rat-plugin</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<dependencies>
		<dependency>
			<groupId>org.apache.rat</groupId>
			<artifactId>apache-rat-plugin</artifactId>
			<version>0.13</version>
		</dependency>
	</dependencies>
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.rat</groupId>
				<artifactId>apache-rat-plugin</artifactId>
				<version>0.13</version>
			</plugin>
		</plugins>
	</reporting>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.rat</groupId>
				<artifactId>apache-rat-plugin</artifactId>
				<version>0.13</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<version>3.9.1</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.8.0</version>
				<configuration>
					<release>11</release>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>

=====================================================
== File: src/main/java/com/jcg/maven/rat/service/impl/Truck.java
=====================================================
package com.jcg.maven.rat.service.impl;

import com.jcg.maven.rat.service.Vehicle;

public class Truck implements Vehicle {

	public void drive() {
		System.out.println("Driving A Truck");
	}

	public void breaq() {
		System.out.println("Breaking A Truck");
	}
}

=====================================================
== File: src/main/java/com/jcg/maven/rat/factory/VehicleFactory.java
=====================================================
/**
 * Java Code Geeks Custom License 1.0
 *
 * Long text, specifying the copyrights etc.
 */
package com.jcg.maven.rat.factory;

import com.jcg.maven.rat.service.Vehicle;
import com.jcg.maven.rat.service.impl.Car;
import com.jcg.maven.rat.service.impl.Motorcycle;
import com.jcg.maven.rat.service.impl.Truck;

public class VehicleFactory {

	private static VehicleFactory INSTANCE = new VehicleFactory();

	public static VehicleFactory factory() {
		return INSTANCE;
	}

	public Vehicle getVehcile(String vehicleType) {
		switch (vehicleType.toUpperCase()) {
		case "CAR":
			return new Car();
		case "TRUCK":
			return new Truck();
		case "MOTORCYCLE":
			return new Motorcycle();
		default:
			return null;
		}
	}
}