[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Build failure after upgrading from 0.13.0 to 0.14.1
|
Cristiano, thanks for your help. It seems that we have hit different
problems. I've added a new tycho module and put it first in the module
list. The pom.xml is quite basic:
<?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>
<parent>
<groupId>com.itsolut.mantis</groupId>
<artifactId>com.itsolut.mantis.parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>com.itsolut.mantis.jdk</artifactId>
<packaging>eclipse-plugin</packaging>
<name>Mylyn Mantis Connector: JDK bundle</name>
</project>
And the MANIFEST.MF file is very similar to the one you pasted below.
The build still fails with the same unresolved dependency: javax.crypto
Robert
On Mon, Mar 5, 2012 at 10:40 PM, Cristiano Gavião <cvgaviao@xxxxxxxxx> wrote:
> Robert,
>
> I had the same kind of issue. It was related to classes (javax.*, com.sun.*)
> that already exists on jdk.
>
> I've resolved my problem creating a fragment bundle...
>
> in the bundle's manifest use this:
>
>> Manifest-Version: 1.0
>> Bundle-ManifestVersion: 2
>> Bundle-Name: %pluginName
>> Bundle-SymbolicName: com.c4biz.osgiutils.jdk.deps
>> Bundle-Version: 0.0.8.qualifier
>> Bundle-Vendor: %providerName
>> Fragment-Host: org.eclipse.osgi;extension:=framework
>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>> Export-Package: com.sun.codemodel,
>> com.sun.msv.datatype,
>> com.sun.msv.datatype.xsd,
>> com.sun.tools.xjc,
>> com.sun.tools.xjc.model,
>> com.sun.tools.xjc.outline,
>> org.relaxng.datatype,
>> org.ietf.jgss,
>> sun.misc,
>> sun.reflect,
>> javax.imageio,
>> javax.imageio.stream,
>> javax.net,
>> javax.net.ssl,
>> javax.security.cert,
>> javax.security.auth,
>> javax.security.auth.login,
>> javax.security.auth.spi,
>> javax.security.auth.callback,
>> javax.security.auth.x500,
>> javax.crypt,
>> javax.crypto.spec,
>> javax.crypto,
>> javax.naming,
>> javax.naming.ldap,
>> javax.naming.directory,
>> javax.naming.spi,
>> javax.sql,
>> javax.swing,
>> javax.swing.plaf,
>> javax.sql,
>> javax.transaction,
>> javax.transaction.xa
>
>
> add this project as a module in the reactor and try to build your project
> with tycho 0.14.1 again...
>
> let me know if it worked for you...
>
> regards,
>
> Cristiano
>
>
>
> On 05/03/12 14:20, Robert Munteanu wrote:
>>
>> Should I file a bug? Do you have any suggestions for debugging?
>>
>> Robert
>>
>> On Mon, Mar 5, 2012 at 6:08 PM, Igor Fedorenko<igor@xxxxxxxxxxxxxx>
>> wrote:
>>>
>>> I am not sure what's going on, to be honest. The project specifies
>>> J2SE-1.5 and all missing packages should be available either from JRE or
>>> from Orbit.
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>>
>>> On 12-03-05 9:02 AM, Robert Munteanu wrote:
>>>>
>>>> Hi,
>>>>
>>>> According to
>>>>
>>>> https://github.com/Mylyn-Mantis/mylyn-mantis/blob/master/com.itsolut.mantis.core/.classpath
>>>> I get
>>>>
>>>> <classpathentry kind="con"
>>>>
>>>>
>>>> path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
>>>>
>>>> Also in the target file I have set
>>>>
>>>> <targetJRE
>>>>
>>>> path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
>>>>
>>>> I would expect these packages to be provided by the JRE . I don't
>>>> directly require/import them , but they are pulled in transitively.
>>>>
>>>> Robert
>>>>
>>>> On Mon, Mar 5, 2012 at 2:40 AM, Igor Fedorenko<igor@xxxxxxxxxxxxxx>
>>>> wrote:
>>>>>
>>>>> What is Bundle-RequiredExecutionEnvironment of your project? Is
>>>>> javax.net.ssl and other missing packages expected to come from JRE or
>>>>> provided by a thirdparty bundle?
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Igor
>>>>>
>>>>>
>>>>> On 12-03-04 5:59 PM, Robert Munteanu wrote:
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have a project which I build using Tycho 0.13.0 . After upgrading to
>>>>>> Tycho 0.14.1 , the build fails with:
>>>>>>
>>>>>> [ERROR] Cannot resolve project dependencies:
>>>>>> [ERROR] Software being installed:
>>>>>> org.eclipse.mylyn_feature.feature.group 3.6.5.v20120215-0100
>>>>>> [ERROR] Missing requirement: org.eclipse.equinox.security
>>>>>> 1.0.100.v20090520-1800 requires 'package javax.crypto 0.0.0' but it
>>>>>> could not be found
>>>>>> [ERROR] Cannot satisfy dependency: org.eclipse.core.net
>>>>>> 1.2.0.I20090522-1010 depends on: bundle org.eclipse.equinox.security
>>>>>> [1.0.0,2.0.0)
>>>>>> [ERROR] Cannot satisfy dependency: org.eclipse.core.net
>>>>>> 1.2.1.r35x_20090812-1200 depends on: bundle
>>>>>> org.eclipse.equinox.security [1.0.0,2.0.0)
>>>>>> [ERROR] Cannot satisfy dependency: org.eclipse.mylyn.commons.net
>>>>>> 3.6.0.v20110608-1400 depends on: bundle org.eclipse.core.net 0.0.0
>>>>>> [ERROR] Cannot satisfy dependency: org.eclipse.mylyn.discovery.core
>>>>>> 3.6.1.v20110817-0100 depends on: bundle org.eclipse.mylyn.commons.net
>>>>>> 3.1.0
>>>>>> [ERROR] Cannot satisfy dependency:
>>>>>> org.eclipse.mylyn_feature.feature.group 3.6.5.v20120215-0100 depends
>>>>>> on: org.eclipse.mylyn.discovery.core [3.6.1.v20110817-0100]
>>>>>>
>>>>>> I've tried ignoring optional dependencies with
>>>>>>
>>>>>> <dependency-resolution>
>>>>>> <optionalDependencies>ignore</optionalDependencies>
>>>>>> </dependency-resolution>
>>>>>>
>>>>>> but that changed nothing. I've also bumped up my Orbit and Mylyn
>>>>>> version, with the same result. Probably the target resolution takes
>>>>>> into account more dependencies, but I'm not sure where to start
>>>>>> looking. My target file is found at
>>>>>> https://github.com/Mylyn-Mantis/mylyn-mantis/blob/master/mantis.target
>>>>>> and the project itself at
>>>>>> https://github.com/Mylyn-Mantis/mylyn-mantis/
>>>>>>
>>>>>> The full resolver message is below
>>>>>>
>>>>>> "No solution found because the problem is unsatisfiable.":
>>>>>> ["Unable to satisfy dependency from javax.activation
>>>>>> 1.1.0.v201105071233 to package javax.imageio 0.0.0.", "Unable to
>>>>>> satisfy dependency from javax.activation 1.1.0.v201105071233 to
>>>>>> package javax.imageio.metadata 0.0.0.", "Unable to satisfy dependency
>>>>>> from javax.mail 1.4.0.v201005080615 to package javax.net.ssl 0.0.0.",
>>>>>> "Unable to satisfy dependency from
>>>>>> org.eclipse.ecf.provider.filetransfer.ssl 1.0.0.v20090831-1906 to
>>>>>> package javax.net.ssl 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.eclipse.ecf.ssl 1.0.0.v20090831-1906 to package javax.net.ssl
>>>>>> 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.eclipse.equinox.security 1.0.100.v20090520-1800 to package
>>>>>> javax.crypto 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.eclipse.equinox.security 1.0.100.v20090520-1800 to package
>>>>>> javax.crypto.spec 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.eclipse.equinox.security 1.0.100.v20090520-1800 to package
>>>>>> javax.security.auth 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.eclipse.equinox.security 1.0.100.v20090520-1800 to package
>>>>>> javax.security.auth.callback 0.0.0.", "Unable to satisfy dependency
>>>>>> from org.eclipse.equinox.security 1.0.100.v20090520-1800 to package
>>>>>> javax.security.auth.login 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.eclipse.equinox.security 1.0.100.v20090520-1800 to package
>>>>>> javax.security.auth.spi 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.eclipse.equinox.security.ui 1.0.100.v20090520-1800 to package
>>>>>> javax.crypto.spec 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.eclipse.equinox.security.ui 1.0.100.v20090520-1800 to package
>>>>>> javax.security.auth.x500 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.mortbay.jetty 5.1.11.v200806031610 to package javax.net.ssl
>>>>>> 0.0.0.", "Unable to satisfy dependency from org.mortbay.jetty
>>>>>> 5.1.11.v200806031610 to package javax.security.cert 0.0.0.", "Unable
>>>>>> to satisfy dependency from org.mortbay.jetty 5.1.14.v200806031611 to
>>>>>> package javax.net.ssl 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.mortbay.jetty 5.1.14.v200806031611 to package javax.security.cert
>>>>>> 0.0.0.", "Unable to satisfy dependency from org.mortbay.jetty.server
>>>>>> 6.1.7.v200806031612 to package javax.net.ssl 0.0.0.", "Unable to
>>>>>> satisfy dependency from org.mortbay.jetty.server 6.1.7.v200806031612
>>>>>> to package javax.security.cert 0.0.0.", "Unable to satisfy dependency
>>>>>> from org.mortbay.jetty.server 6.1.15.v200905151201 to package
>>>>>> javax.security.cert 0.0.0.", "Unable to satisfy dependency from
>>>>>> org.mortbay.jetty.server 6.1.15.v200905151201 to package javax.net.ssl
>>>>>> 0.0.0.", "Unable to satisfy dependency from org.mortbay.jetty.server
>>>>>> 6.1.23.v201012071420 to package javax.net.ssl 0.0.0.", "Unable to
>>>>>> satisfy dependency from org.mortbay.jetty.server 6.1.23.v201012071420
>>>>>> to package javax.security.cert 0.0.0.", "No solution found because the
>>>>>> problem is unsatisfiable."]
>>>>>>
>>>>>> Any hints on how to fix the build for 0.14.1 would be appreciated.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Robert
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> tycho-user mailing list
>>>>> tycho-user@xxxxxxxxxxx
>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>
>>
>>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Sent from my (old) computer