title: Maven - webstart could not be activated
body: <p>I am trying to launch a <a href="https://github.com/dunnololda/scage" rel="nofollow">Scage</a> Project. I never used maven before. </p>
  
  <p>I created a pom.xml file and downloaded the files with intellij </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;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"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;ScageTest&lt;/groupId&gt;
      &lt;artifactId&gt;ScageTest&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;repositories&gt;
  
          &lt;repository&gt;
              &lt;id&gt;scage&lt;/id&gt;
              &lt;name&gt;Scage Maven Repo&lt;/name&gt;
              &lt;url&gt;http://scage.googlecode.com/svn/maven-repository&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;dependencies&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;su.msk.dunno&lt;/groupId&gt;
              &lt;artifactId&gt;scage&lt;/artifactId&gt;
              &lt;version&gt;0.9&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
  
  &lt;/project&gt;
  </code></pre>
  
  <p>This worked just fine. I also created the main file, as pointed in the tutorial</p>
  
  <pre><code>import net.scage.ScageScreenApp
  import net.scage.ScageLib._
  import net.scage.support.Vec
  
      object HelloWorldExample extends ScageScreenApp("Hello World") {
        private var ang = 0f
        actionStaticPeriod(100) {
          ang += 5
        }
  
        backgroundColor = BLACK
        render {
          openglMove(windowSize/2)
          openglRotate(ang)
          print("Hello World!", Vec(-50, -5), GREEN)
        }
      }
  </code></pre>
  
  <p>As pointed in the tutorial I have to use this command to build it <code>mvn clean package -Pwebstart</code> </p>
  
  <p>log:</p>
  
  <pre><code>-------------------------------------------------------
   T E S T S
  -------------------------------------------------------
  
  Results :
  
  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
  
  [INFO]
  [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ ScageTest ---
  [WARNING] JAR will be empty - no content was marked for inclusion!
  [INFO] Building jar: C:\Users\kanta\IdeaProjects\ScageTest\target\ScageTest-1.0.
  jar
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.922s
  [INFO] Finished at: Mon Oct 29 23:40:07 CET 2012
  [INFO] Final Memory: 4M/15M
  [INFO] ------------------------------------------------------------------------
  [WARNING] The requested profile "webstart" could not be activated because it doe
  s not exist.
  </code></pre>
  
  <p>Now the output is a <code>.jar file</code> instead of a <code>.jnlp file</code>, also nothing happens if I doubleclick the .jar file.</p>
  
  <p>Any ideas what went wrong?</p>