gpt4 book ai didi

java - 当我安装这个项目时,在 pom.xml 文件中显示错误

转载 作者:行者123 更新时间:2023-12-01 16:41:58 25 4
gpt4 key购买 nike

项目构建错误:org.kurento.tutorial:kurento-group-call:6.5.0 的不可解析父 POM:找不到 org.kurento.tutorial:kurento-tutorial:pom:6.5.0 in https://repo.maven.apache.org/maven2已缓存在本地 存储库,直到中央更新间隔已过或强制更新为止,不会重新尝试解析 “parent.relativePath”指向错误的本地 POM

http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0

<parent>   .........................................showing the error in parent
<groupId>org.kurento.tutorial</groupId>
<artifactId>kurento-tutorial</artifactId>
<version>6.5.0</version>
</parent>

<artifactId>kurento-group-call</artifactId>
<packaging>jar</packaging>

<name>Kurento Java Tutorial - Group Call</name>
<description>WebRTC many to many video call</description>

<url>http://www.kurento.org/docs/${project.version}</url>

<licenses>
<license>
<name>Apache 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>

<organization>
<name>Kurento</name>
<url>http://www.kurento.org</url>
</organization>

<scm>
<url>https://github.com/Kurento/kurento-tutorial-java</url>
<connection>scm:git:https://github.com/Kurento/kurento-tutorial-java</connection>
<developerConnection>scm:git://git@github.com:Kurento/kurento-tutorial-java</developerConnection>
<tag>develop</tag>
</scm>

<developers>
<developer>
<id>kurento.org</id>
<name>-kurento.org Community</name>
<organization>Kurento.org</organization>
<organizationUrl>http://www.kurento.org</organizationUrl>
</developer>
</developers>

<properties>
<demo.port>8086</demo.port>

<!-- Main class -->
<start-class>org.kurento.tutorial.groupcall.GroupCallApp</start-class>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
</properties>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>1.3.0.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.14</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-websocket</artifactId>
<version>4.2.3.RELEASE</version>
</dependency>

<!-- Kurento -->
<dependency>
<groupId>org.kurento</groupId>
<artifactId>kurento-client</artifactId>
<version>6.5.0</version>
</dependency>
<dependency>
<groupId>org.kurento</groupId>
<artifactId>kurento-utils-js</artifactId>
<version>6.5.0</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>${start-class}</mainClass>
<layout>ZIP</layout>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>exec-bower-install</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bower</executable>
<workingDirectory>${project.build.directory}/classes</workingDirectory>
<arguments>
<argument>install</argument>
<argument>--allow-root</argument>
</arguments>
</configuration>
</execution>
</executions>
<configuration>
<mainClass>${start-class}</mainClass>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>src/main/resources/static/bower_components</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.kurento.tutorial</groupId>
<artifactId>kurentu-group-call</artifactId>
<version>6.5.0</version>
</plugin>
</plugins>

<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>banner.txt</include>
</includes>
</resource>
<resource>
<directory>.</directory>
<filtering>true</filtering>
<includes>
<include>bower.json</include>
</includes>
</resource>
</resources>
</build>

<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptor>src/assembly/bin.xml</descriptor>
<finalName>${project.artifactId}-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<configuration>
<tasks>
<copy
file="${project.build.directory}/target/${project.artifactId}-${project.version}-bin.zip"
tofile="${project.build.directory}/target/${project.artifactId}-${project.version}.zip" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>no-assembly</id>
</profile>
</profiles>

最佳答案

这意味着在配置的存储库中找不到父 POM org.kurento.tutorial:kurento-tutorial:pom:6.5.0

关于java - 当我安装这个项目时,在 pom.xml 文件中显示错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61846865/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com