qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

install-mojo should not include 2.0.1.automation_swcs files #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the install-mojo to install a Flex SDK from Flex Builder
2. the flex-framework pom.xml has unnecessary dependencies and duplicates

What is the expected output? What do you see instead?
The install (and deploy) should not contain duplicate dependency entries, and 
it would be better 
if it produced a series of tiered poms, instead of just a single pom. The 
single pom includes all 
libraries, include datavisualization and automation. Not every project needs 
all of those, so it 
would be nice if it could produce just a basic pom with the required libraries, 
then an additional 
pom with the automation and possibly the datavisualization libraries.

Here is the flex-framework pom that 2.0M6-SNAPSHOT generated:
<?xml version="1.0" encoding="UTF-8"?><project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.adobe.flex.framework</groupId>
  <artifactId>flex-framework</artifactId>
  <packaging>pom</packaging>
  <version>3.1.0.2710</version>
  <description>POM was created from flex-mojos:install-sdk</description>
  <dependencies>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>automation_agent</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>automation_agent_rb</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>qtp</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>automation</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>automation_agent</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>automation_dmv</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>automation_flashflexkit</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>datavisualization</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>flex</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>framework</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>playerglobal</artifactId>
      <version>9-3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>qtp</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>rpc</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>utilities</artifactId>
      <version>3.1.0.2710</version>
      <type>swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>automation</artifactId>
      <version>3.1.0.2710</version>
      <type>rb.swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>rpc</artifactId>
      <version>3.1.0.2710</version>
      <type>rb.swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>framework</artifactId>
      <version>3.1.0.2710</version>
      <type>rb.swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>datavisualization</artifactId>
      <version>3.1.0.2710</version>
      <type>rb.swc</type>
    </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>automation_agent</artifactId>
      <version>3.1.0.2710</version>
      <type>rb.swc</type>
    </dependency>
  </dependencies>
</project>

Original issue reported on code.google.com by RedB...@gmail.com on 22 Sep 2008 at 10:11

GoogleCodeExporter commented 9 years ago
What is duplicated?  I could not find it?

This install mojo is a utility mojo, to install any FDK into maven repository.

It intend to be flexible, so if you have more locales it will handle.  If have 
more 
libs will work too.  If have non-opensource components must be fine.

You get a lot of thinks installed because you pointed to a FDK with a lot of 
thinks.

I recommend you download FDK 3 (free version with non opensource stuff) and 
install 
it on your repo if you don't wanna automation and datavisualization stuffs.

Just to be clear, it is a goal work with non standard FDKs, with extra jars, 
swcs, 
locales, manifest and whatever shows up in future.

VELO

Original comment by velo...@gmail.com on 22 Sep 2008 at 10:45

GoogleCodeExporter commented 9 years ago
There are duplicates:
automation_agent is listed twice, as is qtp

Original comment by RedB...@gmail.com on 22 Sep 2008 at 10:53

GoogleCodeExporter commented 9 years ago
and automation_agent_rb doesn't really belong. 

It looks like the 3 swcs from the 2.0.1.automation_swcs directory are being 
included, but not differentiated.

I've attached a screenshot of the FB3 sdk layout

Original comment by RedB...@gmail.com on 22 Sep 2008 at 10:57

Attachments:

GoogleCodeExporter commented 9 years ago
Install mojo will be changed to ignore 2.0.1.automation_swcs folder.

Original comment by velo...@gmail.com on 22 Sep 2008 at 11:16

GoogleCodeExporter commented 9 years ago

Original comment by velo...@gmail.com on 11 Oct 2008 at 9:34

GoogleCodeExporter commented 9 years ago
Fixed at revision 821

Original comment by velo...@gmail.com on 18 Oct 2008 at 12:25