diff --git a/plugin/src/main/java/org/wildfly/swarm/plugin/CreateMojo.java b/plugin/src/main/java/org/wildfly/swarm/plugin/CreateMojo.java
index <HASH>..<HASH> 100644
--- a/plugin/src/main/java/org/wildfly/swarm/plugin/CreateMojo.java
+++ b/plugin/src/main/java/org/wildfly/swarm/plugin/CreateMojo.java
@@ -405,6 +405,9 @@ public class CreateMojo extends AbstractSwarmMojo {
     }
 
     private void addProjectDependenciesToRepository() throws MojoFailureException {
+        if ( ! this.project.getPackaging().equals( "jar" ) ) {
+            return;
+        }
 
         File depsTxt = new File(this.dir, "dependencies.txt");
         try {
Don't include application dependencies if the application is a war/ear/whatever.