You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Ni...@scee.net on 2007/11/01 10:44:07 UTC

Re: Mina 2.0

Hello

New to this list.  Mina is a truly impressive framework...

Now to your problem.  Are you behind a firewall?  Do you need a proxy to 
access web sites?  If yes, then you need to configure maven to use that 
proxy.

HTH

Nicolai Guba
+44.(0)151.282.3709 
Sony Computer Entertainment Europe
http://www.scee.com


"Ravi Sankar Thokala" <ra...@ivycomptech.com> wrote on 01/11/2007 
06:58:31:

> Hi..
> 
>             I am facing the below problem while executing mvn clean
> install after checking out mina trunk code.
> 
> 
> 
>             Maven version details:
> 
> 
> 
> >mvn -version
> 
> Maven version: 2.0.7
> 
> Java version: 1.6.0
> 
> OS name: "windows xp" version: "5.1" arch: "x86"
> 
> 
> 
> mvn clean install
> 
> [INFO] Scanning for projects...
> 
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> 
> [WARNING] Unable to get resource 'org.apache:apache:pom:4' from
> repository central (http://repo1.mav
> 
> en.org/maven2)
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [ERROR] FATAL ERROR
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Error building POM (may not be this project's POM).
> 
> 
> 
> 
> 
> Project ID: org.apache.mina:build:pom:2.0.0-M1-SNAPSHOT
> 
> 
> 
> Reason: Cannot find parent: org.apache:apache for project:
> org.apache.mina:build:pom:2.0.0-M1-SNAPSH
> 
> OT
> 
> 
> 
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Trace
> 
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache:apache for project:
> 
>  org.apache.mina:build:pom:2.0.0-M1-SNAPSHOT
> 
>         at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
> 
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
> 
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> 
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> 
>         at java.lang.reflect.Method.invoke(Method.java:597)
> 
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> 
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
> find parent: org.apache:apache
> 
> for project: org.apache.mina:build:pom:2.0.0-M1-SNAPSHOT
> 
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa
> ultMavenProjectBu
> 
> ilder.java:1198)
> 
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Defaul
> tMavenProjectBuil
> 
> der.java:697)
> 
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileI
> nternal(DefaultMa
> 
> venProjectBuilder.java:431)
> 
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenPr
> ojectBuilder.java
> 
> :195)
> 
>         at
> org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)
> 
>         at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)
> 
>         at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
> 
>         ... 11 more
> 
> Caused by: org.apache.maven.project.ProjectBuildingException: POM
> 'org.apache:apache' not found in r
> 
> epository: Unable to download the artifact from any repository
> 
> 
> 
>   org.apache:apache:pom:4
> 
> 
> 
> from the specified remote repositories:
> 
>   central (http://repo1.maven.org/maven2)
> 
> 
> 
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit
> ory(DefaultMavenP
> 
> rojectBuilder.java:528)
> 
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa
> ultMavenProjectBu
> 
> ilder.java:1194) 
> 


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster@scee.net
This footnote also confirms that this email message has been checked for all known viruses.
Sony Computer Entertainment Europe Limited
Registered Office: 10 Great Marlborough Street, London W1F 7LP, United Kingdom
Registered in England: 3277793
**********************************************************************

Re: Mina 2.0

Posted by Ni...@scee.net.
"Trustin Lee" <tr...@gmail.com> wrote on 01/11/2007 13:33:05:

> On 11/1/07, Nicolai_Guba@scee.net <Ni...@scee.net> wrote:
> > Hello
> >
> > New to this list.  Mina is a truly impressive framework...
> 
> Thank you for overpraising. :)

Oh, I am very sparse with praise.  Maybe I just happen to appreciate it a 
great deal more having attempted to implement a similar framework in the 
past?

I am using Mina 2.0.0 to implement the networking layer for our repository 
cache on our distributed compilation and asset creation system.  Since the 
PS3 had been introduced the asset size has exploded upwards, so this is a 
very necessary tool indeed.

I noticed that in Mina 2 it is possible to send a FileChannel in the 
session, but I fail to see an example somewehere.  No luck with the 
javadocs either, they are empty (in the relevant files) :(  I really want 
to avoid having to resort to the StreamWriterFilter...

Is there a snipped I could have a look at?  Would be great if someone 
could post a little snippet for the current encoding and decoding of 
FileChannels.  If such post already exists, I would appreciate if one 
could supply a link.  My searches didn't amount to much except pointers to 
a now derilict implementation.

Keep up the good work && Happy Hacking!

-- 
        =NPG=


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster@scee.net
This footnote also confirms that this email message has been checked
for all known viruses.
Sony Computer Entertainment Europe Limited
Registered Office: 10 Great Marlborough Street, London W1F 7LP, United Kingdom
Registered in England:3277793
**********************************************************************

Re: Mina 2.0

Posted by Trustin Lee <tr...@gmail.com>.
On 11/1/07, Nicolai_Guba@scee.net <Ni...@scee.net> wrote:
> Hello
>
> New to this list.  Mina is a truly impressive framework...

Thank you for overpraising. :)

I still feel the MINA team has so many things to do for MINA users.

> Now to your problem.  Are you behind a firewall?  Do you need a proxy to
> access web sites?  If yes, then you need to configure maven to use that
> proxy.

Right.  It seems like there's a problem in Ravi's network connectivity.

HTH,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6