Hi Tejaswini,

Maven complains on artifact freemarker:freemarker:jar:2.3.6 from/to central.

However, this artifcat is available on http://repo1.maven.org/maven2/freemarker/freemarker/2.3.6/

Can you retry (maybe a temporary network issue from you host, I also previously faced blacklisted networks by the maven central)?

Thx,
Eric


On 13/03/12 09:31, Ioan Eugen Stan wrote:
Hi Tejaswini,

Sorry for misspelling your name the last time, I'll try not to do that
again. It seems maven can't find the artifact  (possible network
problem?) or address resolution. It built ok on my machine.

P.S. A better understanding of how Maven works will help you in all
your projects. Everything is discussed here, but a bit hard to digest
for beginners so take your time :
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

The main idea is that Maven executes each phase sequentially. At each
phase it executes the goals associated with that phase. Goals are
normally plug-ins executions. Maven knows what goals (plugins) to
execute during which phase by reading the pom.

For example the<packaging>jar</packaging>  line of your pom tells
maven to run the maven-jar-plugin with it's defaults.

Bellow we have org.codehaus.mojo:gwt-maven-plugin plugin version 2.4.0
running resources goal  and telling us it failed to download resources
due to network problems.


2012/3/12 Tejaswini Kurakula<[email protected]>:
Hi Ioan,
Thank you for quick response. This fixed the issue I was getting before
with James version. Now, I ran into a new issue without a successful build
first time.
******
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache James Hupa Parent .......................... SUCCESS
[4:48.344s]
[INFO] Apache James Hupa Shared .......................... FAILURE
[10:43.281s]
[INFO] Apache James Hupa Mock ............................ SKIPPED
[INFO] Apache James Hupa Server .......................... SKIPPED
[INFO] Apache James Hupa Widgets ......................... SKIPPED
[INFO] Apache James Hupa ................................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15:32.485s
[INFO] Finished at: Tue Mar 13 03:12:55 IST 2012
[INFO] Final Memory: 11M/34M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:gwt-maven-plugin:2.4.0:resources (default) on project
hupa-shared: Execution default of goal
org.codehaus.mojo:gwt-maven-plugin:2.4.0:resources failed: Plugin
org.codehaus.mojo:gwt-maven-plugin:2.4.0 or one of its dependencies could
not be resolved: The following artifacts could not be resolved:
freemarker:freemarker:jar:2.3.6,
org.apache.maven.surefire:surefire-api:jar:2.4.3, dom4j:dom4j:jar:1.6.1,
xalan:xalan:jar:2.6.0, com.ibm.icu:icu4j:jar:2.6.1: Could not transfer
artifact freemarker:freemarker:jar:2.3.6 from/to central (
http://repo1.maven.org/maven2): No response received after 60000 ->  [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn<goals>  -rf :hupa-shared
******

I really appreciate any help on this.

Thanks,
Tejaswini.


On Tue, Mar 13, 2012 at 2:54 AM, Ioan Eugen Stan<[email protected]>wrote:

Hi Tejasini,


Try changing the james-project (parent pom) version fr om 1.9-SNAPSHOT
to 1.8.1 like:

    <parent>
        <artifactId>james-project</artifactId>
        <groupId>org.apache.james</groupId>
        <version>1.8.1</version>
        <relativePath />
    </parent>

2012/3/12 Tejaswini Kurakula<[email protected]>:
Hi,

I followed the steps to setup my development environment as mentioned in
the wiki document: http://james.apache.org/hupa/dev/environment.html and
then tried to build the workspace. I am getting following error:

********
[WARNING]
[WARNING] Some problems were encountered while building the effective
settings
[WARNING] Unrecognised tag: 'repositories' (position: START_TAG seen .../
maven.apache.org/xsd/settings-1.0.0.xsd">    \r\n<repositories>...
@5:21)  @ C:\Documents and Settings\tejswini\.m2\settings.xml, line 5,
column 21
[WARNING]
[INFO] Scanning for projects...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further
details.
Downloading:

http://download.java.net/maven/2/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml
Downloading:

http://gwt-dispatch.googlecode.com/svn/maven2/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml
Downloading:

http://gwt-presenter.googlecode.com/svn/maven2/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml
Downloading:

http://gwtupload.googlecode.com/svn/mavenrepo/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml
Downloading:

https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml
Downloading:

http://cobogw.googlecode.com/svn/maven2/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml
Downloading:

http://gwtquery-plugins.googlecode.com/svn/mavenrepo/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml
Downloading:

http://download.java.net/maven/2/org/apache/james/james-project/1.9-SNAPSHOT/james-project-1.9-SNAPSHOT.pom
Downloading:

http://gwtupload.googlecode.com/svn/mavenrepo/org/apache/james/james-project/1.9-SNAPSHOT/james-project-1.9-SNAPSHOT.pom
Downloading:

http://gwt-dispatch.googlecode.com/svn/maven2/org/apache/james/james-project/1.9-SNAPSHOT/james-project-1.9-SNAPSHOT.pom
Downloading:

http://gwt-presenter.googlecode.com/svn/maven2/org/apache/james/james-project/1.9-SNAPSHOT/james-project-1.9-SNAPSHOT.pom
Downloading:

https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/org/apache/james/james-project/1.9-SNAPSHOT/james-project-1.9-SNAPSHOT.pom
Downloading:

http://cobogw.googlecode.com/svn/maven2/org/apache/james/james-project/1.9-SNAPSHOT/james-project-1.9-SNAPSHOT.pom
Downloading:

http://gwtquery-plugins.googlecode.com/svn/mavenrepo/org/apache/james/james-project/1.9-SNAPSHOT/james-project-1.9-SNAPSHOT.pom
[ERROR] The build could not read 1 project ->  [Help 1]
[ERROR]
[ERROR]   The project org.apache.hupa:hupa-parent:0.0.2-SNAPSHOT
(C:\Documents and Settings\tejswini\IndigoEc\HApacheJAMES\pom.xml) has 1
error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.apache.james:james-project:pom:1.9-SNAPSHOT in
maven2-repository.dev.java.net (http://download.java.net/maven/2/) and
'parent.relativePath' points at no local POM @ line 25, column 13 ->
[Help
2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]

http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

*******

Please help me to resolve this error.

thanks,
Tejaswini Kurakula



--
Ioan Eugen Stan
http://ieugen.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]






--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to