Hi there,
Am following below article two articles to generate the jar for capture-parameters-node component.
During the process am getting below error pls advice.
https://backstage.forgerock.com/knowledge/kb/article/a74096897 (knowledge base article forgerock)
FYI–
2. Pre-requise also done, see below for your reference.
As per the instructions created setting file by running below command.
curl -u shaye -O “JFrog”
C:\ysb_dell\Personal_learning\ForgeRock_learning\openAM\capture-parameters-node-master> mvn clean
[INFO] Scanning for projects…
Downloading from forgerock-private-snapshots: https://maven.forgerock.org:443/artifactory/private-snapshots/org/forgerock/am/openam-auth-trees/6.5.0-SNAPSHOT/maven-metadata.xml
Downloading from forgerock-private-snapshots: JFrog
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact org.forgerock.am:openam-auth-trees:pom:6.5.0-SNAPSHOT in forgerock-private-snapshots (JFrog) @ line 36, column 25
[ERROR] ‘dependencies.dependency.version’ for org.forgerock.am:auth-node-api:jar is missing. @ line 47, column 21
[ERROR] ‘dependencies.dependency.version’ for org.forgerock.am:openam-guice-core:jar is missing. @ line 51, column 21
[ERROR] ‘dependencies.dependency.version’ for org.forgerock.am:openam-core:jar is missing. @ line 55, column 21
@
[ERROR] The build could not read 1 project → [Help 1]
[ERROR]
[ERROR] The project org.forgerock.am:capture-params-auth-tree-node:6.5.0-SNAPSHOT (C:\ysb_dell\Personal_learning\ForgeRock_learning\openAM\capture-parameters-node-master\pom.xml) has 4 errors
[ERROR] Non-resolvable import POM: Could not find artifact org.forgerock.am:openam-auth-trees:pom:6.5.0-SNAPSHOT in forgerock-private-snapshots (JFrog) @ line 36, column 25 → [Help 2]
[ERROR] ‘dependencies.dependency.version’ for org.forgerock.am:auth-node-api:jar is missing. @ line 47, column 21
[ERROR] ‘dependencies.dependency.version’ for org.forgerock.am:openam-guice-core:jar is missing. @ line 51, column 21
[ERROR] ‘dependencies.dependency.version’ for org.forgerock.am:openam-core:jar is missing. @ line 55, column 21
[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] ProjectBuildingException - Apache Maven - Apache Software Foundation
[ERROR] [Help 2] UnresolvableModelException - Apache Maven - Apache Software Foundation
PS C:\ysb_dell\Personal_learning\ForgeRock_learning\openAM\capture-parameters-node-master> mvn --version
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
my pom.xml look like below
<?xml version="1.0" encoding="UTF-8"?><project xmlns=“http://maven.apache.org/POM/4.0.0”
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>capture-params-auth-tree-node</artifactId>
<groupId>org.forgerock.am</groupId>
<version>6.5.0-SNAPSHOT</version>
<name>Capture Parameters Node</name>
<description>An Authentication Tree Node for ForgeRock's Identity Platform that captures URL parameters</description>
<properties>
<am.version>6.5.0-SNAPSHOT</am.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.forgerock.am</groupId>
<artifactId>openam-auth-trees</artifactId>
<type>pom</type>
<scope>import</scope>
<version>${am.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.forgerock.am</groupId>
<artifactId>auth-node-api</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.am</groupId>
<artifactId>openam-guice-core</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.am</groupId>
<artifactId>openam-core</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>forgerock-private-releases</id>
<name>ForgeRock Private Release Repository</name>
<url>http://maven.forgerock.org/repo/private-releases</url>
</repository>
</repositories>