|
From: Jorg H. <jor...@gm...> - 2007-04-10 13:28:20
|
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 > |