Java Tycho找不到oracle数据库驱动程序包

Java Tycho找不到oracle数据库驱动程序包,java,eclipse,oracle,maven,tycho,Java,Eclipse,Oracle,Maven,Tycho,我观察到以下问题。我有一个RCP Eclipse应用程序。月食释放是火星。我想使用Tycho插件来构建这个应用程序。所有必需的捆绑包都安装在我的Eclipse发行版中。我能够使用EclipseIDE构建和导出这个应用程序(通过产品文件)。当我尝试使用maven构建应用程序时,我发现了一个错误 Cannot resolve project dependencies:

我观察到以下问题。我有一个RCP Eclipse应用程序。月食释放是火星。我想使用Tycho插件来构建这个应用程序。所有必需的捆绑包都安装在我的Eclipse发行版中。我能够使用EclipseIDE构建和导出这个应用程序(通过产品文件)。当我尝试使用maven构建应用程序时,我发现了一个错误

 Cannot resolve project dependencies:                                                                                                         
   Software being installed: com.psl.atom.services 1.0.0.qualifier                                                                            
   Missing requirement: com.psl.atom.services 1.0.0.qualifier requires 'bundle oracle.database.driver.11 8.6.0' but it could not be found     
所以问题是maven找不到oracle驱动程序包。如上所述,此捆绑包安装在我的Eclipse中。用于将oracle捆绑包安装到Eclipse IDE的存储库包含在目标文件中。 有人能帮我解决这个问题吗?如何正确获取Oracle捆绑包。由于许可证问题,此捆绑包存储在另一个存储库中,而不是Maven Central中。 顺便说一句,Eclipse说数据库工具是从

<repository location="http://download.oracle.com/otn_software/oepe/12.2.1.2/mars/repository" />

先谢谢你 亚历山大

我的父母maven是

<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>
    <groupId>xxx.xxx.xxx</groupId>
    <version>1.0.0</version>
    <artifactId>xxx.xxx.xxx.parent</artifactId>
    <packaging>pom</packaging>
    <properties>
        <tycho-version>0.23.1</tycho-version>
        <xtextVersion>2.9.1</xtextVersion>
        <project.build.sourceEncoding>windows-1251</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <xxx.xxx.xxx.services.version>1.0.0</xxx.xxx.xxx.services.version>
    </properties>
    <modules>
        <module>xxx.xxx.xxx</module>
        <module>xxx.xxx.xxx.ide</module>
        <module>xxx.xxx.xxx.ui</module>
        <module>xxx.xxx.xxx.target</module>
        <module>xxx.xxx.xxx.tests</module>
        <module>xxx.xxx.xxx.ui.tests</module>
        <module>xxx.xxx.xxx.services</module>
    </modules>
    <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-maven-plugin</artifactId>
                <version>${tycho-version}</version>
                <extensions>true</extensions>
            </plugin>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>target-platform-configuration</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                    <target>
                        <artifact>
                            <groupId>xxx.xxx.xxx</groupId>
                            <artifactId>xxx.xxx.xxx.target</artifactId>
                            <version>${project.version}</version>
                        </artifact>
                    </target>
                    <environments>
                        <environment>
                            <os>win32</os>
                            <ws>win32</ws>
                            <arch>x86_64</arch>
                        </environment>
                        <environment>
                            <os>win32</os>
                            <ws>win32</ws>
                            <arch>x86</arch>
                        </environment>
                    </environments>
                </configuration>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.eclipse.xtend</groupId>
                    <artifactId>xtend-maven-plugin</artifactId>
                    <version>${xtextVersion}</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>compile</goal>
                                <goal>testCompile</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <outputDirectory>${basedir}/xtend-gen</outputDirectory>
                        <testOutputDirectory>${basedir}/xtend-gen</testOutputDirectory>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>2.5</version>
                    <configuration>
                        <filesets>
                            <fileset>
                                <directory>${basedir}/xtend-gen</directory>
                                <includes>
                                    <include>**/*</include>
                                </includes>
                                <directory>${basedir}/xtend-gen</directory>
                                <includes>
                                    <include>**/*</include>
                                </includes>
                            </fileset>
                        </filesets>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.eclipse.m2e</groupId>
                    <artifactId>lifecycle-mapping</artifactId>
                    <version>1.0.0</version>
                    <configuration>
                        <lifecycleMappingMetadata>
                            <pluginExecutions>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>
                                        org.codehaus.mojo
                                    </groupId>
                                        <artifactId>
                                        build-helper-maven-plugin
                                    </artifactId>
                                        <versionRange>
                                        [1.9.1,)
                                    </versionRange>
                                        <goals>
                                            <goal>add-resource</goal>
                                            <goal>add-source</goal>
                                            <goal>add-test-resource</goal>
                                            <goal>add-test-source</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore>
                                        </ignore>
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>
                                        org.eclipse.tycho
                                    </groupId>
                                        <artifactId>
                                        tycho-compiler-plugin
                                    </artifactId>
                                        <versionRange>
                                        [0.23.1,)
                                    </versionRange>
                                        <goals>
                                            <goal>compile</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore>
                                        </ignore>
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>
                                        org.eclipse.tycho
                                    </groupId>
                                        <artifactId>
                                        tycho-packaging-plugin
                                    </artifactId>
                                        <versionRange>
                                        [0.23.1,)
                                    </versionRange>
                                        <goals>
                                            <goal>build-qualifier</goal>
                                            <goal>validate-id</goal>
                                            <goal>validate-version</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore>
                                        </ignore>
                                    </action>
                                </pluginExecution>
                            </pluginExecutions>
                        </lifecycleMappingMetadata>
                    </configuration>
                </plugin>
                <plugin>
                    <!-- 
                    Can be removed after first generator execution
                    https://bugs.eclipse.org/bugs/show_bug.cgi?id=480097
                -->
                    <groupId>org.eclipse.tycho</groupId>
                    <artifactId>tycho-compiler-plugin</artifactId>
                    <version>${tycho-version}</version>
                    <configuration>
                        <compilerArgument>-err:-forbidden</compilerArgument>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <dependencies>
    </dependencies>
