Joakim Erdfelt a écrit : > Julien Graglia wrote: >> Hi, >> >> I'm quite sure my poms are ok.... but here is was I got when i use "Show >> Reports" from archiva web app, for my managed repo : >> >> [top] / com / netceler / iv / com.netceler.iv.core / 0.2 >> >> Project Model groupId = 'com.netceler.iv' artifactId = >> 'com.netceler.iv.spring' version = '0.2' artifactId: >> com.netceler.iv.spring does not match the pom file's artifactId: >> com.netceler.iv.core >> >> [top] / com / netceler / iv / com.netceler.iv.log / 0.2 >> >> Project Model groupId = 'com.netceler.iv' artifactId = >> 'com.netceler.iv.spring' version = '0.2' artifactId: >> com.netceler.iv.spring does not match the pom file's artifactId: >> com.netceler.iv.log >> >> [top] / com / netceler / iv / com.netceler.iv.log.log4j / 0.2 >> >> Project Model groupId = 'com.netceler.iv' artifactId = >> 'com.netceler.iv.spring' version = '0.2' artifactId: >> com.netceler.iv.spring does not match the pom file's artifactId: >> com.netceler.iv.log.log4j >> >> [top] / com / netceler / iv / com.netceler.iv.boot / 0.2 >> >> Project Model groupId = 'com.netceler.iv' artifactId = >> 'com.netceler.iv.spring' version = '0.2' artifactId: >> com.netceler.iv.spring does not match the pom file's artifactId: >> com.netceler.iv.boot >> >> [top] / com / netceler / iv / com.netceler.iv.jetty / 0.2 >> >> Project Model groupId = 'com.netceler.iv' artifactId = >> 'com.netceler.iv.spring' version = '0.2' artifactId: >> com.netceler.iv.spring does not match the pom file's artifactId: >> com.netceler.iv.jetty >> >> All my artifacts have pbs: execpt the com.netceler.iv.spring which seems >> to be the faulty one >> >> I have a pom name com.netceler.iv, it's the parent of 6 others >> artifacts, and it declares thems as modules : >> com.netceler.iv.core >> com.netceler.iv.log >> com.netceler.iv.log.log4j >> com.netceler.iv.spring >> com.netceler.iv.jetty >> com.netceler.iv.boot >> >> I have double check com.netceler.iv.spring's pom but did not find any >> errors.. >> I already have cleared archiva (db and repo), re-deploy all my >> artifacts, but error remains.. >> >> What is wrong? >> > > The use of dot notation artifactIds is unique. But there is nothing > wrong with that. > I just added a few test cases and updated the error message to be more > meaningful. > > See http://urltea.com/1kyi and http://urltea.com/1kyj > great thx!
Note: I think you invert the two methods names : testGoodDotNotationArtifactId & testGoodDotNotationSameGroupIdAndArtifactId -- Julien Graglia
