[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] adding plugins
|
heyy again...
i know i'm being such a pain in the ass, but i want to apply good
practices is this project and any tycho material is pretty scarse. this
list is the only thing that really helps.
again, i got stuck in 'dependencies' problem.
my target definition file look like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>
<target name="Build" sequenceNumber="41">
<locations>
<location path="${workspace_loc}/br.com.german.plugin/lib"
type="Directory"/>
<location includeAllPlatforms="false" includeMode="planner"
includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.rcp.sdk.id" version="3.7.0.I20110613-1736"/>
<unit id="org.eclipse.persistence.jpa.feature.group"
version="2.3.0.v20110604-r9504"/>
<unit id="org.eclipse.persistence.sdo.feature.group"
version="2.3.0.v20110604-r9504"/>
<unit id="org.eclipse.persistence.sdk.feature.group"
version="2.3.0.v20110604-r9504"/>
<repository location="http://download.eclipse.org/releases/indigo/"/>
</location>
</locations>
</target>
as seen, there's a dir '${workspace_loc}/br.com.german.plugin/lib' where
i dropped some plugins (in this case, postgresql driver plug-in)
so, as said, i only need to add plug-ins as dependencies on my MANIFEST.MF
but when i try to 'mvn clean package'...
[INFO] Scanning for projects...
[INFO] Resolving target platform for project MavenProject:
br.com.german:br.com.german.feature:1.0.0 @
C:\Java\workspaceRCP\br.com.german.feature\pom.xml
[INFO] Adding repository http://download.eclipse.org/releases/indigo/
[INFO] Adding repository http://download.eclipse.org/releases/indigo/
[WARNING] Target location type: Directory is not supported
[INFO] Adding repository (cached)
http://download.eclipse.org/releases/indigo/
[INFO] Cannot complete the request. Generating details.
[INFO]
{org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,
osgi.ws=win32, osgi.arch=x86, osgi.os=win32,
org.eclipse.update.install.features=true,
org.osgi.framework.system.packages=}
[INFO] [Software being installed: br.com.german.feature.feature.group
1.0.0, Missing requirement: br.com.german.feature.feature.group 1.0.0
requires 'com.springsource.org.postgresql.jdbc4 8.3.604' but it could
not be found]
[ERROR] Internal error: java.lang.RuntimeException:
org.eclipse.equinox.p2.core.ProvisionException: No solution found
because the problem is unsatisfiable. -> [Help 1]
when i remove postgresql as dependency of my plug-in, the package goes
successful
i'm almost giving up on this :(
it been a week i'm crawling around for a solution :((