</project>

4.0.0
xxx.xxx.xxx
1.0.0
xxx.xxx.xxx.parent
聚甲醛
0.23.1
2.9.1
windows-1251
1.8
1.8
1.0.0
xxx.xxx.xxx
xxx.xxx.xxx.ide
xxx.xxx.xxx.ui
xxx.xxx.xxx.target
xxx.xxx.xxx.tests
xxx.xxx.xxx.ui.tests
xxx.xxx.xxx.services
org.eclipse.tycho
tycho maven插件
${tycho版本}
真的
org.eclipse.tycho
目标平台配置
${tycho版本}
xxx.xxx.xxx
xxx.xxx.xxx.target
${project.version}
win32
win32
x86_64
win32
win32
x86
org.eclipse.xtend
xtend maven插件
${xtextVersion}
编译
测试编译
${basedir}/xtend gen
${basedir}/xtend gen
org.apache.maven.plugins
maven清洁插件
2.5
${basedir}/xtend gen
**/*
${basedir}/xtend gen
**/*
org.eclipse.m2e
生命周期映射
1.0.0
org.codehaus.mojo
构建助手maven插件
[1.9.1,)
添加资源
添加源
添加测试资源
添加测试源
org.eclipse.tycho
第谷编译器插件
[0.23.1,)
编译
org.eclipse.tycho
第谷包装插件
[0.23.1,)
建造-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="com.psl.atom.target" sequenceNumber="1">
    <locations>
        <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="false" type="InstallableUnit">
            <unit id="org.eclipse.jdt.feature.group" version="0.0.0" />
            <unit id="org.eclipse.platform.feature.group" version="0.0.0" />
            <unit id="org.eclipse.pde.feature.group" version="0.0.0" />
            <unit id="org.eclipse.draw2d.feature.group" version="0.0.0" />
            <unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0" />
            <unit id="org.eclipse.xpand" version="0.0.0" />
            <unit id="org.eclipse.xtend" version="0.0.0" />
            <unit id="org.eclipse.xtend.typesystem.emf" version="0.0.0" />
            <repository location="http://download.eclipse.org/releases/mars/201506241002/" />
            <repository location="http://download.oracle.com/otn_software/oepe/mars" />
            <repository location="http://download.oracle.com/otn_software/oepe/12.2.1.2/mars/repository" />
            <repository location="http://download.oracle.com/otn_software/oepe/12.2.1.2/mars/repository/dependencies" />
        </location>
        <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="false" type="InstallableUnit">
            <unit id="org.eclipse.emf.mwe2.launcher.feature.group" version="0.0.0" />
            <repository location="http://download.eclipse.org/modeling/emft/mwe/updates/releases/2.8.1/" />
        </location>
        <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="false" type="InstallableUnit">
            <unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0" />
            <repository location="http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.9.1/" />
        </location>
    </locations>
</target>