GitHubリポジトリを依存関係として使用するEclipse Mavenプロジェクトをセットアップしました。今、私はそのリポジトリをフォークし、依存関係をフォークに切り替え、フォークを少し変更しました。今、プロジェクトはまだコンパイルされ、うまく動いていますが、EclipseではGitHub上に表示される変更は見られません。これは私に考えさせました:EclipseはMavenプロジェクトのGitHub依存関係の変更を表示しません
EclipseがGitHubへの依存関係を見ることができなかった場合、プロジェクトをビルドできないはずです。一方、それがどこかにはあるが、変更が見えない場合は、新しいフォークがまだ何らかの形でプロジェクトに正しくリンクされていないことを意味する必要があります。おそらく私のローカルマシンのどこかに古いレポが残っている可能性があり、Mavenはそれを使って私が見分けられない理由でプロジェクトをビルドします。私はプロジェクトの再構築と再インポートを試みましたが、それは役に立たなかった。私はMavenを初めて使っています。だから私は本当にこのすべてで迷っています。私は知る必要があります:
これは何が原因ですか? Maven/Eclipse/GitHubのどのような作業が欠けていますか?ダウンロード、更新、更新、または再構築に必要なファイルまたはリスト
EDIT; pom.xml:
<?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>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<executions>
<execution>
<id>l4j-clui</id>
<phase>package</phase>
<goals>
<goal>launch4j</goal>
</goals>
<configuration>
<dontWrapJar>true</dontWrapJar>
<headerType>console</headerType>
<jar>eet-demo-maven-1.0-SNAPSHOT.jar</jar>
<outfile>target\EETSender.exe</outfile>
<errTitle></errTitle>
<cmdLine></cmdLine>
<chdir>.</chdir>
<priority>normal</priority>
<downloadUrl>http://java.com/download</downloadUrl>
<supportUrl></supportUrl>
<stayAlive>true</stayAlive>
<restartOnCrash>true</restartOnCrash>
<manifest></manifest>
<icon></icon>
<singleInstance>
<mutexName>EETMutex</mutexName>
<windowTitle></windowTitle>
</singleInstance>
<classpath>
<mainClass>cz.tomasdvorak.eetdemo.Main</mainClass>
</classpath>
<jre>
<path></path>
<bundledJre64Bit>false</bundledJre64Bit>
<bundledJreAsFallback>false</bundledJreAsFallback>
<minVersion>1.6.0_1</minVersion>
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
<runtimeBits>64/32</runtimeBits>
</jre>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>cz.tomasdvorak.eetdemo.Main</mainClass>
</manifest>
</archive>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</build>
<groupId>cz.tomasdvorak</groupId>
<artifactId>eet-demo-maven</artifactId>
<version>1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.MiroslavMarecek</groupId>
<artifactId>eet-client-1</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.github.MiroslavMarecek</groupId>
<artifactId>eet-client-1</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
de保留ですか? 'pom.xml'を表示できますか? – Thilo
実際に "依存関係"を再構築しましたか?同様に、 'mvn clean install'?そうでない場合、MavenはローカルのMavenリポジトリにキャッシュされているバージョンを使用しています。 – lexicore
'mvn clean install'を試しても、まだ変更が表示されません。 – Sargon1