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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to