Sorry about the previous message...  Here it is formatted correctly
(hopefully).

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/n48927/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 more
Caused 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 more
Caused 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 more
Caused 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*
<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.playground</groupId>
    <artifactId>myArtifact</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>*jar*</packaging>

    <name>myArtifact Flex</name>

    <build>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>
    </build>

    <dependencies>
        <dependency>
            <groupId>com.adobe</groupId>
            <artifactId>fontkit</artifactId>
            <version>1.0</version>
        </dependency>
    </dependencies>

</project>


*PlayerGlobal pom*
<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.playground</groupId>
    <artifactId>myArtifact</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>*jar*</packaging>

    <name>myArtifact Flex</name>

    <build>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>
    </build>

    <dependencies>
        <dependency>
            <groupId>com.adobe.flash.framework</groupId>
            <artifactId>playerglobal</artifactId>
            <version>11.8</version>
            <type>swc</type>
        </dependency>
    </dependencies>

</project>




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

Reply via email to