Question: i want to increase my integer. but i don't know to fix it
Even i am using this code, my picture more brightness with int +10 from before.

```
try {
            ImageView image = (ImageView) findViewById(R.id.imgView);
            Bitmap bMap = mPhoto;
            int a=0;
            image.setImageBitmap(SetBrightness(bMap,20+a));
            a = a + 10;
} catch (Exception e) { }

```

Can you help me?

**solution**

```
 try {
            ImageView image = (ImageView) findViewById(R.id.imgView);
            Bitmap bMap = mPhoto;
            mPhoto = Bitmap.createBitmap(SetBrightness(bMap,20));
            image.setImageBitmap(mPhoto);

} catch (Exception e) { }

```

Just with code above....
When i click, this code increase by itself :)

Answer: 
The error in your `pom.xml` because you mess up different versions of Struts core and plugins. 

Change

```
<dependency>
    <groupId>org.apache.struts</groupId>
    <artifactId>struts2-core</artifactId>
    <version>2.3.15.2</version>
</dependency>

```

I don't know why do you need JTA 1.0.1B but you could change hibernate to 3.3.2 (at least, without headaches)

```
<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate</artifactId>
    <version>3.3.2.ga</version>
</dependency>

```

it has a recommended dependency for JTA 1.1.

Create a new project from `pom.xml` then add source files to it.
This repo worked for me: 

```
   <repository>
           <id>webpublico-repository</id>
                <name>Webpublico Nexus Repository</name>
                <url>http://repository.webpublico.com.br/repository/maven-public/</url>
   </repository>

```