Hi Mingchun, If you want to use the recent release of ManifoldCF as 2.28, we now have all the artifacts available publicly so you don't need to initialize the SDK using a distribution package (even the source code). So in order to test the SDK you could just run the following commands:
Build and run using 2.28 using Maven commands: mvn clean install docker:build docker:start -DskipTests -DskipITs To stop containers run: mvn docker:stop Or using the run script with: ./run.sh build_start To stop containers: ./run.sh stop Or using the Docker Compose with: ./run-compose.sh build_start To stop: ./run-compose.sh stop I have just tested everything so it works perfectly, +1 from me! Cheers, PG Il giorno sab 18 gen 2025 alle ore 01:39 Mingchun Zhao <[email protected]> ha scritto: > > Hi Piergiorgio, > > When I run `./run.sh init 2.28 ga` on my local (macOS, Java 11), the > following error occurs. > Do you have any information about this? > > ```bash > ... ... > Downloaded from central: > https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.jar > (267 kB at 2.3 MB/s) > [ERROR] The specified file > '/usr/src/manifoldcf/dist/web/war/mcf-api-service.war' does not exist > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1.683 s > [INFO] Finished at: 2025-01-18T00:14:05Z > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-install-plugin:3.1.1:install-file > (default-cli) on project standalone-pom: The specified file > '/usr/src/manifoldcf/dist/web/war/mcf-api-service.war' does not exist -> > [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 > ... ... > ``` > > Also, it seems to not affect the functionality, but the following message > appears (should `==` be used instead of `-eq` for string comparison?). > > ```bash > ManifoldCF release type is correctly set and now starting Apache ManifoldCF > SDK initialization script... > ./run.sh: line 272: [: ga: integer expression expected > ./run.sh: line 276: [: ga: integer expression expected > ./run.sh: line 280: [: ga: integer expression expected > ./run.sh: line 285: [: 2.28: integer expression expected > mcfversion=2.28 | mcfdisturl: | mcfdist: ga > ``` > > Regards, > Mingchun > > 2025年1月16日(木) 7:52 Piergiorgio Lucidi <[email protected]>: > > > Hi all, > > > > Please vote on whether to release Apache ManifoldCF SDK 1.0.2, RC0 > > including the following improvements: > > > > - Added support for ManifoldCF 2.28 GA (Maven deps and Docker image > > publicly available) > > - Updated Maven plugins to the latest versions > > - Release artifacts are now signed as required by The ASF > > - Added KEYS for validating all the release artifacts > > - Jetty starting options are now taken from the official Docker images > > > > GitHub release: > > https://github.com/apache/manifoldcf-sdk/releases/tag/release-1.0.2-RC0 > > > > The release artifact can be also found at the ASF SVN: > > > > https://dist.apache.org/repos/dist/dev/manifoldcf/apache-manifoldcf-sdk-1.0.2-RC0/ > > > > Cheers, > > PG > > > > -- > > Piergiorgio > > -- Piergiorgio
