title: Build Path issues jta-1.0.1B.jar cannot be read or it is not a valid ZIP
body: <p>I have the following error that causes an exclamation red point on the project and is shown in Problems/Markers View.</p>
  
  <p>'....m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar' ... cannot be read or is not a valid ZIP file</p>
  
  <p>I have checked in the repository and the jta-1.0.1B.jar is there, I don't get why it cannot be read. I had a different issue on this jar file earlier along with other dependencies like stax-1.0.jar and others and searching for similar issues i saw that there were being caused by the names which had added .lastUpdated at the end of each file. I manually renamed them by only removing the .lastUpdated. After that the build in logs shows success but I still see an error in Markers view and an exclamation red point on the project caused by the listed problem.
  i tried this solution:</p>
  
  <p><b>Check out the Java.net maven 2 repo.
  <a href="http://download.java.net/maven/2/javax/transaction/jta/1.0.1B/" rel="nofollow">http://download.java.net/maven/2/javax/transaction/jta/1.0.1B/</a></p>
  
  <p>Download the .jar, .jar.md5, and .jar.sha1 into you        [.m2/javax/transaction/jta/1.0.1B/]</p>
  
  <p>use: </p>
  
  <p>mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=jta-1.0.1B.jar </b></p>
  
  <p>But i still have the same issue. How do I proceed?
  Note: Here is what I get in console by running Maven clean [Why does it build successfully and the issue remains?</p>
  
  <pre><code> [INFO] Scanning for projects...
   [WARNING] 
   [WARNING] Some problems were encountered while building the effective model for prep.mucyo.com:subscription:war:0.0.1-SNAPSHOT
   [WARNING] 'dependencies.dependency.systemPath' for com.oracle:ojdbc14:jar should use a variable instead of a hard-coded path  C:/Eclipse_Juno/workspace/subscription/lib/ojdbc14.jar @ line 84, column 17
  [WARNING] 
  [WARNING] It is highly recommended to fix these problems because they threaten the    stability of your build.
  [WARNING] 
  [WARNING] For this reason, future Maven versions might no longer support building such    malformed projects.
  [WARNING] 
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building subscription maven webapp 0.0.1-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ subscription ---
  [INFO] Deleting C:\Eclipse_Juno\workspace\subscription\target
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.645s
  [INFO] Finished at: Thu Aug 15 15:45:22 EDT 2013
  [INFO] Final Memory: 3M/60M
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>This is part of pom.xml</p>
  
  <pre><code> &lt;repositories&gt; 
  &lt;repository&gt;
      &lt;id&gt;JBoss repository&lt;/id&gt;
      &lt;url&gt;http://repository.jboss.com/maven2/&lt;/url&gt;
  &lt;/repository&gt;
   &lt;/repositories&gt;
   &lt;dependencies&gt;
   &lt;dependency&gt;
    &lt;groupId&gt;junit&lt;/groupId&gt;
    &lt;artifactId&gt;junit&lt;/artifactId&gt;
    &lt;version&gt;4.11&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.struts&lt;/groupId&gt;
      &lt;artifactId&gt;struts2-spring-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.3.15.1&lt;/version&gt;
  &lt;/dependency&gt; 
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.struts&lt;/groupId&gt;
      &lt;artifactId&gt;struts2-core&lt;/artifactId&gt;
      &lt;version&gt;2.3.15.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring&lt;/artifactId&gt;
      &lt;version&gt;2.5.6.SEC03&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
      &lt;version&gt;3.2.4.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
      &lt;artifactId&gt;hibernate&lt;/artifactId&gt;
      &lt;version&gt;3.2.7.ga&lt;/version&gt;
      &lt;type&gt;pom&lt;/type&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;dom4j&lt;/groupId&gt;
      &lt;artifactId&gt;dom4j&lt;/artifactId&gt;
      &lt;version&gt;20040902.021138&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;commons-logging&lt;/groupId&gt;
      &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
      &lt;version&gt;1.1.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;commons-collections&lt;/groupId&gt;
      &lt;artifactId&gt;commons-collections&lt;/artifactId&gt;
      &lt;version&gt;20040616&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;cglib&lt;/groupId&gt;
      &lt;artifactId&gt;cglib&lt;/artifactId&gt;
      &lt;version&gt;3.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;antlr&lt;/groupId&gt;
      &lt;artifactId&gt;antlr&lt;/artifactId&gt;
      &lt;version&gt;20030911&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;net.sf.stax&lt;/groupId&gt;
      &lt;artifactId&gt;stax&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;javax&lt;/groupId&gt;
      &lt;artifactId&gt;javaee-api&lt;/artifactId&gt;
      &lt;version&gt;7.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;javax.transaction&lt;/groupId&gt;
      &lt;artifactId&gt;jta&lt;/artifactId&gt;
      &lt;version&gt;1.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.oracle&lt;/groupId&gt;
      &lt;artifactId&gt;ojdbc14&lt;/artifactId&gt;
      &lt;version&gt;14&lt;/version&gt;
  &lt;scope&gt;system&lt;/scope&gt;
  &lt;systemPath&gt;C:/Eclipse_Juno/workspace/subscription/lib/ojdbc14.jar&lt;/systemPath&gt;
  &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;build&gt;
   &lt;finalName&gt;subscription&lt;/finalName&gt;
  &lt;/build&gt;
  </code></pre>