Open chrisfair opened 5 years ago
BTW figured out my primary problem your plugin looks for basedir not sourceDirectory and it needs to be added in the configuration. I am uncertain how to gather the artifacts at present. Since I a serious noob to maven I mistook sourceDirectory as a general convention when it was not from my use of another plugin.
I think I understand that now as well....worry for my noobness I will move along now :)
Hi @chrisfair Can you please share your pom.xml & project.json . I am unable to figure out how to get this working. I keep getting error MSB4057 - The target pack does not exists
[INFO] [INFO] --- dotnet-maven-plugin:0.24:restore (default-restore) @ activeDirectoryDotNetCoreLib --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for CommonModules Integrated Security 0.0.2-SNAPSHOT: [INFO] [INFO] CommonModules Integrated Security .................. SUCCESS [ 0.012 s] [INFO] CommonModules Integrated Security Go Executable .... SUCCESS [ 6.560 s] [INFO] CommonModules Integrated Security Dynamic Library .. SUCCESS [ 7.807 s] [INFO] CommonModules Integrated Security DotNetCore Lib ... FAILURE [ 0.019 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.876 s [INFO] Finished at: 2019-07-17T16:31:43-06:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.eobjects.build:dotnet-maven-plugin:0.24:restore (default-restore) on project activeDirectoryDotNetCoreLib: Could not find any directories with a project/build file. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :activeDirectoryDotNetCoreLib
Here is my pom.xml ....be gentle I just heard of maven about 2 weeks ago....