How to add the dependency for SeleniumFlexAPI in a pom (MAVEN)

286 views
Skip to first unread message

Nahla Laribi

unread,
Sep 8, 2010, 7:34:28 AM9/8/10
to sfapi-...@googlegroups.com
Hello

I use the Flex Selenium woth Maven

I would like to add a dependency of SeleniumFlexAP : I found these dependencies but they don't work
        <!--<dependency>
           <groupId>requiredSWC</groupId>
            <artifactId>seleniumFlexApi</artifactId>
           <version>0.0.1</version>
            <type>swc</type>
       </dependency>
       --><dependency>
        <groupId>com.thoughtworks.selenium</groupId>
          <artifactId>sfapi</artifactId>
          <version>0.2.6</version>
          <type>swc</type>
       </dependency>
 in m2 : i Found in  .m2\repository\com\thoughtworks\selenium\sfapi\0.2.6 sfapi-0.2.6.swc.lastUpdated

Do you have any idea

Any help please

Thank you very much

Nahla Laribi

unread,
Sep 9, 2010, 5:22:17 AM9/9/10
to sfapi-...@googlegroups.com
Hello

I have still the same problem, I would like  to have dependency to  the librairies SFAPI.

I add this in the pom :
....
    <repository>
            <id>sfapi-repository</id>
            <url>http://sfapi.googlecode.com/svn/maven/0.2.6/</url>
        </repository>
...........

<dependency>
            <groupId>com.googlecode</groupId>

            <artifactId>sfapi</artifactId>
            <version>0.2.6</version>
            <type>swc</type>
            <scope>test</scope>
  </dependency>
..........

when i excute the commande : mvn clean install, When maven tried to dowload the librairie from the reposotory, it didn't find the best adresse, I think it is due the structure of the adresse of the repository

there is the result of maven :

Downloading: http://flex-mojos.googlecode.com/svn/trunk/repository//com/googlecode/sfapi/0.2.6/sfapi-0.2.6.swc
[INFO] Unable to find resource 'com.googlecode:sfapi:swc:0.2.6' in repository flex-mojos-repository (http://flex-mojos.googlecode.com/svn/trunk/repository/)
Downloading: http://repository.sonatype.org/content/groups/flexgroup//com/googlecode/sfapi/0.2.6/sfapi-0.2.6.swc
[INFO] Unable to find resource 'com.googlecode:sfapi:swc:0.2.6' in repository sonatype-repository (http://repository.sonatype.org/content/groups/flexgroup/)
Downloading: http://sfapi.googlecode.com/svn/maven/0.2.6//com/googlecode/sfapi/0.2.6/sfapi-0.2.6.swc
[INFO] Unable to find resource 'com.googlecode:sfapi:swc:0.2.6' in repository sfapi-repository (http://sfapi.googlecode.com/svn/maven/0.2.6/)
Downloading: http://repo1.maven.org/maven2/com/googlecode/sfapi/0.2.6/sfapi-0.2.6.swc
[INFO] Unable to find resource 'com.googlecode:sfapi:swc:0.2.6' in repository central (http://repo1.maven.org/maven2)


Any idea please

2010/9/8 Nahla Laribi <nahoul...@gmail.com>

Fergal Hanley

unread,
Sep 9, 2010, 10:58:26 PM9/9/10
to sfapi-...@googlegroups.com
Try that again and use the following:

        <repository>
            <id>sfapi-repository</id>
            <url>http://sfapi.googlecode.com/svn/maven/</url>
        </repository>

  :
  :
  :

  <dependency>
            <groupId>com.googlecode</groupId>

            <artifactId>sfapi</artifactId>
            <version>0.2.6</version>
            <type>swc</type>
            <scope>internal</scope>
  </dependency>


Cheers
Fergal

Nahla Laribi

unread,
Sep 10, 2010, 3:40:26 AM9/10/10
to sfapi-...@googlegroups.com
Hello

Thank you for your answer
I found a solution

Thks



2010/9/10 Fergal Hanley <fergal...@gmail.com>

Christiaan Pieters

unread,
Aug 1, 2016, 9:29:02 AM8/1/16
to Selenium-Flex API - Support
Hi,

Can you please share your solution please :)
Reply all
Reply to author
Forward
0 new messages