You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by javijava <we...@gmail.com> on 2007/06/29 09:22:31 UTC
How to declare Snapshot repository?
Sorry if the question is too easy, i'm new with maven. I want declare a
Snapshot but in the release plugin (i think is necessary have snapshot's
to do a release:prepare) i have a "you don't have a SNAPSHOT project in
the reactor projects list" error. Some one knows wuat is wrong??
This is the POM file:
//scm tags because i want work with SVN repository
<scm>
<connection>scm:svn:http://localhost:80/svn/prova/repo/trunk
</connection>
<developerConnection>scm:svn:http://localhost:80/svn/prova/repo/trunk
</developerConnection>
<tag>HEAD</tag>
<url>http://localhost:80/svn/prova/repo/trunk</url>
</scm>
//the place where download files ( i think)
<repositories>
<repository>
<id>prova</id>
<name>prova download</name>
<url>http://localhost:80/svn/prova/repo/trunk</url>
</repository>
<repository>
<id>sprova</id>
<name>repositori snapshot</name>
<url>http://localhost:80/snapshotRepository</url>
</repository>
</repositories>
//the place where deploy files ( i think)
<distributionManagement>
<repository>
<id>prova</id>
<name>prova</name>
<url>sftp://localhost</url>
</repository>
<snapshotRepository>
<id>sprova</id>
<name>repositori snapshot</name>
<url>sftp://localhost/snapshotRepository</url>
</snapshotRepository>
</distributionManagement>
The .m2/settings.xml
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>10.49.1.1</host>
<port>8080</port>
</proxy>
</proxies>
<servers>
<server>
<id>prova</id>
<username>username</username>
<password>passw</password>
</server>
</servers>
Thanks for all.
--
View this message in context: http://www.nabble.com/How-to-declare-Snapshot-repository--tf3998609s177.html#a11356180
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
ClearTool UCM error in Build
Posted by "Choudhary, Jay" <ch...@visa.com>.
Dear All
I am getting below error in our Build Log
checkOut
[exec] cleartool: Error: To operate on UCM branch, must be set to an
activity and a UCM view.
[exec] cleartool: Error: Unable to check out
"/vobs/RCS_3rdParty/MavenRepository/com.visaeu.rcs.application/wars/Onli
ne_WAR-app.war".
BUILD FAILED
File......
/home/users/rcsdev/.maven/nightlyUI/cache/maven-multiproject-plugin-1.3.
1/plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:deploy-callback] --
/vobs/RCS_Build/builds/nightly/maven.xml:88:55: <ant:exec> null
returned: 1
Total time: 2 minutes 57 seconds
Finished at: Fri Jun 29 08:33:40 UTC 2007
I am new to this could any one please help
Regards
-Jay
Re: How to declare Snapshot repository?
Posted by Maria Odea Ching <oc...@exist.com>.
Check the versions of your project(s) if its a snapshot.
You cannot release a project that is no longer a snapshot, because that
would mean it has been released already.
-Deng
javijava wrote:
> Sorry if the question is too easy, i'm new with maven. I want declare a
> Snapshot but in the release plugin (i think is necessary have snapshot's
> to do a release:prepare) i have a "you don't have a SNAPSHOT project in
> the reactor projects list" error. Some one knows wuat is wrong??
>
> This is the POM file:
>
> //scm tags because i want work with SVN repository
>
> <scm>
> <connection>scm:svn:http://localhost:80/svn/prova/repo/trunk
> </connection>
>
> <developerConnection>scm:svn:http://localhost:80/svn/prova/repo/trunk
> </developerConnection>
> <tag>HEAD</tag>
> <url>http://localhost:80/svn/prova/repo/trunk</url>
> </scm>
>
>
> //the place where download files ( i think)
> <repositories>
>
> <repository>
> <id>prova</id>
> <name>prova download</name>
> <url>http://localhost:80/svn/prova/repo/trunk</url>
> </repository>
>
> <repository>
> <id>sprova</id>
> <name>repositori snapshot</name>
> <url>http://localhost:80/snapshotRepository</url>
> </repository>
>
> </repositories>
>
>
>
> //the place where deploy files ( i think)
> <distributionManagement>
>
>
> <repository>
> <id>prova</id>
> <name>prova</name>
> <url>sftp://localhost</url>
> </repository>
>
> <snapshotRepository>
> <id>sprova</id>
> <name>repositori snapshot</name>
> <url>sftp://localhost/snapshotRepository</url>
> </snapshotRepository>
>
>
> </distributionManagement>
>
> The .m2/settings.xml
>
> <proxies>
> <proxy>
> <active>true</active>
> <protocol>http</protocol>
> <host>10.49.1.1</host>
> <port>8080</port>
> </proxy>
> </proxies>
>
>
>
> <servers>
> <server>
> <id>prova</id>
> <username>username</username>
> <password>passw</password>
> </server>
>
> </servers>
>
>
> Thanks for all.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to declare Snapshot repository?
Posted by javijava <we...@gmail.com>.
Ok, i see, it's simple:
ex.
<groupId>example.group</groupId>
<artifactId>myFirstArtifact</artifactId>
<version>0.0.1-SNAPSHOT</version>
Thanks a lot!
--
View this message in context: http://www.nabble.com/How-to-declare-Snapshot-repository--tf3998609s177.html#a11357005
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to declare Snapshot repository?
Posted by javijava <we...@gmail.com>.
Hi,
Thanks 4 reply Tim,sorry but, can you write a little example of syntax of
<version> tag with the '-SNAPSHOT' appended?
Thaks, and sorry because i'm still dummy
--
View this message in context: http://www.nabble.com/How-to-declare-Snapshot-repository--tf3998609s177.html#a11356752
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to declare Snapshot repository?
Posted by Tim Kettler <ti...@udo.edu>.
Hi,
the release plugin expects your project to have a snapshot version when
it's run. The <version/> tag in the pom should have a '-SNAPSHOT'
appended to the current artifact version.
-Tim
javijava schrieb:
> Sorry if the question is too easy, i'm new with maven. I want declare a
> Snapshot but in the release plugin (i think is necessary have snapshot's
> to do a release:prepare) i have a "you don't have a SNAPSHOT project in
> the reactor projects list" error. Some one knows wuat is wrong??
>
> This is the POM file:
>
> //scm tags because i want work with SVN repository
>
> <scm>
> <connection>scm:svn:http://localhost:80/svn/prova/repo/trunk
> </connection>
>
> <developerConnection>scm:svn:http://localhost:80/svn/prova/repo/trunk
> </developerConnection>
> <tag>HEAD</tag>
> <url>http://localhost:80/svn/prova/repo/trunk</url>
> </scm>
>
>
> //the place where download files ( i think)
> <repositories>
>
> <repository>
> <id>prova</id>
> <name>prova download</name>
> <url>http://localhost:80/svn/prova/repo/trunk</url>
> </repository>
>
> <repository>
> <id>sprova</id>
> <name>repositori snapshot</name>
> <url>http://localhost:80/snapshotRepository</url>
> </repository>
>
> </repositories>
>
>
>
> //the place where deploy files ( i think)
> <distributionManagement>
>
>
> <repository>
> <id>prova</id>
> <name>prova</name>
> <url>sftp://localhost</url>
> </repository>
>
> <snapshotRepository>
> <id>sprova</id>
> <name>repositori snapshot</name>
> <url>sftp://localhost/snapshotRepository</url>
> </snapshotRepository>
>
>
> </distributionManagement>
>
> The .m2/settings.xml
>
> <proxies>
> <proxy>
> <active>true</active>
> <protocol>http</protocol>
> <host>10.49.1.1</host>
> <port>8080</port>
> </proxy>
> </proxies>
>
>
>
> <servers>
> <server>
> <id>prova</id>
> <username>username</username>
> <password>passw</password>
> </server>
>
> </servers>
>
>
> Thanks for all.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org