On Tue, Mar 27, 2012 at 11:46 AM, Kathiravelu Pradeeban <[email protected]>wrote:
> Let's take platform/dependencies/commons/caching/pom.xml, for an example. > Here we have, > <repository> > <id>wso2-maven2-repository-snapshot</id> > <name>WSO2 Standard Snapshot Repository</name> > <url>http://dist.wso2.org/snapshots/maven2</url> > * <layout>legacy</layout> > * </repository> > <repository> > <id>apache-zones</id> > <url>http://ws.zones.apache.org/repository</url> > * <layout>legacy</layout> > * </repository> > > This is no more supported in Maven3. > > Hence the warn messages in the build time. > > [WARNING] 'repositories.repository.layout' for > wso2-maven2-repository-snapshot uses the unsupported value 'legacy', > artifact resolution might fail. @ org.wso2.caching:wso2caching:3.5.0, > /home/pradeeban/carbon/platform/dependencies/commons/caching/pom.xml, line > 119, column 21 > [WARNING] 'repositories.repository.layout' for apache-zones uses the > unsupported value 'legacy', artifact resolution might fail. @ > org.wso2.caching:wso2caching:3.5.0, > /home/pradeeban/carbon/platform/dependencies/commons/caching/pom.xml, line > 124, column 21 > [WARNING] > [WARNING] Some problems were encountered while building the effective > model for org.wso2.caching:wso2caching-samples:jar:3.5.0 > [WARNING] 'repositories.repository.layout' for > wso2-maven2-repository-snapshot uses the unsupported value 'legacy', > artifact resolution might fail. @ org.wso2.caching:wso2caching:3.5.0, > /home/pradeeban/carbon/platform/dependencies/commons/caching/pom.xml, line > 119, column 21 > [WARNING] 'repositories.repository.layout' for apache-zones uses the > unsupported value 'legacy', artifact resolution might fail. @ > org.wso2.caching:wso2caching:3.5.0, > /home/pradeeban/carbon/platform/dependencies/commons/caching/pom.xml, line > 124, column 21 > [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.caching:wso2caching:pom:3.5.0 [WARNING] 'repositories.repository.layout' for wso2-maven2-repository-snapshot uses the unsupported value 'legacy', artifact resolution might fail. @ line 119, column 21 [WARNING] 'repositories.repository.layout' for apache-zones uses the unsupported value 'legacy', artifact resolution might fail. @ line 124, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. > > Didn't we move to Nexus? Do we really have to keep these entries with > 'legacy' layout on, as $Subject? > How are we going to proceed on this? > > Thank you. > Regards, > Pradeeban. > -- > Kathiravelu Pradeeban. > Software Engineer. > Cloud Technologies Team. > WSO2 Inc. > > Blog: [Llovizna] http://kkpradeeban.blogspot.com/ > M: +94 776 477 976 > > -- Kathiravelu Pradeeban. Software Engineer. Cloud Technologies Team. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ M: +94 776 477 976
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
