[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Tycho does not pick up java files during compilation
|
Hello,
I am currently trying to get my little project to compile with tycho. I
have no clue, what I have done wrong--I configured everything as in the
example project given here: (At least I think so)
http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp01
I have attached a listing of my project directory layout and this are
the two pom.xml files used in the project:
This is the parent pom:
----------------------------------------------------------------
<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>
<groupId>edu.teco.tacet</groupId>
<artifactId>parent</artifactId>
<version>0.0.1</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho-version>0.19.0</tycho-version>
</properties>
<modules>
<module>edu.teco.tacet.meta</module>
</modules>
<repositories>
<repository>
<id>eclipse-kepler</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
----------------------------------------------------------------
And this the child pom:
----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</artifactId>
<groupId>edu.teco.tacet</groupId>
<version>0.0.1</version>
</parent>
<artifactId>meta</artifactId>
<version>0.0.1</version>
<packaging>eclipse-plugin</packaging>
</project>
----------------------------------------------------------------
And the MANIFEST.MF in the child project:
----------------------------------------------------------------
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Meta
Bundle-SymbolicName: meta;singleton:=true
Bundle-Version: 0.0.1
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: edu.teco.tacet.meta,
edu.teco.tacet.meta.impl,
edu.teco.tacet.meta.util
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
----------------------------------------------------------------
>From the directory the parent pom resides in, I call:
mvn clean compile
which does not seem to compile any of my java sources under src/.
For the output, please consult the attached file "mvn-output.txt".
What did I miss here? If you need further information, I will gladly
provide that!
Regards,
--
Alexander Baier
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: edu.teco.tacet:meta:0.0.1 @ /home/delexi/Dokumente/TeCo-Job/ContextAnnotator/branches/osgi-branch/code/edu.teco.tacet.meta/pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/ (128B at 0B/s)
[INFO] 1 operation remaining.
[INFO] Adding repository http://download.eclipse.org/releases/kepler
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201309270900/ (0B at 0B/s)
[INFO] 1 operation remaining.
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201309270900/ (365B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201306260900/ (0B at 0B/s)
[INFO] 1 operation remaining.
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201306260900/ (365B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/kepler/ (0B at 0B/s)
[INFO] 1 operation remaining.
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/kepler/ (116B at 0B/s)
[INFO] Resolving dependencies of MavenProject: edu.teco.tacet:meta:0.0.1 @ /home/delexi/Dokumente/TeCo-Job/ContextAnnotator/branches/osgi-branch/code/edu.teco.tacet.meta/pom.xml
[INFO] Resolving class path of MavenProject: edu.teco.tacet:meta:0.0.1 @ /home/delexi/Dokumente/TeCo-Job/ContextAnnotator/branches/osgi-branch/code/edu.teco.tacet.meta/pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] parent
[INFO] meta
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building parent 0.0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ parent ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building meta 0.0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ meta ---
[INFO] Deleting /home/delexi/Dokumente/TeCo-Job/ContextAnnotator/branches/osgi-branch/code/edu.teco.tacet.meta/target
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:build-qualifier (default-build-qualifier) @ meta ---
[INFO] The project's OSGi version is 0.0.1
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:validate-id (default-validate-id) @ meta ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:validate-version (default-validate-version) @ meta ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ meta ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- tycho-compiler-plugin:0.19.0:compile (default-compile) @ meta ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] parent ............................................ SUCCESS [0.054s]
[INFO] meta .............................................. SUCCESS [0.407s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.726s
[INFO] Finished at: Tue Jan 14 18:01:50 CET 2014
[INFO] Final Memory: 58M/222M
[INFO] ------------------------------------------------------------------------
├── edu.teco.tacet.meta
│ ├── .classpath
│ ├── meta.ecore
│ ├── meta.genmodel
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── plugin.properties
│ ├── plugin.xml
│ ├── pom.xml
│ ├── .project
│ ├── .settings
│ │ ├── org.eclipse.core.resources.prefs
│ │ ├── org.eclipse.jdt.core.prefs
│ │ └── org.eclipse.m2e.core.prefs
│ ├── src
│ │ ├── main
│ │ │ ├── java
│ │ │ │ └── edu
│ │ │ │ └── teco
│ │ │ │ └── tacet
│ │ │ │ └── meta
│ │ │ │ ├── CSVDatasource.java
│ │ │ │ ├── CSVQuery.java
│ │ │ │ ├── Datasource.java
│ │ │ │ ├── impl
│ │ │ │ │ ├── CSVDatasourceImpl.java
│ │ │ │ │ ├── CSVQueryImpl.java
│ │ │ │ │ ├── DatasourceImpl.java
│ │ │ │ │ ├── MetaFactoryImpl.java
│ │ │ │ │ ├── MetaPackageImpl.java
│ │ │ │ │ ├── ProjectImpl.java
│ │ │ │ │ └── TimeseriesImpl.java
│ │ │ │ ├── MetaFactory.java
│ │ │ │ ├── MetaPackage.java
│ │ │ │ ├── nongen
│ │ │ │ │ └── IOManager.java
│ │ │ │ ├── Project.java
│ │ │ │ ├── Query.java
│ │ │ │ ├── Timeseries.java
│ │ │ │ ├── TimeseriesType.java
│ │ │ │ └── util
│ │ │ │ ├── MetaAdapterFactory.java
│ │ │ │ └── MetaSwitch.java
│ │ │ └── resources
│ │ │ └── edu
│ │ │ └── teco
│ │ │ └── tacet
│ │ │ └── meta
│ │ │ └── .emptydir
│ │ └── test
│ │ ├── java
│ │ │ └── edu
│ │ │ └── teco
│ │ │ └── tacet
│ │ │ └── meta
│ │ │ └── .emptydir
│ │ └── resources
│ │ └── edu
│ │ └── teco
│ │ └── tacet
│ │ └── meta
│ │ └── .emptydir
│ └── target
│ └── classes
│ └── edu
│ └── teco
│ └── tacet
│ └── meta
│ └── .emptydir
├── pom.xml
└── .settings
├── org.eclipse.jdt.core.prefs
└── org.eclipse.jdt.ui.prefs