Hello I'm new to Clerezza and mvn, I'm trying to compile 
incubator.apache.org/clerezza/mvn-site/org.apache.clerezza.rdf.core/documentation/tutorial_1.xhtml,
 I compiled the following pom.xml I found dependencies in 
http://incubator.apache.org/clerezza/mvn-site/org.apache.clerezza.rdf.core/dependency-management.html
When I execute mvn clean install -e -Dmaven.test.skip=true -U -X 
I receive the following error:
error
------
[ERROR] Failed to execute goal on project tutorial1: Could not resolve 
dependencies for project org.example.clerezza.scb:tutorial1:jar:1.0-SNAPSHOT: 
The following artifacts could not be resolved: 
org.clerezza:org.clerezza.rdf.core:jar:0.12-incubating-SNAPSHOT, 
org.clerezza:org.clerezza.rdf.utils:jar:0.13-incubating-SNAPSHOT, 
org.clerezza:org.clerezza.rdf.ontologies:jar:0.11-incubating-SNAPSHOT, 
org.clerezza:org.clerezza.rdf.jena.parser:jar:0.10-incubating-SNAPSHOT, 
org.clerezza:org.clerezza.rdf.jena.serializer:jar:0.9-incubating-SNAPSHOT, 
org.clerezza:org.clerezza.rdf.simple.storage:jar:0.7-incubating-SNAPSHOT: Could 
not find artifact 
org.clerezza:org.clerezza.rdf.core:jar:0.12-incubating-SNAPSHOT in 
clerezza-release (http://repo.trialox.org/release) -> [Help 1]
....

pom.xml
------------
<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>org.example.clerezza.scb</groupId>
        <artifactId>tutorial1</artifactId>
        <version>1.0-SNAPSHOT</version>
        <packaging>jar</packaging>

        <name>tutorial1</name>
        <url>http://maven.apache.org</url>

        <properties>
                
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>

        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>3.8.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.clerezza</groupId>
                        <artifactId>org.clerezza.rdf.core</artifactId>
                        <version>0.12-incubating-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>org.clerezza</groupId>
                        <artifactId>org.clerezza.rdf.utils</artifactId>
                        <version>0.13-incubating-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>org.clerezza</groupId>
                        <artifactId>org.clerezza.rdf.ontologies</artifactId>
                        <version>0.11-incubating-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>org.clerezza</groupId>
                        <artifactId>org.clerezza.rdf.jena.parser</artifactId>
                        <version>0.10-incubating-SNAPSHOT</version>
                        <!-- <scope>runtime</scope> -->
                </dependency>
                <dependency>
                        <groupId>org.clerezza</groupId>
                        
<artifactId>org.clerezza.rdf.jena.serializer</artifactId>
                        <version>0.9-incubating-SNAPSHOT</version>
                        <!-- <scope>runtime</scope> -->
                </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-simple</artifactId>
                        <version>1.5.5</version>
                        <!-- <scope>runtime</scope> -->
                </dependency>
                <dependency>
                        <groupId>org.clerezza</groupId>
                        <artifactId>org.clerezza.rdf.simple.storage</artifactId>
                        <version>0.7-incubating-SNAPSHOT</version>
                        <!-- <scope>runtime</scope> -->
                </dependency>
        </dependencies>

        <repositories>
                <repository>
                        <id>clerezza-release</id>
                        <name>clerezza.org distribution repository</name>
                        <url>http://repo.trialox.org/release</url>
                        <layout>default</layout>
                </repository>
                <repository>
                        <id>clerezza-snapshot</id>
                        <name>clerezza.org snapshot repository</name>
                        <url>http://repo.trialox.org/snapshot</url>
                        <layout>default</layout>
                </repository>
        </repositories>
        <build>
        <plugins>
                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-compiler-plugin</artifactId>
                        <version>2.0.2</version>
                        <configuration>
                                <source>1.6</source>
                                <target>1.6</target>
                                <encoding>utf-8</encoding>
                        </configuration>
                </plugin>
                <plugin>
                        <groupId>org.apache.felix</groupId>
                        <artifactId>maven-scr-plugin</artifactId>
                        <version>1.7.0</version>
                        <executions>
                                <execution>
                                        <id>generate-scr-scrdescriptor</id>
                                        <goals>
                                                <goal>scr</goal>
                                        </goals>
                                </execution>
                        </executions>
                        <dependencies>
                                <dependency>
                                        <groupId>org.slf4j</groupId>
                                        <artifactId>slf4j-simple</artifactId>
                                        <version>1.6.1</version>
                                </dependency>
                        </dependencies>
                </plugin>
                <plugin>
                        <groupId>org.apache.felix</groupId>
                        <artifactId>maven-bundle-plugin</artifactId>
                        <extensions>true</extensions>
                        <version>2.0.1</version>
                        <configuration>
                                <instructions>
                                        <!-- <Include-Resource> -->
                                        <!-- src/main/resources, -->
                                        <!-- target/scr-plugin-generated -->
                                        <!-- </Include-Resource> -->
                                        <!-- <Service-Component> -->
                                        <!-- OSGI-INF/serviceComponents.xml -->
                                        <!-- </Service-Component> -->
                                        <Bundle-SymbolicName>
                                                
${project.groupId}.${project.artifactId}
                                        </Bundle-SymbolicName>
                                </instructions>
                        </configuration>
                </plugin>
        </plugins>
</build>

</project>

Give me help please?
thanks
Alessandra

Reply via email to