openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aitor Iturriondobeitia <laudio.i...@gmail.com>
Subject problem with openjpa and maven
Date Sat, 06 Apr 2013 00:15:43 GMT
hello
i am using openjpa and maven
into my pom file i have:
   <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>openjpa-maven-plugin</artifactId>
    <version>1.2</version>
    <executions>
      <execution>
        <id>enhancer</id>
        <phase>process-test-classes</phase>
        <goals>
          <goal>enhance</goal>
        </goals>
      </execution>
    </executions>
    <dependencies>
     <dependency>
      <groupId>org.apache.openjpa</groupId>
      <artifactId>openjpa</artifactId>
      <version>${openjpa.version}</version>
     </dependency>
    </dependencies>
    <configuration>
     <includes>com/db/jpa/entities/**/*.class</includes>
     <includes>com/db/jpa/entities/*.class</includes>
     <addDefaultConstructor>true</addDefaultConstructor>
     <enforcePropertyRestrictions>true</enforcePropertyRestrictions>

<persistenceXmlFile>${project.basedir}/src/main/resources/META-INF/persistence.xml</persistenceXmlFile>

    </configuration>
   </plugin>


but when i make one install appears the bellow error.
Can you help me please?

thanks


[INFO] --- openjpa-maven-plugin:1.2:enhance (enhancer) @ mioPrototypeDAO ---
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.jar
abr 06, 2013 2:14:44 AM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryConnect
Información: I/O exception (java.net.SocketException) caught when
connecting to the target host: Permission denied: connect
abr 06, 2013 2:14:44 AM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryConnect
Información: Retrying connect
abr 06, 2013 2:14:44 AM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryConnect
Información: I/O exception (java.net.SocketException) caught when
connecting to the target host: Permission denied: connect
abr 06, 2013 2:14:44 AM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryConnect
Información: Retrying connect
abr 06, 2013 2:14:44 AM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryConnect
Información: I/O exception (java.net.SocketException) caught when
connecting to the target host: Permission denied: connect
abr 06, 2013 2:14:44 AM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryConnect
Información: Retrying connect
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.480s
[INFO] Finished at: Sat Apr 06 02:14:44 CEST 2013
[INFO] Final Memory: 10M/218M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:openjpa-maven-plugin:1.2:enhance (enhancer) on project
mioPrototypeDAO: Execution enhancer of goal
org.codehaus.mojo:openjpa-maven-plugin:1.2:enhance failed: Plugin
org.codehaus.mojo:openjpa-maven-plugin:1.2 or one of its dependencies could
not be resolved: Could not transfer artifact
org.codehaus.plexus:plexus-utils:jar:1.5.7 from/to central (
http://repo.maven.apache.org/maven2): Permission denied: connect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message