Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
fix javadocs; update poms for sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
kosteman committed Jan 24, 2017
1 parent 2f8b13d commit 4ef87ee
Show file tree
Hide file tree
Showing 13 changed files with 363 additions and 255 deletions.
111 changes: 87 additions & 24 deletions htmlelements-all/pom.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements</artifactId>
<parent>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements</artifactId>
<version>1.18-SNAPSHOT</version>
</parent>
</parent>

<artifactId>htmlelements-all</artifactId>
<name>Yandex QATools HtmlElements All</name>
<artifactId>htmlelements-all</artifactId>
<name>Yandex QATools HtmlElements All</name>

<dependencies>
<dependency>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements-java</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements-matchers</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements-thucydides</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements-java</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements-matchers</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements-thucydides</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<source>1.7</source>
<target>1.7</target>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
186 changes: 100 additions & 86 deletions htmlelements-java/pom.xml
Original file line number Diff line number Diff line change
@@ -1,97 +1,111 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements</artifactId>
<parent>
<groupId>ru.sbtqa.htmlelements</groupId>
<artifactId>htmlelements</artifactId>
<version>1.18-SNAPSHOT</version>
</parent>
</parent>

<artifactId>htmlelements-java</artifactId>
<name>Yandex QATools HtmlElements For Java</name>
<artifactId>htmlelements-java</artifactId>
<name>Yandex QATools HtmlElements For Java</name>

<properties>
<selenium.version>2.53.0</selenium.version>
<phantomjs-maven-plugin.version>0.7</phantomjs-maven-plugin.version>
<phantomjs.binary.version>1.9.8</phantomjs.binary.version>
</properties>
<properties>
<selenium.version>2.53.0</selenium.version>
<phantomjs-maven-plugin.version>0.7</phantomjs-maven-plugin.version>
<phantomjs.binary.version>1.9.8</phantomjs.binary.version>
</properties>

<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.github.detro</groupId>
<artifactId>phantomjsdriver</artifactId>
<version>1.2.0</version>
<exclusions>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>
</dependencies>
<dependency>
<groupId>com.github.detro</groupId>
<artifactId>phantomjsdriver</artifactId>
<version>1.2.0</version>
<exclusions>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<!--https://github.com/klieber/phantomjs-maven-plugin-->
<groupId>com.github.klieber</groupId>
<artifactId>phantomjs-maven-plugin</artifactId>
<version>${phantomjs-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>install</goal>
</goals>
</execution>
</executions>
<configuration>
<version>${phantomjs.binary.version}</version>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19</version>
<configuration>
<systemPropertyVariables>
<phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
</systemPropertyVariables>
</configuration>
</plugin>

</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
/**
* Annotation that is used to set a name for a block of elements or for an element in a block
* or for a page object element.
* <p/>
*
* For example:
* <p/>
*
* <pre class="code">
* &#64;Name("My Form")
* &#64;FindBy(css = "my_form_css")
* public class MyForm extends HtmlElement {
* &#64;Name("Text input name")
* &#64;FindBy(css = "text_input_css")
* private TextInput textInput;
* <p/>
*
* // Other elements and methods here
* }
* </pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
/**
* Annotation that is used for setting waiting timeout value, which will be used for waiting an element to appear.
* For example:
* <p/>
*
* <pre class="code">
* &#64;FindBy(css = "my_form_css")
* &#64;Timeout(3)
* public class MyForm extends HtmlElement {
* &#64;FindBy(css = "text_input_css")
* &#64;Timeout(3)
* private TextInput textInput;
* <p/>
*
* // Other elements and methods here
* }
* </pre>
Expand Down
Loading

0 comments on commit 4ef87ee

Please sign in to comment.