On 04/02/13 21:09, Sarven Capadisli wrote:
On 02/04/2013 09:34 PM, Andy Seaborne wrote:
On 04/02/13 18:13, Sarven Capadisli wrote:
Hello!
I have svn co https://svn.apache.org/repos/asf/jena/trunk
JENA_HOME="/usr/lib/jena/trunk/apache-jena"
and I'm trying to build apache-jena from
/usr/lib/jena/trunk/apache-jena$
I do:
mvn install
I get the following:
[INFO] Reading assembly descriptor: assembly-jena-zip.xml
[WARNING] Cannot include project artifact:
org.apache.jena:apache-jena:pom:2.10.0-SNAPSHOT; it doesn't have an
associated file or directory.
I suspect you have not the snapshot repo setup:
In your Maven settings.xml ==>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Do I have to setup a <profile> for this? I've tried just placing that
within <settings>, from a copy that I grabbed under
/etc/maven/settings.xml (in Ubuntu) to ~/.m2/settings.xml. Didn't work out.
I do but I don't think it is necessary: it must be inside <repositories>
though:
<profiles>
<profile>
<id>apache-repository-snapshots</id>
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
....
</profiles>
<activeProfiles>
<activeProfile>apache-repository-snapshots</activeProfile>
</activeProfiles>
Andy