Witam, mam problem żeby dodać zależnośći do projektu javowego....
Projekt jest zmejwenizowany, pozostałe zależności OK, ale nie wiem jak dodać np.
Taką zależność JRE System Liblary[JavaSE-1.6], z automatu ustawi mi się 1.5 - probowałem
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
ale wywala mi błąd podczas mvn install:
.../.../../pom.xml: Unrecognised tag: 'configuration' (position: START_TAG seen ...</version>\n \t\t<configuration>... @70:21)
Drugi problem to zależności do JBoss v5.0... podczas wyszkania w mavenie np.
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-adminclient</artifactId>
<version>5.1.0.GA</version>
</dependency>
to podczas dodawania zależności wyskakuje bląd żę takiego artefaktu nie można znaleźć....
ArtifactDescriptorException: Failed to read artifact descriptor for org.jboss.naming:jnp-client:jar:5.0.3.GA: ArtifactResolutionException: Failure to transfer org.jboss.naming:jnp-client:pom:5.0.3.GA from http://repository.jboss.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of repository.jboss.org has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.naming:jnp-client:pom:5.0.3.GA from/to repository.jboss.org (http://repository.jboss.org/maven2): Access denied to http://repository.jboss.org/maven2/org/jboss/naming/jnp-client/5.0.3.GA/jnp-client-5.0.3.GA.pom. Error code 403, Forbidden