Skip to content

I cannot get a successful build from my very simple .net assembly #30

@chrisfair

Description

@chrisfair

[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....

CommonModules Integrated Security DotNetCore Lib
Build and deploy

 <version>0.0.2-SNAPSHOT</version>
 <packaging>dotnet</packaging>
 <modelVersion>4.0.0</modelVersion>

 <parent>
      <groupId>com.beckman.particle.commonmodules</groupId>
      <artifactId>integrated-security</artifactId>
      <version>0.0.2-SNAPSHOT</version>
 </parent>

 <artifactId>activeDirectoryDotNetCoreLib</artifactId>
 
 <properties>
      <target.name>activeDirectoryGroupsDotNet${dynamicLib.extension}</target.name>
      <rootPOM>${basedir}${file.separator}..${file.separator}</rootPOM>
 </properties>

 <build>
      <sourceDirectory>${rootPOM}${file.separator}src${file.separator}main${file.separator}csharp</sourceDirectory>
      <directory>${rootPOM}${file.separator}bin</directory>
      <defaultGoal>Clean restore package</defaultGoal>
      <finalName>${target.name}${final.extension}</finalName>
      <plugins>
           <plugin>
                <groupId>org.eobjects.build</groupId>
                <artifactId>dotnet-maven-plugin</artifactId>
                <version>0.24</version>
                <extensions>true</extensions>
                <configuration>
                     <buildConfiguration>Release</buildConfiguration>
                     <buildEnabled>true</buildEnabled>
                     <cleanEnabled>true</cleanEnabled>
                </configuration>
           </plugin>
           <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                     <preparationGoals>dotnet:update-versions</preparationGoals>
                </configuration>
           </plugin>
      </plugins>
 </build>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions