Hi list:
I tried to build Asterisk-Java this morning and I found two issues:
The first one seems to be related to the revision 1393 which involves a
modification to the Maven's pom.xml file. Trying to build AJ with any
revision later to 1392 produces the following error:
http://pastebin.com/d17d35afe
Not being an Maven expert, this could be related to my Maven 2
installation. I downloaded the package, uncompressed it and configured as
the docs suggests. Maybe I'm missing some additonal step.
Here is there relevant information from SVN:
tomas@newells:~/AJ/svn/asterisk-java-trunk$ svn log -r1393
------------------------------------------------------------------------
r1393 | srt | 2009-12-15 12:45:03 -0300 (mar 15 de dic de 2009) | 1 line
Replaced ${artifactId} by ${project.artifactId}
------------------------------------------------------------------------
tomas@newells:~/AJ/svn/asterisk-java-trunk$ svn diff -r1392:1393
Index: pom.xml
===================================================================
--- pom.xml (revisión: 1392)
+++ pom.xml (revisión: 1393)
@@ -3,7 +3,7 @@
<parent>
<groupId>org.asteriskjava</groupId>
<artifactId>asterisk-java-parent</artifactId>
- <version>1</version>
+ <version>2-SNAPSHOT</version>
</parent>
<artifactId>asterisk-java</artifactId>
<name>Asterisk-Java</name>
@@ -113,7 +113,7 @@
<version>2.0</version>
</plugin>
</plugins>
- <finalName>${artifactId}</finalName>
+ <finalName>${project.artifactId}</finalName>
</build>
<dependencies>
<dependency>
The second one seems to be related by the dependencies downloaded by Maven
to build AJ. I get the following error (using pom.xml revision 1392) when
trying to build: http://pastebin.com/f132c471f (relevant lines are
highlighted). Searching in the web, I've spotted this issue in other
projects. It seems to be related to the repository from which the JARs are
being downloaded.
For example, the content of the file
/home/tomas/.m2/repository/javax/jms/jms/1.1/jms-1.1.pom is:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="
http://download.java.net/maven/1/javax.jms/poms/jms-1.1.pom">here</a>.</p>
<hr>
<address>Apache Server at maven-repository.dev.java.net Port 443</address>
</body></html>
I've found that this problem seems to be related to log4j (
http://jira.codehaus.org/browse/MEV-649?page=com.atlassian.streams.streams-jira-plugin%3Aactivity-stream-issue-taband
http://jira.codehaus.org/browse/MNG-4428). Excluding this dependency at
build time is an option but I thought that this information could be from
your interest.
Best regards, Tomás.
|