Thank You Tomer, very much.

I was (very tired) and hampered by the fact that I am try to rebuild my
artifactory.
My earlier 2.0.6 was corrupt. It contained many already released items that
I
am attempting to rebuild from svn tags and redeploy to the new artifactory.
Needless to say, I dont want to be changing the tagged content to get this
working.

So I changed the server IDs in settings.xml instead and of course
then was confused for a bit as (i think) the same returned error code was
attempting to tell me that I had the password wrong.
I am successfully repopulating now.

Best Regards,
Gord Cody

On Wed, May 5, 2010 at 4:53 AM, Tomer Cohen <[email protected]> wrote:

>  Hi Gordon,
>
> Looking at your pom, please make sure that the ID of the repository that
> you want to deploy to is the same as in your settings.xml, e.g. if you have
> a server ID of repo.zafinlabs.com in your settings.xml, the same must be
> in your distributionManagement repository ID (right now in your
> distributionManagement it is "libs-releases")
>
> HTH
>
> Tomer Cohen
> The Artifactory Team.
>
>
>  On 05/05/2010 10:32 AM, Gordon Cody wrote:
>
>   Hello List
>
> I have just installed artifactory2.2.3. I use maven 2.0.9.
> I can manually deploy artifacts after logging in as admin. Good.
>
> Artifactory caches artifacts coming from external repos, (repo1, etc) on
> mvn clean, mvn install, etc. etc. Also good.
>
> mvn deploy is failing. I have tried a dozen combinations of settings,
> users,
> to no avail. undoubtedly it is something dumb.
>
> the latest details:
>
> request.log:
>
> 20100505061215|91|REQUEST|192.168.10.77|non_authenticated_user|PUT|/libs-releases-local/com/zafinlabs/projects/misite-project/1.0/misite-project-1.0.pom|HTTP/1.1|401|6158
>
> access.log
> 2010-05-05 06:12:15,060 [[DENIED DEPLOY]
> libs-releases-local:com/zafinlabs/projects/misite-project/1.0/misite-project-1.0.pom
> for anonymous/192.168.10.77
> mvn help:effective-setings
>
> <settings 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/xsd/settings-1.0.0.xsd";>
>   <localRepository>C:\Documents and
> Settings\test\.m2\repository</localRepository>
>   <servers>
>     <server>
>       <username>deployer</username>
>       <password>***</password>
>       <id>repo.zafinlabs.com</id>
>     </server>
>     <server>
>       <username>deployer</username>
>       <password>***</password>
>       <id>libs-releases-local</id>
>     </server>
>     <server>
>       <username>deployer</username>
>       <password>***</password>
>       <id>libs-snapshots-local</id>
>     </server>
>   </servers>
>   <mirrors>
>     <mirror>
>       <mirrorOf>*</mirrorOf>
>       <name>remote-repos</name>
>       <url>http://repo.myrepo.com:8081/artifactory/remote-repos</url>
>       <id>remote-repos</id>
>     </mirror>
>   </mirrors>
>   <profiles>
>     <profile>
>       <repositories>
>         <repository>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>libs-releases-local</id>
>           <name>libs-releases-local</name>
>           <url>http://repo.myrepo.com:8081/artifactory/libs-releases</url>
>         </repository>
>         <repository>
>           <snapshots />
>           <id>libs-snapshots-local</id>
>           <name>libs-snapshots-local</name>
>           <url>http://repo.myrepo.com:8081/artifactory/libs-snapshots
> </url>
>         </repository>
>       </repositories>
>       <pluginRepositories>
>         <pluginRepository>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>central</id>
>           <name>plugins-releases-local</name>
>           <url>http://repo.myrepo.com:8081/artifactory/plugins-releases
> </url>
>         </pluginRepository>
>         <pluginRepository>
>           <snapshots />
>           <id>snapshots</id>
>           <name>plugins-snapshots-local</name>
>           <url>http://repo.myrepo.com:8081/artifactory/plugins-snapshots
> </url>
>         </pluginRepository>
>       </pluginRepositories>
>       <id>artifactory</id>
>     </profile>
>   </profiles>
>   <activeProfiles>
>     <activeProfile>artifactory</activeProfile>
>   </activeProfiles>
> </settings>
>
>
> mvn help:effective-pom
> <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>com.zafinlabs.projects</groupId>
>   <artifactId>misite-project</artifactId>
>   <packaging>pom</packaging>
>   <name>misite-project</name>
>   <version>1.0</version>
>   <url>http://misite-project.projects.zafinlabs.com</url>
>   <organization>
>     <name>Zafin Labs Inc.</name>
>     <url>http://www.zafinlabs.com/</url>
>   </organization>
>   <build>
>
> <sourceDirectory>C:\spaces\zafin\misite\maven-archetypes\misite-project\src\main\java</sourceDirectory>
>     <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
>
> <testSourceDirectory>C:\spaces\zafin\misite\maven-archetypes\misite-project\src\test\java</testSourceDirectory>
>
> <outputDirectory>C:\spaces\zafin\misite\maven-archetypes\misite-project\target\classes</outputDirectory>
>
> <testOutputDirectory>C:\spaces\zafin\misite\maven-archetypes\misite-project\target\test-classes</testOutputDirectory>
>     <resources>
>       <resource>
>
> <directory>C:\spaces\zafin\misite\maven-archetypes\misite-project\src\main\resources</directory>
>       </resource>
>     </resources>
>     <testResources>
>       <testResource>
>
> <directory>C:\spaces\zafin\misite\maven-archetypes\misite-project\src\test\resources</directory>
>       </testResource>
>     </testResources>
>
> <directory>C:\spaces\zafin\misite\maven-archetypes\misite-project\target</directory>
>     <finalName>misite-project-1.0</finalName>
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <artifactId>maven-antrun-plugin</artifactId>
>           <version>1.1</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-assembly-plugin</artifactId>
>           <version>2.2-beta-2</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-clean-plugin</artifactId>
>           <version>2.2</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-compiler-plugin</artifactId>
>           <version>2.0.2</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-dependency-plugin</artifactId>
>           <version>2.0</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-deploy-plugin</artifactId>
>           <version>2.3</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-ear-plugin</artifactId>
>           <version>2.3.1</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-ejb-plugin</artifactId>
>           <version>2.1</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-install-plugin</artifactId>
>           <version>2.2</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-jar-plugin</artifactId>
>           <version>2.2</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-javadoc-plugin</artifactId>
>           <version>2.4</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-plugin-plugin</artifactId>
>           <version>2.4.1</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-rar-plugin</artifactId>
>           <version>2.2</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-release-plugin</artifactId>
>           <version>2.0-beta-7</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-resources-plugin</artifactId>
>           <version>2.2</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-site-plugin</artifactId>
>           <version>2.0-beta-6</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-source-plugin</artifactId>
>           <version>2.0.4</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-surefire-plugin</artifactId>
>           <version>2.4.2</version>
>         </plugin>
>         <plugin>
>           <artifactId>maven-war-plugin</artifactId>
>           <version>2.1-alpha-1</version>
>         </plugin>
>       </plugins>
>     </pluginManagement>
>     <plugins>
>       <plugin>
>         <artifactId>maven-assembly-plugin</artifactId>
>         <version>2.2-beta-2</version>
>         <configuration>
>           <outputEncoding>UTF-8</outputEncoding>
>         </configuration>
>       </plugin>
>       <plugin>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <version>2.0.2</version>
>         <configuration>
>           <encoding>UTF-8</encoding>
>           <source>1.5</source>
>           <target>1.5</target>
>         </configuration>
>       </plugin>
>       <plugin>
>         <artifactId>maven-resources-plugin</artifactId>
>         <version>2.2</version>
>         <configuration>
>           <encoding>UTF-8</encoding>
>         </configuration>
>       </plugin>
>       <plugin>
>         <artifactId>maven-site-plugin</artifactId>
>         <version>2.0-beta-6</version>
>         <configuration>
>           <outputEncoding>UTF-8</outputEncoding>
>         </configuration>
>       </plugin>
>       <plugin>
>         <artifactId>maven-eclipse-plugin</artifactId>
>         <configuration>
>           <downloadSources>true</downloadSources>
>           <buildcommands>
>             <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
>
> <buildcommand>com.genuitec.eclipse.hibernate.HibernateBuilder</buildcommand>
>
> <buildcommand>com.genuitec.eclipse.springframework.springbuilder</buildcommand>
>
> <buildcommand>org.maven.ide.eclipse.maven2Builder</buildcommand>
>           </buildcommands>
>           <projectnatures>
>
> <projectnature>com.genuitec.eclipse.springframework.springnature</projectnature>
>
> <projectnature>com.genuitec.eclipse.hibernate.hibernatenature</projectnature>
>
> <projectnature>org.maven.ide.eclipse.maven2Nature</projectnature>
>             <projectnature>org.eclipse.jdt.core.javanature</projectnature>
>           </projectnatures>
>         </configuration>
>       </plugin>
>       <plugin>
>         <artifactId>maven-help-plugin</artifactId>
>         <version>2.1.1</version>
>       </plugin>
>     </plugins>
>   </build>
>   <repositories>
>     <repository>
>       <snapshots>
>         <enabled>false</enabled>
>       </snapshots>
>       <id>libs-releases-local</id>
>       <name>libs-releases-local</name>
>       <url>http://repo.myrepo.com:8081/artifactory/libs-releases</url>
>     </repository>
>     <repository>
>       <snapshots />
>       <id>libs-snapshots-local</id>
>       <name>libs-snapshots-local</name>
>       <url>http://repo.myrepo.com:8081/artifactory/libs-snapshots</url>
>     </repository>
>     <repository>
>       <snapshots>
>         <enabled>false</enabled>
>       </snapshots>
>       <id>central</id>
>       <name>Maven Repository Switchboard</name>
>       <url>http://repo1.maven.org/maven2</url>
>     </repository>
>   </repositories>
>   <pluginRepositories>
>     <pluginRepository>
>       <snapshots>
>         <enabled>false</enabled>
>       </snapshots>
>       <id>central</id>
>       <name>plugins-releases-local</name>
>       <url>http://repo.myrepo.com:8081/artifactory/plugins-releases</url>
>     </pluginRepository>
>     <pluginRepository>
>       <snapshots />
>       <id>snapshots</id>
>       <name>plugins-snapshots-local</name>
>       <url>http://repo.myrepo.com:8081/artifactory/plugins-snapshots</url>
>     </pluginRepository>
>   </pluginRepositories>
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>   </dependencies>
>   <reporting>
>     <outputDirectory>target/site</outputDirectory>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>       </plugin>
>     </plugins>
>   </reporting>
>   <distributionManagement>
>     <repository>
>       <id>libs-releases</id>
>       <name>Releases</name>
>       <url>http://repo.myrepo.com:8081/artifactory/libs-releases-local
> </url>
>     </repository>
>     <snapshotRepository>
>       <id>libs-snapshots</id>
>       <name>Snapshots</name>
>       <url>http://repo.myrepo.com:8081/artifactory/libs-snapshots-local
> </url>
>     </snapshotRepository>
>   </distributionManagement>
> </project>
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Artifactory-users mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to