How did I create an executable jar with dependencies with maven..

..and started it with Spring profiles?

We are talking about this example..

I added a MANIFEST.MF file under resources/META-INF folder. Contents as seen below:
Main-Class: biz.tugay.sakilaconsole.AppBootstrap
 

And in pom.xml this is new:
<plugin>
    <artifactId>maven-assembly-plugin</artifactId>
    <executions>
        <execution>
            <phase>package</phase>
            <goals>
                <goal>single</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <archive>
            <manifest>
                <addClasspath>true</addClasspath>
                <mainClass>biz.tugay.sakilaconsole.AppBootstrap</mainClass>
            </manifest>
        </archive>
        <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
        </descriptorRefs>
    </configuration>
</plugin>

And after mvn clean install all I had to do was:
java -jar -Dspring.profiles.active=base,console sakilaconsole-1.0-SNAPSHOT-jar-with-dependencies.jar