Velo,

I can certainly build a simple library that doesn't use datavisualization or
third party libraries, using a pom that looks like your simple library
example (ie no build, repository or dependencies section), and no
Artifactory.

I did notice an interesting thing. I started getting 500 errors while
deploying to Artifactory. They all seemed to be air-related, eg.:

[ERROR] Unable to install artifact: /tmp/air-framework59602.pom
org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error
deploying artifact: Failed to transfer file:
http://builds.companyname.net/artifactory/libs-releases?/com/adobe/flex/framework/air-framework/3.2.0-fb3/air-framework-3.2.0-fb3.pom<https://owa.centerbeam.com/exchweb/bin/redir.asp?URL=http://builds.verdiem.net/artifactory/libs-releases?/com/adobe/flex/framework/air-framework/3.2.0-fb3/air-framework-3.2.0-fb3.pom>.
Return code is: 500

So I decided to try installing the SDK to the local repository with version
3.2.0-fb3.
When I look at the local repository, the compiler/adt and compiler/afe
folders have a 3.2.0-fb3 subfolder, but not a 3.2.0.3958 one.
Also, the framework folder has both "airframework" and "air-framework". So
perhaps the install-mojo has issues when used with a 3.2 source directory.

On Wed, Jan 21, 2009 at 1:41 PM, Richard Rodseth <[email protected]> wrote:

> Fuller output below. Does the "path to dependency" reveal something?
> I don't see how anything could be corrupted. I've cleared the local (m2)
> repository and the SDK uploaded to Artifactory was a fresh download from
> here:
> http://www.adobe.com/products/flex/flexdownloads/index.html
> I did point Flexbuilder at that location (i.e. added it as an Installed
> SDK), so I will now try making a separate SDK just for Maven and upload that
> to Artifactory.
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building MVCSLib
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://svn.sonatype.org/flexmojos/repository//com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.pom
> Downloading:
> http://svn.sonatype.org/flexmojos/repository//com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.pom
> Downloading:
> http://repo1.maven.org/maven2/com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.pom
> Downloading:
> http://svn.sonatype.org/flexmojos/repository//com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.pom
> Downloading:
> http://builds.verdiem.net/artifactory/repo/com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.pom
> Downloading:
> http://svn.sonatype.org/flexmojos/repository//com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.jar
> Downloading:
> http://svn.sonatype.org/flexmojos/repository//com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.jar
> Downloading:
> http://svn.sonatype.org/flexmojos/repository//com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.jar
> Downloading:
> http://builds.verdiem.net/artifactory/repo/com/adobe/flex/compiler/adt/3.2.0.3958/adt-3.2.0.3958.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) com.adobe.flex.compiler:adt:jar:3.2.0.3958
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=com.adobe.flex.compiler
> -DartifactId=adt -Dversion=3.2.0.3958 -Dpackaging=jar -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>       mvn deploy:deploy-file -DgroupId=com.adobe.flex.compiler
> -DartifactId=adt -Dversion=3.2.0.3958 -Dpackaging=jar -Dfile=/path/to/file
> -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>       1) info.flex-mojos:flex-compiler-mojo:maven-plugin:2.0.1
>       2) com.adobe.flex:compiler:pom:3.2.0-fb3
>       3) com.adobe.flex.compiler:adt:jar:3.2.0.3958
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   info.flex-mojos:flex-compiler-mojo:maven-plugin:2.0.1
>
> from the specified remote repositories:
>   central (http://builds.verdiem.net/artifactory/repo),
>   local (http://svn.sonatype.org/flexmojos/repository/),
>   snapshots (http://builds.verdiem.net/artifactory/repo),
>   flex-mojos-repository (http://svn.sonatype.org/flexmojos/repository/)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Wed Jan 21 13:23:56 PST 2009
> [INFO] Final Memory: 11M/20M
> [INFO]
> ------------------------------------------------------------------------
> no-vpro03-qa:MVCSLib rrodseth$
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to