Repository plugin export-rdf goal only works in a directory containing a pom
----------------------------------------------------------------------------

                 Key: NMAVEN-91
                 URL: http://jira.codehaus.org/browse/NMAVEN-91
             Project: NMaven
          Issue Type: Bug
            Reporter: Wendy Smoak


The "mvn org.apache.maven.dotnet.plugins:maven-repository-plugin:export-rdf" 
command explained on [1] apparently only works in a directory containing a 
pom.xml file.

{noformat}
C:\Temp>mvn org.apache.maven.dotnet.plugins:maven-repository-plugin:export-rdf
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Maven Default Project
[INFO]    task-segment: 
[org.apache.maven.dotnet.plugins:maven-repository-plugin:export-rdf]
[INFO] 
----------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: export-rdf. It requires a project with an existing 
pom.xml, but the build is not using one.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Oct 29 14:39:38 MST 2007
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
{noformat}

I'm having trouble installing the Visual Studio addin.  I'm not working with "a 
project".

If this can't be changed, the documentation should be updated to explain the 
issue and provide a simple pom.xml file that can be saved in the current 
directory to allow the command to work.

[1] http://incubator.apache.org/nmaven/rdf-repository.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to