Internally, we use the "svn export" command and put them directly into your
project. The "full-source" command should only need to be run once. Is there
a reason you're running it multiple times?

I've thought about changing things so the source can be pulled from the
source JARs in Maven's repository, but that'd take quite a bit of work.

Matt

On Wed, Nov 4, 2009 at 10:41 AM, Fringe <fringe.friends...@gmail.com> wrote:

>
> Thank you, Matt. Should it not work straight if the SVN/internet  is down
> by
> taking the source files which were downloaded the last time full-source was
> run? Just meant to ask if this is an exception in the way Maven plugins
> work.
>
> Chirs.
>
>
>
>
> mraible wrote:
> >
> > The reason is because full-source connects to SVN and "exports" the
> source
> > files into your project. I got a similar error from AppFuse's build
> > server,
> > so I believe java.net's SVN had a hiccup. Appears to be back now.
> >
> > Matt
> >
> > On Tue, Nov 3, 2009 at 12:50 PM, Fringe <fringe.friends...@gmail.com>
> > wrote:
> >
> >>
> >> Hi,
> >>
> >> When I try to run mvn appfuse:full-source I am getting a Connection
> >> refused
> >> SocketException. I have run this command multiple times in the past
> >> couple
> >> of days and it has worked fine but all of a sudden it started throwing
> >> this
> >> exception a couple of hours back.
> >>
> >> Since it already had worked before and the necessary plugin files must
> >> have
> >> been already downloaded I wonder why it is trying to access the
> internet.
> >> I
> >> tried disabling my internet connection and I got a UnknownHostException
> >> for
> >> appfuse.dev.java.net. I tried accessing the url, it was down. Is this
> the
> >> reason why full-source is failing? Even if this is the reason I do not
> >> understand why it is accessing the internet when all the plugin related
> >> files must already be there in the local repository.
> >>
> >>
> >>
> >> Full stacktrace:
> >>
> >> java.net.ConnectException: Connection refused: connect
> >>        at org.apache.tools.ant.taskdefs.Get.execute(Get.java:80)
> >>        at
> >>
> >>
> org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(InstallSourceMojo.java:653)
> >>        at
> >>
> >>
> org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(InstallSourceMojo.java:626)
> >>        at
> >>
> >>
> org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:215)
> >>        at
> >>
> >>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
> >>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> >>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> >>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>        at
> >>
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>        at
> >>
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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: java.net.ConnectException: Connection refused: connect
> >>        at java.net.PlainSocketImpl.socketConnect(Native Method)
> >>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> >>        at
> >> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> >>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> >>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> >>        at java.net.Socket.connect(Socket.java:519)
> >>        at
> >>
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
> >>        at
> >>
> >>
> com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
> >>        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
> >>        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
> >>        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
> >>        at
> >> sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:271)
> >>        at
> >> sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:328)
> >>        at
> >>
> >>
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
> >>        at
> >>
> >>
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)
> >>        at
> >>
> >>
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
> >>        at
> >>
> >>
> sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
> >>        at org.apache.tools.ant.taskdefs.Get.doGet(Get.java:158)
> >>        at org.apache.tools.ant.taskdefs.Get.execute(Get.java:76)
> >>        ... 21 more
> >> --- Nested Exception ---
> >> java.net.ConnectException: Connection refused: connect
> >>        at java.net.PlainSocketImpl.socketConnect(Native Method)
> >>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> >>        at
> >> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> >>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> >>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> >>        at java.net.Socket.connect(Socket.java:519)
> >>        at
> >>
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
> >>        at
> >>
> >>
> com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
> >>        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
> >>        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
> >>        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
> >>        at
> >> sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:271)
> >>        at
> >> sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:328)
> >>        at
> >>
> >>
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
> >>        at
> >>
> >>
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)
> >>        at
> >>
> >>
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
> >>        at
> >>
> >>
> sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
> >>        at org.apache.tools.ant.taskdefs.Get.doGet(Get.java:158)
> >>        at org.apache.tools.ant.taskdefs.Get.execute(Get.java:76)
> >>        at
> >>
> >>
> org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(InstallSourceMojo.java:653)
> >>        at
> >>
> >>
> org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(InstallSourceMojo.java:626)
> >>        at
> >>
> >>
> org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:215)
> >>        at
> >>
> >>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
> >>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> >>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> >>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>        at
> >>
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>        at
> >>
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
> >>
> >>
> >> Thanks,
> >> Chris.
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/appfuse%3Afull-source-throwing-SocketException-tp26163368s2369p26163368.html
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/appfuse%3Afull-source-throwing-SocketException-tp26163368s2369p26201160.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to