felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Cox <b...@virtualschool.edu>
Subject Re: Monolithic tools with trailer hitches
Date Fri, 14 Nov 2008 13:00:45 GMT
That's what I'm using. Yes, it did help. It shifted the problem to 
jaxws-maven-plugin and wsimport. Messed up central repositories it seems.

Any ideas? This just about has me beat.

-> ps
START LEVEL 1
    ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (1.2.1)
[   1] [Active     ] [    1] Apache Felix Shell Service (1.0.2)
[   2] [Active     ] [    1] Apache Felix Shell TUI (1.0.2)
[   3] [Active     ] [    1] Apache Felix Bundle Repository (1.2.0)
[   4] [Active     ] [    1] soakit.core (1.0.0.SNAPSHOT)
[   5] [Active     ] [    1] iPOJO (1.0.0)
[  18] [Active     ] [    1] soakit.port.file (1.0.0.SNAPSHOT)
[  19] [Active     ] [    1] soakit.port.http (1.0.0.SNAPSHOT)
[  20] [Active     ] [    1] soakit.transform.identity (1.0.0.SNAPSHOT)
[  21] [Active     ] [    1] soakit.transform.log (1.0.0.SNAPSHOT)
[  22] [Installed  ] [    1] soakit.transform.pep (1.0.0.SNAPSHOT)
[  23] [Active     ] [    1] soakit.transform.xsl (1.0.0.SNAPSHOT)
[  24] [Installed  ] [    1] soakit.test (1.0.0.SNAPSHOT)
-> update 22
org.osgi.framework.BundleException: Unresolved constraint in bundle 22: 
package; (package=org.apache.xerces.parsers)

Xerces should have been resolved from soakit.core; I specified 
transitive include there.

<?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/maven-v4_0_0.xsd"
 >
   <modelVersion>4.0.0</modelVersion>
   <groupId>soakit</groupId>
   <artifactId>soakit.transform.pep</artifactId>
   <name>soakit.transform.pep</name>
   <version>1.0-SNAPSHOT</version>
   <description>Policy Enforcement Point for OpenSSO PDP</description>
   <packaging>bundle</packaging>

   <parent>
     <groupId>soakit</groupId>
     <artifactId>soakit.transform</artifactId>
     <version>1.0-SNAPSHOT</version>
   </parent>

   <dependencies>
		<dependency>
			<groupId>soakit</groupId>
			<artifactId>soakit.core</artifactId>
			<version>1.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.5</version>
		</dependency>
		<dependency>
			<groupId>sun-jaxws</groupId>
			<artifactId>jsr181-api</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>2.1</version>
		</dependency>
		<dependency>
			<groupId>javax.xml.ws</groupId>
			<artifactId>jaxws-api</artifactId>
			<version>2.1-1</version>
		</dependency>
		<dependency>
			<groupId>xfire</groupId>
			<artifactId>xfire-jsr181-api</artifactId>
			<version>1.0-M1</version>
		</dependency>
   </dependencies>

   <build>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
				<version>1.4.3</version>
         <extensions>true</extensions>
         <configuration>
           <manifestLocation>META-INF</manifestLocation>
           <instructions>
             <Bundle-Version>${pom.version}</Bundle-Version>
             <Bundle-SymbolicName>soakit.transform.pep</Bundle-SymbolicName>
						<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
						<Embed-Transitive>true</Embed-Transitive>
						<_failok/>
					 
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
             <Export-Package>
             	com.gestalt.soakit.transform.pep.*;version="${pom.version}",
             	com.gestalt.soakit.transform.pdp.*;version="${pom.version}",
             </Export-Package>
             <Private-Package>
							javax.servlet.http.*,
             </Private-Package>
           </instructions>
         </configuration>
       </plugin>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-ipojo-plugin</artifactId>
				<version>1.0.0</version>
				<executions>
					<execution>
						<goals>
							<goal>ipojo-bundle</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>jaxws-maven-plugin</artifactId>
         <executions>
           <execution>
             <goals>
               <goal>wsimport</goal>
             </goals>
						<configuration>
							<wsdlUrls>
							 
<wsdlUrl>http://www.cox.dom:8080/opensso/identityservices?WSDL</wsdlUrl>
							</wsdlUrls>
							<packageName>com.gestalt.soakit.transform.pep.generated</packageName>
						</configuration>
           </execution>
         </executions>
       </plugin>
     </plugins>
   </build>
	<!-- See http://weblogs.java.net/blog/ramapulavarthi/ -->
	<repositories>
		<repository>
			<id>maven-repository.dev.java.net</id>
			<name>Java.net Repository for Maven 1</name>
			<url>http://download.java.net/maven/1/</url>
			<layout>legacy</layout>
		</repository>
		<repository>
			<id>maven2-repository.dev.java.net</id>
			<name>Java.net Repository for Maven 2</name>
			<url>http://download.java.net/maven/2/</url>
		</repository>
	</repositories>
</project>



RĂ©mon. Sinnema wrote:
>> JDOM appears prominently because it seems to be the root of my problems.
> 
> Did you try the JDOM bundle in the SpringSource Enterprise Bundle Repository? See http://www.springsource.com/repository/app/search?query=jdom.
I haven't tried it myself, but it seems like it might solve your problems.
> 
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 
> 
> 



Mime
View raw message