Send me your effective pom....

mvn help:effective-pom

There must be something wrong.... make no sense ask for ADT on 3.2.0.39**
version


VELO

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

> Sorry, meant to say "in compiler-3.1.0-local.pom" this is the only thing I
> see with the numbers 3 and 2 in it.
>
>
> On Wed, Jan 21, 2009 at 5:00 PM, Richard Rodseth <[email protected]>wrote:
>
>> Another data point, Velo. I installed a 3.1 SDK in the local repository
>> with version "3.1.0-local"
>>
>> I removed the repositories section of the POM so there is no reference to
>> Artifactory.
>>
>> I still get the ADT error below if I have a a compiler version dependency.
>>
>>
>> In the local repository, this is the only thing I see with the numbers 3
>> and 2 in it.
>>
>> <dependency>
>>       <groupId>com.adobe.flex.compiler</groupId>
>>       <artifactId>aglj32</artifactId>
>>       <version>3.1.0-local</version>
>>     </dependency>
>>
>> Are you *sure* there's not something in the 2.0.1 super-pom that's sucking
>> in 3.2 stuff?
>>
>> Extract of my POM:
>>
>>         <build>
>>             <plugins>
>>                 <plugin>
>>                     <groupId>info.flex-mojos</groupId>
>>                     <artifactId>flex-compiler-mojo</artifactId>
>>                     <dependencies>
>>                         <dependency>
>>                             <groupId>com.adobe.flex</groupId>
>>                             <artifactId>compiler</artifactId>
>>                             <version>3.1.0-local</version>
>>                             <type>pom</type>
>>                         </dependency>
>>                     </dependencies>
>>                 </plugin>
>>             </plugins>
>>         </build>
>>        <dependencies>
>>                  <dependency>
>>                     <groupId>com.adobe.flex.framework</groupId>
>>                     <artifactId>flex-framework</artifactId>
>>                      <version>3.1.0-local</version>
>>                     <type>pom</type>
>>                 </dependency>
>>         </dependencies>
>>
>> Result:
>>
>> 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://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.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://repo1.maven.org/maven2/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.1.0-local
>>       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://repo1.maven.org/maven2),
>>   local (http://svn.sonatype.org/flexmojos/repository/),
>>   flex-mojos-repository (http://svn.sonatype.org/flexmojos/repository/)
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 4 seconds
>> [INFO] Finished at: Wed Jan 21 16:47:13 PST 2009
>> [INFO] Final Memory: 11M/20M
>> [INFO]
>> ------------------------------------------------------------------------
>> no-vpro03-qa:MVCSLib rrodseth$
>>
>>
>> On Wed, Jan 21, 2009 at 4:09 PM, Richard Rodseth <[email protected]>wrote:
>>
>>> My colleagues have had no problems with Artifactory. Maybe it was just
>>> tired after all the uploads I've been doing... I just did a mojo-install
>>> again (using both 2.0.1 and version unspecified). These were successful
>>> except for the bundle error you said I could ignore. So my theory of a bug
>>> in the 2.0.1 installer doesn't seem to hold.
>>>
>>> I wanted to share the active profile in my Maven config, in case it is
>>> relevant. I believe I originally added this in order to be able to run the
>>> install mojo, but I don't know if it makes sense.
>>>
>>>         <profile>
>>>             <id>flex-mojos</id>
>>>             <repositories>
>>>                 <repository>
>>>                     <id>flex-mojos-repository</id>
>>>                     <url>http://svn.sonatype.org/flexmojos/repository/
>>> </url>
>>>                     <snapshots> <enabled>true</enabled> </snapshots>
>>>                     <releases> <enabled>true</enabled> </releases>
>>>                 </repository>
>>>             </repositories>
>>>             <pluginRepositories>
>>>                 <pluginRepository>
>>>                     <id>local</id>
>>>                     <url>http://svn.sonatype.org/flexmojos/repository/
>>> </url>
>>>                     <snapshots> <enabled>true</enabled> </snapshots>
>>>                     <releases> <enabled>true</enabled> </releases>
>>>                 </pluginRepository>
>>>             </pluginRepositories>
>>>         </profile>
>>>
>>>
>>>
>>>
>>> On Wed, Jan 21, 2009 at 3:34 PM, Marvin Froeder <[email protected]>wrote:
>>>
>>>> No, that is expected!
>>>>
>>>> airframework, is what adobe provides.  air-framework is a pom created by
>>>> flex-mojos.  So is easier to add dependencies for an air project.
>>>>
>>>> The same happen with framework and flex-framework....
>>>>
>>>> About adt and afe, that is expected when you install FB3 SDK into maven
>>>> repo.  So far so good.
>>>>
>>>> The only thing I can think that is causing the problem is Artifactory.
>>>> This return 500 can be a clue of what is going on.  Somehow something get
>>>> corrupted there.  Is the only viable explanation.  This works for many
>>>> people, can't be flex-mojos fault!
>>>>
>>>> Can you delete you repo (just com/adobe/*) and bypass artifactory?
>>>>
>>>> I know that is frustrating, for me too, specialy because doesn't look to
>>>> have a direct connection with flex-mojos...
>>>>
>>>> But I will not give up!  It work here and will work there too.
>>>>
>>>> I add you to gtalk, authorize me when you can.
>>>>
>>>>
>>>> VELO
>>>>
>>>>
>>>> On Wed, Jan 21, 2009 at 8:47 PM, Richard Rodseth <[email protected]>wrote:
>>>>
>>>>> 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