nabonita Guha wrote: > Hi, > > I'm trying to install oai2rdf in fedora core 6, but I couldn't able to > download it through svn though svn is working in my system. Lastly I > downloaded the files individually keeping the same directory structure. > But now when I am trying to give the command 'mvn package' I'm getting > some errors. Please let me know how shall I overcome this. The error I'm > getting is given below. > > Thanks in anticipation > > Nabonita > > ******************************************** > [EMAIL PROTECTED] oai2rdf]$ mvn package > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Building SIMILE oai2rdf > [INFO] task-segment: [package] > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error building POM (may not be this project's POM). > > > Project ID: org.apache.maven.plugins:maven-resources-plugin > > Reason: Error getting POM for > 'org.apache.maven.plugins:maven-resources-plugin' from the repository: > Unable to read local copy of metadata: Cannot read metadata from > '/home/nabo/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/maven-metadata-central.xml': > > expected = after attribute name (position: TEXT seen ...<H2>The > requested URL could not be retrieved</H2>\n<HR noshade s... @8:14) > org.apache.maven.plugins:maven-resources-plugin:pom:LATEST
This seems to be a problem with your Maven installation. Are you sure you're not behind a proxy? My suggestion, at the very least, would be to remove your /home/nabo/.m2 directory and try again, but if you're behind a proxy that won't work: you have to tell maven how to pass thru a proxy. Look for the maven documentation on how to do that (since, to be quite honest, I don't know myself) -- Stefano Mazzocchi Digital Libraries Research Group Research Scientist Massachusetts Institute of Technology E25-131, 77 Massachusetts Ave skype: stefanomazzocchi Cambridge, MA 02139-4307, USA email: stefanom at mit . edu ------------------------------------------------------------------- _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
