private void createDllFromWsdl ( ) throws MojoExecutionException { getLog ( ) . info ( "Execute WSDl to cs command" ) ; wsdlCommand ( ) ; getLog ( ) . info ( "Execute cs to dll command" ) ; cscCommand ( ) ; if ( generateNugetPackage ) { if ( isLinux ( ) ) { throw new MojoExecutionException ( "At this point, mono and nuget does not work so well together." + "Please execute the plugin with nuget under Windows" ) ; } nugetLib = nugetFolder + "lib" ; getLog ( ) . info ( "Create Nuget folder structure" ) ; createNugetStructure ( ) ; getLog ( ) . info ( "Copy the dlls to the nuget structure" ) ; copyFilesToNuget ( ) ; getLog ( ) . info ( "Generate " + namespace + " .nuspec" ) ; generateNugetPackedFile ( ) ; getLog ( ) . info ( "Pack .nuspec to a nuget package" ) ; nugetPackCommand ( ) ; } }
Windows mode for maven execution