Ok.  That makes sense about the ProxyTest.  It's interesting because that
test will always fail for anyone building the maven extension that IS behind
a proxy...  You'd almost have to check if the environment the test is
running on is behind a proxy, and if so then try to use those proxy
settings.  However, I imagine not many people are going to be building the
extension themselves, and if they do, they can skip the tests.So with my
1.0.1-SNAPSHOT build of the extension, I am able to get to the remote repos,
so I'm not entirely sure what is going wrong.  But, I did create two
separate poms you asked me to, and tried to build.  They are at the bottom
of the message.  Because neither pom referenced flexmojos, I had to change
the packaging type to jar so that it wouldn't complain about not knowing
what a swf packaging type is.The playerglobal pom built just fine.  The
fontkit pom has issues.  All of the font libraries seem to download fine.  I
get good output from the build, and I've checked my local maven repo and all
four fontkit libraries (fontkit, afe, aglj40, rideau) are in it.
<http://apache-flex-development.2333347.n4.nabble.com/file/n48926/Screen_Shot_2015-08-24_at_3.png>
However, the build errors out with: [ERROR] Failed to execute goal on
project myArtifact: Could not resolve dependencies for project
com.playground:myArtifact:jar:1.0-SNAPSHOT: Failure to find
com.adobe:fontkit:jar:1.0 in http://repo1.maven.org/maven2/ was cached in
the local repository, resolution will not be reattempted until the update
interval of maven-central has elapsed or updates are forced -> [Help
1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal on project myArtifact: Could not resolve dependencies for project
com.playground:myArtifact:jar:1.0-SNAPSHOT: Failure to find
com.adobe:fontkit:jar:1.0 in http://repo1.maven.org/maven2/ was cached in
the local repository, resolution will not be reattempted until the update
interval of maven-central has elapsed or updates are forced     at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)       at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)  at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)    at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)        at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at
org.apache.maven.cli.MavenCli.main(MavenCli.java:197)   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)     at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused
by: org.apache.maven.project.DependencyResolutionException: Could not
resolve dependencies for project com.playground:myArtifact:jar:1.0-SNAPSHOT:
Failure to find com.adobe:fontkit:jar:1.0 in http://repo1.maven.org/maven2/
was cached in the local repository, resolution will not be reattempted until
the update interval of maven-central has elapsed or updates are forced  at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
... 23 moreCaused by:
org.eclipse.aether.resolution.DependencyResolutionException: Failure to find
com.adobe:fontkit:jar:1.0 in http://repo1.maven.org/maven2/ was cached in
the local repository, resolution will not be reattempted until the update
interval of maven-central has elapsed or updates are forced     at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
... 24 moreCaused by:
org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find
com.adobe:fontkit:jar:1.0 in http://repo1.maven.org/maven2/ was cached in
the local repository, resolution will not be reattempted until the update
interval of maven-central has elapsed or updates are forced     at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
... 25 moreCaused by: org.eclipse.aether.transfer.ArtifactNotFoundException:
Failure to find com.adobe:fontkit:jar:1.0 in http://repo1.maven.org/maven2/
was cached in the local repository, resolution will not be reattempted until
the update interval of maven-central has elapsed or updates are forced  at
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:231)
at
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:503)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
... 27 more[ERROR] [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/DependencyResolutionException*Fontkit
pom*    4.0.0    com.playground    myArtifact    1.0-SNAPSHOT    *jar*   
myArtifact Flex            src/main/flex        src/test/flex                   
        
com.adobe            fontkit            1.0            *PlayerGlobal pom*   
4.0.0    com.playground    myArtifact    1.0-SNAPSHOT    *jar*    myArtifact
Flex            src/main/flex        src/test/flex                           
com.adobe.flash.framework            playerglobal            11.8           
swc            



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/Problems-Installing-Flash-SDK-according-to-documentation-tp48319p48926.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to