Greetings. Seasoned java/regular maven user here. Now working with .NET . . . . 
. 

Building went fine - (had csc and xsd.exe on path).

problem came when trying to actually use : mvn compile with a valid pom.xml 
file in the directory
(note that I also did not have an nmaven-settings.xml file - not sure why):

got this (between * for easy parsing):
***********************************************************************************
[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Unnamed - snipped:ratecube:library:1.0
[INFO]    task-segment: [compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] [compile:initialize]
[INFO] Mojo Execution Time = 0
[INFO] [resolver:resolve]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) NMaven.Plugins:NMaven.Plugin.Resx:exe.config:0.14-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=NMaven.Plugins 
-DartifactId=NMaven.Plugin.Resx \
          -Dversion=0.14-SNAPSHOT -Dpackaging=exe.config -Dfile=/path/to/file

***********************************************************************************************

So, I did just that, where I set /path/tofile = to:
C:\Docume~1\<homedir>\.m2\repository\NMaven\Plugins\NMaven.Plugin.Resx\0.14-SNAPSHOT\NMaven.Plugin.Resx.exe

Note that I *found* the supposedly not-found resx plugin where it was supposed 
to be. Am I missing
something here?

Anyway, that generated my nmaven-settings.xml file, and the following mvn 
compile worked.

Hope this helps at least someone - I scratched my head for a day over this one. 
Oh - I also read
the README.txt, and something in there triggered my thinking about forcing the 
install of the file
that I knew I had.


      
____________________________________________________________________________________
Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


Reply via email to