spanner-schema-diff-tool icon indicating copy to clipboard operation
spanner-schema-diff-tool copied to clipboard

Update instructions as assembly:assembly is not working

Open gurminder71 opened this issue 1 year ago • 0 comments

The assembly plugin has single goal that should be used. In the pom.xml, add:

        <executions>
          <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>

If above is done, then the build instructions are:

mvn clean generate-sources compile package

If the execution is not added, then instructions should be:

mvn clean generate-sources compile assembly:single

I am getting following error:

% mvn clean generate-resources compile assembly:assembly
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.116 s
[INFO] Finished at: 2024-05-07T23:37:07-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find goal 'assembly' in plugin org.apache.maven.plugins:maven-assembly-plugin:3.6.0 among available goals help, single -> [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/MojoNotFoundException

gurminder71 avatar May 08 '24 06:05 gurminder71