You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Luca Gmail <lu...@gmail.com> on 2005/11/02 15:47:12 UTC
deploying error
Im trying to deploy my artifact to my internal repositpry. When I exceuted
mvn deploy I ahd this error:
[INFO] The packaging for this project did not assign a file to the build
artifact.
Thisi is my pom.xml:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>it.telecomitalia.rossoalice.template</groupId>
<artifactId>simple-servlet</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>Rossoalice Webapp Template</name>
<url>http://www.rossoalice.it</url>
<distributionManagement>
<!-- use the following if you're not using a snapshot version. -->
<repository>
<id>repo</id>
<name>RossoAlice Repo</name>
<url>winscp3://live01:ch3Op3@192.168.25.217/sw/alive/instance/jetty-5.1.5rc2
/docroot/repository</url>
</repository>
<!-- use the following if you ARE using a snapshot version.
<snapshotRepository>
<id>repo</id>
<name>Repository Name</name>
<url>scp://host/path/to/repo</url>
</snapshotRepository>
-->
</distributionManagement>
<repositories>
<repository>
<id>RossoAlice Repo</id>
<url>http://192.168.25.217:8089/pub/maven</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>source</scope>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>alice-commons</groupId>
<artifactId>alice-commons</artifactId>
<version>1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>jsdk</groupId>
<artifactId>jsdk</artifactId>
<version>24</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<finalName>${artifactId}-${version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
<sourceDirectory>src/main/java</sourceDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<targetPath>..</targetPath>
</resource>
</resources>
</build>
</project>
Tnx,
luca
RE: deploying error
Posted by Luca Gmail <lu...@gmail.com>.
But what is the meaning of deploy plugin?
If I follow the maven doc I sould use the deploy plugin if I want to deploy
my artifact to the remote repository. Why you said using the install plugin?
I don't understand. It's seems all so random!!!
tnx,
Luca
-----Original Message-----
From: Yudong Wang [mailto:ydw.wang@gmail.com]
Sent: mercoledì 2 novembre 2005 16.05
To: Maven Users List
Subject: Re: deploying error
Or even simpler:
mvn install
This will install the file in your local repo as defined in your pom.xml.
Otherwise you have to provide all these parameters as Anuerin mentioned.
Yudong
On 11/2/05, Anuerin Diaz <ra...@gmail.com> wrote:
>
> hi,
>
> check your command again to ensure that you are using
> "install:install-file" as shown in
> http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.html
> .
> i encountered that error a while ago and the cause was i did not type
> the "-file" part of the goal. :D
>
> ciao!
>
> On 11/2/05, Luca Gmail <lu...@gmail.com> wrote:
> > Im trying to deploy my artifact to my internal repositpry. When I
> exceuted
> > mvn deploy I ahd this error:
> >
> > [INFO] The packaging for this project did not assign a file to the build
> > artifact.
> >
> <snip>
>
> --
>
> "Programming, an artform that fights back"
>
> Anuerin G. Diaz
> Registered Linux User #246176
> Friendly Linux Board @ http://mandrivausers.org/index.php
> http://capsule.ramfree17.org , when you absolutely have nothing else
> better to do
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: deploying error
Posted by Luca Gmail <lu...@gmail.com>.
It seems is a struggle!!! I work in ditributed environement and I would like
to deploy my artifact in a internal (remote) repository mantaining the
correct versioning. What is the best way to do it? Im a bit cofused about
this argument.
Tnx,
Luca
-----Original Message-----
From: Yudong Wang [mailto:ydw.wang@gmail.com]
Sent: mercoledì 2 novembre 2005 16.05
To: Maven Users List
Subject: Re: deploying error
Or even simpler:
mvn install
This will install the file in your local repo as defined in your pom.xml.
Otherwise you have to provide all these parameters as Anuerin mentioned.
Yudong
On 11/2/05, Anuerin Diaz <ra...@gmail.com> wrote:
>
> hi,
>
> check your command again to ensure that you are using
> "install:install-file" as shown in
> http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.html
> .
> i encountered that error a while ago and the cause was i did not type
> the "-file" part of the goal. :D
>
> ciao!
>
> On 11/2/05, Luca Gmail <lu...@gmail.com> wrote:
> > Im trying to deploy my artifact to my internal repositpry. When I
> exceuted
> > mvn deploy I ahd this error:
> >
> > [INFO] The packaging for this project did not assign a file to the build
> > artifact.
> >
> <snip>
>
> --
>
> "Programming, an artform that fights back"
>
> Anuerin G. Diaz
> Registered Linux User #246176
> Friendly Linux Board @ http://mandrivausers.org/index.php
> http://capsule.ramfree17.org , when you absolutely have nothing else
> better to do
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: deploying error
Posted by Yudong Wang <yd...@gmail.com>.
Or even simpler:
mvn install
This will install the file in your local repo as defined in your pom.xml.
Otherwise you have to provide all these parameters as Anuerin mentioned.
Yudong
On 11/2/05, Anuerin Diaz <ra...@gmail.com> wrote:
>
> hi,
>
> check your command again to ensure that you are using
> "install:install-file" as shown in
> http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.html
> .
> i encountered that error a while ago and the cause was i did not type
> the "-file" part of the goal. :D
>
> ciao!
>
> On 11/2/05, Luca Gmail <lu...@gmail.com> wrote:
> > Im trying to deploy my artifact to my internal repositpry. When I
> exceuted
> > mvn deploy I ahd this error:
> >
> > [INFO] The packaging for this project did not assign a file to the build
> > artifact.
> >
> <snip>
>
> --
>
> "Programming, an artform that fights back"
>
> Anuerin G. Diaz
> Registered Linux User #246176
> Friendly Linux Board @ http://mandrivausers.org/index.php
> http://capsule.ramfree17.org , when you absolutely have nothing else
> better to do
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: deploying error
Posted by Anuerin Diaz <ra...@gmail.com>.
hi,
check your command again to ensure that you are using
"install:install-file" as shown in
http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.html.
i encountered that error a while ago and the cause was i did not type
the "-file" part of the goal. :D
ciao!
On 11/2/05, Luca Gmail <lu...@gmail.com> wrote:
> Im trying to deploy my artifact to my internal repositpry. When I exceuted
> mvn deploy I ahd this error:
>
> [INFO] The packaging for this project did not assign a file to the build
> artifact.
>
<snip>
--
"Programming, an artform that fights back"
Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org