Hello,

i try to deploy a .war to our release repository, but mvn deploy fails with this message:

[INFO] [install:install]
[INFO] No primary artifact to install, installing attached artifacts instead. [INFO] Installing /home/delbd/dev/workspaces/intranet/RMI_intranet/target/intranet-1.0-SNAPSHOT-production.war to /home/delbd/.m2/repository/be/meteo/intranet/1.0-SNAPSHOT/intranet-1.0-SNAPSHOT-production.war
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from restricted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: /home/delbd/dev/workspaces/intranet/RMI_intranet/target/classes (Is a directory)
Why does it try to deploy my target/classes folder? I saw no option in maven deploy plugin documentation about how to specify which archetype to upload.

The only particularities that may have influence on process are below. Any suggestion on what's wrong?

Thanks
      <plugin>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
<classifier>${webapp.classifier}</classifier> <warSourceDirectory>webapp</warSourceDirectory>
          <webResources>
            <resource>
              <!-- this is relative to the pom.xml directory -->
              <directory>configSets/${config.configSet}</directory>
            </resource>
            <resource>
              <!-- this is relative to the pom.xml directory -->
<directory>${project.build.directory}/mergedFiles</directory>
            </resource>
          </webResources>
        </configuration>
      </plugin>
    <profile>
        <id>production</id>
        <activation>
          <property>
            <name>type</name>
            <value>production</value>
          </property>
</activation> <properties>
        <config.configSet>production</config.configSet>
        <webapp.classifier>production</webapp.classifier>
      </properties>
    </profile>

--
David Delbecq
Institut Royal Météorologique
Ext:557


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to