|
From: Yoav L. <yla...@gm...> - 2007-04-10 18:19:39
|
Hi Jorg, I followed your configuration but did not manage to replicate it with the latest Artifactory snapshot (it deploys fine). We will release 1.2.1RC0 any day now, so perhaps you wish to test it with this version before reporting an issue. This release also includes a fix for the fact that the error log was not very helpful since it did not include the original exception ( https://www.jfrog.org/jira/browse/RTFACT-99), so it's another good reason to test on 1.2.1. Yoav On 4/10/07, Jorg Heymans <jor...@gm...> wrote: > > Hi, > > Can i confirm this as a bug then ? Shall i enter a ticket in jira ? > > Jorg > > On 4/3/07, Jorg Heymans < jor...@gm...> wrote: > > > > On 4/3/07, Yoav Landman <yla...@gm...> wrote: > > > > For the second trace - can you provide the simplest configuration to > > > replicate the behavior you are getting? > > > > > > artifactory-config.xml : > > > > <serverName>Artifactory Server</serverName> > > <anonDownloadsAllowed>true</anonDownloadsAllowed> > > <backupDir>/backup/artifactory</backupDir> > > <!-- Backup every weekday at 11pm --> > > <backupCronExp>0 0 23 * MON-FRI</backupCronExp> > > <localRepositories> > > <localRepository> > > <key>test-release-repo</key> > > <description>Test Release Repository</description> > > <handleReleases>true</handleReleases> > > <handleSnapshots>false</handleSnapshots> > > <includesPattern>my/groupid/**</includesPattern> > > </localRepository> > > <localRepository> > > <key>test-snapshot-repo</key> > > <description>Test Snapshot Repository</description> > > <handleReleases>false</handleReleases> > > <handleSnapshots>true</handleSnapshots> > > <includesPattern>my/groupid/**</includesPattern> > > </localRepository> > > </localRepositories> > > > > (assuming the configured remote repositories are not relevant) > > > > > > pom.xml: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <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://mave > > n.apache.org/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > > <groupId>my.groupid</groupId> > > <artifactId>myartifact</artifactId> > > <packaging>pom</packaging> > > <version>0.1-SNAPSHOT</version> > > <distributionManagement> > > <repository> > > <id>test-release</id> > > <url> http://host/artifactory/test-release-repo</url> > > </repository> > > <snapshotRepository> > > <id>test-snapshot</id> > > <url> http://host/artifactory/test-snapshot-repo</url> > > </snapshotRepository> > > </distributionManagement> > > </project> > > > > settings.xml: > > > > <server> > > <id>test-snapshot</id> > > <username>test</username> > > <password>test</password> > > </server> > > > > <server> > > <id>test-release</id> > > <username>test</username> > > <password>test</password> > > </server> > > > > and an always active profile: > > > > <profile> > > <id>artifactory-configuration</id> > > <repositories> > > <repository> > > <id>central</id> > > <url>http://host/artifactory/repo </url> > > <snapshots> > > <enabled>false</enabled> > > </snapshots> > > </repository> > > <repository> > > <id>snapshots</id> > > <url> http://host/artifactory/repo </url> > > <releases> > > <enabled>false</enabled> > > </releases> > > </repository> > > </repositories> > > <pluginRepositories> > > <pluginRepository> > > <id>central</id> > > <url>http://host/artifactory/repo </url> > > <snapshots> > > <enabled>false</enabled> > > </snapshots> > > </pluginRepository> > > <pluginRepository> > > <id>snapshots</id> > > <url> http://host/artifactory/repo</url> > > <releases> > > <enabled>false</enabled> > > </releases> > > </pluginRepository> > > </pluginRepositories> > > </profile> > > > > The user 'test' was created in artifactory as a non-admin user, a group > > 'my.groupid' was created and user 'test' is member of readers and > > deployers for that group. > > > > Then just invoke mvn deploy:deploy on that pom.xml and you should get > > the error > > > > > > HTH > > Jorg > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Artifactory-users mailing list > Art...@li... > https://lists.sourceforge.net/lists/listinfo/artifactory-users > > |