| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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. |
| --> |
| <!-- |
| @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a> |
| --> |
| <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> |
| <parent> |
| <groupId>org.apache.directory.studio</groupId> |
| <artifactId>parent</artifactId> |
| <version>1.4.1-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>schemaeditor</artifactId> |
| <version>${schemaeditor.version}</version> |
| <name>Apache Directory Studio Schema Editor</name> |
| <packaging>jar</packaging> |
| |
| <description /> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>.</directory> |
| <includes> |
| <include>plugin*.properties</include> |
| <include>plugin.xml</include> |
| <include>about.ini</include> |
| <include>studio.png</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>resources</directory> |
| <targetPath>resources</targetPath> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <directory>src/main/java</directory> |
| <includes> |
| <include>**/*.properties</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <configuration> |
| <skip>false</skip> |
| <pde>true</pde> |
| <projectnatures> |
| <projectnature>org.eclipse.pde.PluginNature</projectnature> |
| <projectnature>org.eclipse.jdt.core.javanature</projectnature> |
| </projectnatures> |
| <classpathContainers> |
| <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> |
| <classpathContainer>org.eclipse.pde.core.requiredPlugins</classpathContainer> |
| </classpathContainers> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.directory.studio</groupId> |
| <artifactId>studio-maven-plugin</artifactId> |
| <configuration> |
| <skip>false</skip> |
| <createManifest>true</createManifest> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>prepare-jar-package</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>META-INF/MANIFEST.MF</manifestFile> |
| <addMavenDescriptor>false</addMavenDescriptor> |
| </archive> |
| </configuration> |
| </plugin> |
| <!-- MANIFEST.MF Generation --> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <manifestLocation>META-INF</manifestLocation> |
| <instructions> |
| <Bundle-SymbolicName>${groupId}.${artifactId};singleton:=true</Bundle-SymbolicName> |
| <Eclipse-BuddyPolicy>registered</Eclipse-BuddyPolicy> |
| <Bundle-Localization>plugin</Bundle-Localization> |
| <Eclipse-LazyStart>true</Eclipse-LazyStart> |
| <Bundle-Activator>org.apache.directory.studio.schemaeditor.Activator</Bundle-Activator> |
| <Require-Bundle>org.eclipse.core.runtime, |
| org.eclipse.jface.text, |
| org.eclipse.search, |
| org.eclipse.ui, |
| org.eclipse.ui.forms, |
| org.apache.directory.studio.connection.core, |
| org.apache.directory.studio.connection.ui, |
| org.apache.directory.studio.jars |
| </Require-Bundle> |
| <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> |
| <Embed-Directory>lib</Embed-Directory> |
| <Embed-StripGroup>true</Embed-StripGroup> |
| <Embed-Transitive>true</Embed-Transitive> |
| <Export-Package>org.apache.directory.studio.schemaeditor.model.*, org.apache.directory.studio.schemaeditor.model.io.*</Export-Package> |
| <Import-Package>!</Import-Package> |
| <Private-Package>!</Private-Package> |
| </instructions> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <!-- Libraries dependencies --> |
| <dependency> |
| <groupId>org.apache.directory.shared</groupId> |
| <artifactId>shared-converter</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>antlr</groupId> |
| <artifactId>antlr</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.directory.shared</groupId> |
| <artifactId>shared-ldap</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- Apache Directory Studio plugins dependencies --> |
| <dependency> |
| <groupId>org.apache.directory.studio</groupId> |
| <artifactId>connection.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.studio</groupId> |
| <artifactId>connection.ui</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.studio</groupId> |
| <artifactId>jars</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Eclipse plugins dependencies --> |
| <dependency> |
| <groupId>org.eclipse.core</groupId> |
| <artifactId>commands</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.core</groupId> |
| <artifactId>jobs</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.core</groupId> |
| <artifactId>runtime</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse</groupId> |
| <artifactId>jface</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jface</groupId> |
| <artifactId>text</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.ui</groupId> |
| <artifactId>forms</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse</groupId> |
| <artifactId>text</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.equinox</groupId> |
| <artifactId>common</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.equinox</groupId> |
| <artifactId>preferences</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.equinox</groupId> |
| <artifactId>registry</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse</groupId> |
| <artifactId>ui</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse</groupId> |
| <artifactId>osgi</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.ui</groupId> |
| <artifactId>editors</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.ui</groupId> |
| <artifactId>workbench</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.swt.gtk.linux</groupId> |
| <artifactId>x86</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse</groupId> |
| <artifactId>search</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- JUnit for test only --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |