I have maven project with main and test subfolders under folder src. However, when I build maven jar, I dont see test files in jar file (I do see files that were there in src/main; I dont see test files from src/test)
 [xx@localhost target]$ jar tvf cbm.jar | grep *Test*
 [xx@localhost target]$ 
Here is my pom.xml
  <build>
<plugins>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
    </plugin>
</plugins>
<pluginManagement>
        <plugins>
            <plugin>
            <!-- https://maven.apache.org/plugins/maven-assembly-plugin/examples/index.html -->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <archive>
                        <manifest>
                            <mainClass>Main</mainClass>
                        </manifest>
                    </archive>
                    <finalName>afloat</finalName>
                 <appendAssemblyId>false</appendAssemblyId>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </pluginManagement>
</build>
EDIT @azurefrog: I am having issues in production and need to run the test cases on production machine.