Commit 851e2720 authored by Christian Wulf's avatar Christian Wulf

fixed some maven build issues

parent c9e1f46d
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>kieker.tools.eclipse.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/kieker.tools.eclipse.feature_1.0.0.qualifier.jar" id="kieker.tools.eclipse.feature" version="1.0.0.qualifier">
<category name="net.kieker-monitoring"/>
</feature>
<category-def name="net.kieker-monitoring" label="Kieker - a monitoring and dynamic analysis framework"/>
</site>
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="kieker.tools.eclipse.feature"
label="Kieker Eclipse Plugin"
version="1.0.0.qualifier"
provider-name="Kieker">
<description url="https://build.se.informatik.uni-kiel.de/kieker/kieker-eclipse-plugin">
Kieker provides an Eclipse-Plugin for monitoring and analyzing Java projects from within the Eclipse IDE. The monitoring part allows to instrument and run Java-projects within Eclipse. The analysis part allows to process a Kieker log folder by a user-defined Kieker analysis.
</description>
<copyright>
Copyright 2016-2017 Kieker Monitoring
</copyright>
<license url="https://www.apache.org/licenses/LICENSE-2.0">
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
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 &quot;AS IS&quot; 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.
</license>
<url>
<discovery label="Nebula" url="http://download.eclipse.org/nebula/releases/1.0.0/"/>
</url>
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.debug.core"/>
<import plugin="org.eclipse.jdt.launching" version="3.8.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.debug.ui" version="3.11.100" match="greaterOrEqual"/>
<import plugin="org.eclipse.jdt.debug.ui" version="3.7.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.ui.ide" version="3.11.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.jface"/>
<import plugin="org.eclipse.core.resources" version="3.9.1" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.expressions" version="3.5.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.jdt.ui" version="3.11.1" match="greaterOrEqual"/>
<import plugin="org.eclipse.ui.workbench"/>
<import plugin="org.eclipse.jface.text" version="3.10.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.ui.editors" version="3.9.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.jdt.core" version="3.11.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.equinox.registry"/>
<import plugin="org.eclipse.swt"/>
<import plugin="org.eclipse.nebula.widgets.cdatetime" version="1.0.0" match="greaterOrEqual"/>
</requires>
<plugin
id="kieker.tools.eclipse.monitoring"
download-size="0"
install-size="0"
version="1.0.0.qualifier"
unpack="false"/>
<plugin
id="kieker.tools.eclipse.analysis"
download-size="0"
install-size="0"
version="1.0.0.qualifier"
unpack="false"/>
</feature>
<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>
<artifactId>kieker.tools.eclipse.feature</artifactId>
<version>1.0.0-SNAPSHOT</version>
<parent>
<groupId>net.kieker-monitoring</groupId>
<artifactId>kieker.tools.eclipse.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<packaging>eclipse-feature</packaging>
</project>
\ No newline at end of file
<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>
<artifactId>kieker.tools.eclipse.monitoring</artifactId>
<packaging>eclipse-plugin</packaging>
......
......@@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.UpdateSiteNature</nature>
</natures>
</projectDescription>
So far, you need to create the updatesite manually with Eclipse.
Open the file site.xml, select the category, and click on "Build all".
Then, the files for the updatesite are created within this directory.
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/kieker.tools.eclipse.feature_1.0.0.201712131315.jar" id="kieker.tools.eclipse.feature" version="1.0.0.201712131315">
<feature url="features/kieker.tools.eclipse.feature_1.0.0.201712131435.jar" id="kieker.tools.eclipse.feature" version="1.0.0.201712131435">
<category name="net.kieker-monitoring"/>
</feature>
<category-def name="net.kieker-monitoring" label="Kieker - the monitoring and dynamic analysis framework"/>
......
......@@ -32,9 +32,10 @@
</repositories>
<modules>
<module>kieker.tools.eclipse.feature</module>
<module>kieker.tools.eclipse.monitoring</module>
<module>kieker.tools.eclipse.analysis</module>
<module>kieker.tools.eclipse.feature</module>
</modules>
<build>
......
......@@ -7,6 +7,7 @@
+ kieker.tools.eclipse.dependencies
+ kieker.tools.eclipse.feature
+ kieker.tools.eclipse.monitoring
+ kieker.tools.eclipse.updatesite
#### kieker.tools.eclipse.parent
All common settings are stored in the parent `pom.xml`, e.g. the Tycho version or the target version of Eclipse. The sub-projects `pom.xml` inherit from this parent `pom.xml`.
......@@ -19,18 +20,22 @@ All common settings are stored in the parent `pom.xml`, e.g. the Tycho version o
Because Tycho can not use non-OSGI .m2-Repositories this sub-project is used for dependencies using .m2 instead. Its `pom.xml` does not inherit from the parents `pom.xml` and won't use tycho.
#### kieker.tools.eclipse.feature
Contains the only feature of the Kieker Eclipse Plugin
#### kieker.tools.eclipse.monitoring
#### kieker.tools.eclipse.updatesite
Contains the updatesite repository which you can use to install the Kieker Eclipse plugin into your Eclipse.
## Build
Execute ``mvn clean package`` within the directory ``kieker.tools.eclipse.parent``.
## Install
So far, we do not provide an Eclipse Updatesite. Hence, you need to install the plugin from your file system.
Necessary steps to install the plugin:
- Download the [KiekerEclipsePlugin folder](https://build.se.informatik.uni-kiel.de/kieker/kieker-eclipse-plugin/tree/master/build/KiekerEclipsePlugin)
- Download the [kieker.tools.eclipse.updatesite folder](https://build.se.informatik.uni-kiel.de/kieker/kieker-eclipse-plugin/tree/master/kieker.tools.eclipse.parent/kieker.tools.eclipse.updatesite)
- Inside Eclipse go to Help -> Install New Software...
- Add to the *Work with* textbox the path to the local KiekerEclipsePlugin folder: `file/.../KiekerEclipsePlugin`
- Select *Kieker Eclipse Plugin*
- Add to the *Work with* textbox the path to the local KiekerEclipsePlugin folder: `file/.../kieker.tools.eclipse.updatesite`
- Select either the category *Kieker - the monitoring and dynamic analysis framework* or, explicitly, the feature *Kieker Eclipse Plugin*
- Click *Next*, *Next*, accept the License Agreement and click Finish
- Wait... when a Security Warning appears due to *unsigned content* click ok
- Restart Eclipse by clicking *Yes*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment