Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build doc is wrong #313

Open
guimard opened this issue Dec 19, 2024 · 0 comments
Open

Build doc is wrong #313

guimard opened this issue Dec 19, 2024 · 0 comments
Milestone

Comments

@guimard
Copy link

guimard commented Dec 19, 2024

BUILD.txt give the following command which fail:

$ mvn -Popendj clean package
[ERROR] Error executing Maven.
[ERROR] The specified user settings file does not exist: /path/lsc-2.1.6/.mvn/local-settings.xml

Trying with a settings file found in Internet:

  <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                          https://maven.apache.org/xsd/settings-1.0.0.xsd">
      <localRepository/>
      <interactiveMode/>
      <offline/>
      <pluginGroups/>
      <servers/>
      <mirrors/>
      <proxies/>
      <profiles/>
      <activeProfiles/>
   </settings>

gives another error:

$ mvn -Popendj clean package
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.artifactId' for bouncycastle:bcprov-${bc-jdk-version}:jar with value 'bcprov-${bc-jdk-version}' does not match a valid id pattern. @ line 695, column 16
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.lsc:lsc-core:2.1.6 (/tmp/tt/tmail-lsc/lsc-2.1.6/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.artifactId' for bouncycastle:bcprov-${bc-jdk-version}:jar with value 'bcprov-${bc-jdk-version}' does not match a valid id pattern. @ line 695, column 16
[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/ProjectBuildingException

and a simple mvn install gives:

Could not resolve dependencies for project org.lsc:lsc-core:jar:2.1.6: Failed to collect dependencies at com.sleepycat:je:jar:4.1.10: Failed to read artifact descriptor for com.sleepycat:je:jar:4.1.10: Could not transfer artifact com.sleepycat:je:pom:4.1.10 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [java.net Maven 2 (http://download.java.net/maven/2, default, releases+snapshots), forgerock-community-repository (http://maven.forgerock.org/repo/community, default, releases+snapshots), oracleReleases (http://download.oracle.com/maven, default, releases+snapshots), reflections-repo (http://reflections.googlecode.com/svn/repo, default, releases+snapshots), lsc-site (http://lsc-project.org/maven, default, releases+snapshots), burtsev-net-maven (http://maven.burtsev.net, default, releases+snapshots)]
@coudot coudot added this to the 2.2 milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants