Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright 2011 OPS4J
 
  Licensed  under the  Apache License,  Version 2.0  (the "License");
  you may not use  this file  except in  compliance with the License.
  You may obtain a copy of the License at
 
    http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed  under the  License is distributed on an "AS IS" BASIS,
  WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
  implied.
 
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<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">

  <parent>
    <groupId>org.ops4j.pax.wicket.samples.plain</groupId>
    <artifactId>plain</artifactId>
    <version>1.1.2</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>

  <artifactId>org.ops4j.pax.wicket.samples.plain.pagefactory</artifactId>
  <version>1.1.2</version>
  <packaging>bundle</packaging>
  <name>OPS4J Pax Wicket :: Samples :: Plain :: Page Factory</name>

  <description>
    This project provides the most simple introduction into pax-wicket showing the use of a page factory.
  </description>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <!-- The bundle activator is only required if we do the things by hand. -->
            <Bundle-Activator>
              org.ops4j.pax.wicket.samples.plain.simple.internal.Activator
            </Bundle-Activator>
            <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
            <Import-Package>
              org.apache.wicket,
              org.apache.wicket.util,
              org.apache.wicket.event,
              org.apache.wicket.page,
              org.apache.wicket.request.resource,
              org.apache.wicket.request.cycle,
              org.apache.wicket.markup.html,
              org.apache.wicket.markup.html.basic,
              org.apache.wicket.protocol.http,
              org.apache.wicket.request.http,
              org.ops4j.pax.wicket.api,
              org.ops4j.pax.wicket.util,
              org.osgi.framework,
              net.sf.cglib.proxy;version="${cglib.range}",
              net.sf.cglib.core;version="${cglib.range}",
              net.sf.cglib.reflect;version="${cglib.range}",
              javax.servlet,
              org.apache.wicket.settings,
              org.apache.wicket.session,
              org.apache.wicket.util.file,
              org.apache.wicket.request,
              javax.servlet.http,
              org.apache.wicket.ajax,
              org.apache.wicket.markup.html.link,
              org.apache.wicket.request.component,
              org.apache.wicket.request.mapper,
              org.apache.wicket.request.mapper.parameter
            </Import-Package>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <!-- Since we're using OSGi direclty we need a reference to those classes -->
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
      <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- We need wicket and pax-wicket references for this sample; simply add the core wicket bundle. -->
    <dependency>
      <groupId>org.ops4j.pax.wicket</groupId>
      <artifactId>org.ops4j.pax.wicket.service</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>

New to GrepCode? Check out our FAQ X