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/07/03 13:15:26 UTC

the standard svn directory structure

Sorry, if this is very,very basic .....

I need to know a rigth configuration...

For example: If i have a project called 'autentia':

The Subversion directories must be:

server/autentia/trunk
server/autentia/branches
server/autentia/tags


well......

Now, how must be the POM file... something like this: ???


 <scm><connection>scm:svn:http://server/autentia</connection>
       
<developerConnection>scm:svn:http://server/autentia</developerConnection>
        <url>http://server/autentia</url>
    </scm>



    <repositories>
               <repository>
            <id>repo</id>
            <name>repo download</name>
            <url>http://server/autentia/trunk</url>
        </repository>
  </repositories>

<distributionManagement>
   
       
        <repository>
            <id>repo</id>
            <name>repo upload</name>
           <url>scp://lserver/autentia/trunk</url>
        </repository>

       <snapshotRepository>
            <id>srepo</id>
            <name>repositori up</name>
            <url>scp://server/autentia/tags</url>
        </snapshotRepository>  

</distributionManagement>

 <build>
        <plugins>
            <plugin>
                <artifactId>maven-release-plugin</artifactId>
                    <configuration>
                        <password>passw</password>
                        <tagBase>svn://server/autentia/trunk</tagBase>
                    </configuration>
            </plugin>
        </plugins>
      
    </build>

¿¿¿¿¿???

Many thanks for the answers ,i need it.

Javier 
-- 
View this message in context: http://www.nabble.com/the-standard-svn-directory-structure-tf4017657s177.html#a11410143
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: the standard svn directory structure

Posted by javijava <we...@gmail.com>.
Well, now only have in the POM this:


    <scm>

<connection>scm:svn:http://localhost/svn/prova/repo/autentia/trunk</connection>         
<developerConnection>scm:svn:http://localhost/svn/prova/repo/autentia/trunk</developerConnection>       
<url>http://localhost/svn/prova/repo/autentia/trunk</url>
    </scm>

But i have the same error. Any idea to have a good release:prepare???

Javier
-- 
View this message in context: http://www.nabble.com/the-standard-svn-directory-structure-tf4017657s177.html#a11412529
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: the standard svn directory structure

Posted by Emmanuel Venisse <em...@venisse.net>.
Why do you put svn url in repository and distribution management?

I don't think //server/autentia/tags is accessible with scp.

scm connection and scm developerConnection URLs must be ended by /trunk
<url> too.

Emmanuel

javijava a écrit :
> Sorry, if this is very,very basic .....
> 
> I need to know a rigth configuration...
> 
> For example: If i have a project called 'autentia':
> 
> The Subversion directories must be:
> 
> server/autentia/trunk
> server/autentia/branches
> server/autentia/tags
> 
> 
> well......
> 
> Now, how must be the POM file... something like this: ???
> 
> 
>  <scm><connection>scm:svn:http://server/autentia</connection>
>        
> <developerConnection>scm:svn:http://server/autentia</developerConnection>
>         <url>http://server/autentia</url>
>     </scm>
> 
> 
> 
>     <repositories>
>                <repository>
>             <id>repo</id>
>             <name>repo download</name>
>             <url>http://server/autentia/trunk</url>
>         </repository>
>   </repositories>
> 
> <distributionManagement>
>    
>        
>         <repository>
>             <id>repo</id>
>             <name>repo upload</name>
>            <url>scp://lserver/autentia/trunk</url>
>         </repository>
> 
>        <snapshotRepository>
>             <id>srepo</id>
>             <name>repositori up</name>
>             <url>scp://server/autentia/tags</url>
>         </snapshotRepository>  
> 
> </distributionManagement>
> 
>  <build>
>         <plugins>
>             <plugin>
>                 <artifactId>maven-release-plugin</artifactId>
>                     <configuration>
>                         <password>passw</password>
>                         <tagBase>svn://server/autentia/trunk</tagBase>
>                     </configuration>
>             </plugin>
>         </plugins>
>       
>     </build>
> 
> ¿¿¿¿¿???
> 
> Many thanks for the answers ,i need it.
> 
> Javier 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org