Shouldn't org.glassfish.api be 10.0.0-rev2 instead of 10.0-SNAPSHOT? There is
something weird with this rev, as it wasn't picked up for me when it was chenged
from rev1 to rev2 in my pom. I don't remember what exactly did I do, but
something like removing and adding the lines in my pom.xml. But SHAPSHOT is
different.
[1] is the stacktraces.
-marina
[1]
Path to dependency:
1) com.sun.enterprise:hk2-maven-plugin:maven-plugin:0.3.2
2) com.sun.enterprise:auto-depends-plugin:jar:0.3.2
3) com.sun.xml.bind:jaxb-xjc:jar:2.1.3
4) com.sun.xml.bind:jaxb-impl:jar:2.1.3
5) javax.xml.bind:jaxb-api:jar:2.1
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Unable to get dependency information: Unable to read the metadata file for
artifact 'javax.activation:activation:jar': Cannot find parent:
org.glassfish.api:api for project: javax.activation:activation:jar:1.1 for
project javax.activation:activation:jar:1.1
javax.activation:activation:jar:1.1
from the specified remote repositories:
repo1.maven.org (
http://repo1.maven.org/maven2),
maven2.java.net (
http://download.java.net/maven/2),
glassfish-repository (
http://download.java.net/maven/glassfish),
java.net (
http://download.java.net/maven/1),
maven2.java.net-backup (
https://maven2-repository.dev.java.net/nonav/repository),
maven-repository.dev.java.net (
https://maven-repository.dev.java.net/repository),
glassfish-repository-wsinterop (
http://maven.dyndns.org/glassfish/),
central (
http://repo1.maven.org/maven2),
java-dev-repository (
https://maven-repository.dev.java.net/nonav/repository),
maven2-repository.dev.java.net
(
https://maven2-repository.dev.java.net/repository),
maven2.java.net-wsinterop (
http://maven.dyndns.org/2)
Path to dependency:
1) com.sun.enterprise:hk2-maven-plugin:maven-plugin:0.3.2
2) com.sun.enterprise:auto-depends-plugin:jar:0.3.2
3) com.sun.xml.bind:jaxb-xjc:jar:2.1.3
4) com.sun.xml.bind:jaxb-impl:jar:2.1.3
5) javax.xml.bind:jaxb-api:jar:2.1
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:365)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:370)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:370)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:370)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:370)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:76)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:292)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:280)
at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete(DefaultPluginManager.java:658)
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:561)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:425)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to
read the metadata file for artifact 'javax.activation:activation:jar': Cannot
find parent: org.glassfish.api:api for project:
javax.activation:activation:jar:1.1 for project javax.activation:activation:jar:1.1
at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:134)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:342)
... 27 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.glassfish.api:api for project: javax.activation:activation:jar:1.1
for project javax.activation:activation:jar:1.1
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1259)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:745)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:233)
at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105)
... 28 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.glassfish.api:api' not found in repository: Unable to locate resource in
repository
org.glassfish.api:api:pom:10.0-SNAPSHOT
from the specified remote repositories:
repo1.maven.org (
http://repo1.maven.org/maven2),
maven2.java.net (
http://download.java.net/maven/2),
glassfish-repository (
http://download.java.net/maven/glassfish),
java.net (
http://download.java.net/maven/1),
maven2.java.net-backup (
https://maven2-repository.dev.java.net/nonav/repository),
maven-repository.dev.java.net (
https://maven-repository.dev.java.net/repository),
glassfish-repository-wsinterop (
http://maven.dyndns.org/glassfish/),
central (
http://repo1.maven.org/maven2),
java-dev-repository (
https://maven-repository.dev.java.net/nonav/repository),
maven2-repository.dev.java.net
(
https://maven2-repository.dev.java.net/repository),
maven2.java.net-wsinterop (
http://maven.dyndns.org/2)
for project org.glassfish.api:api
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:571)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1255)
... 31 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to locate resource in repository
org.glassfish.api:api:pom:10.0-SNAPSHOT
from the specified remote repositories:
repo1.maven.org (
http://repo1.maven.org/maven2),
maven2.java.net (
http://download.java.net/maven/2),
glassfish-repository (
http://download.java.net/maven/glassfish),
java.net (
http://download.java.net/maven/1),
maven2.java.net-backup (
https://maven2-repository.dev.java.net/nonav/repository),
maven-repository.dev.java.net (
https://maven-repository.dev.java.net/repository),
glassfish-repository-wsinterop (
http://maven.dyndns.org/glassfish/),
central (
http://repo1.maven.org/maven2),
java-dev-repository (
https://maven-repository.dev.java.net/nonav/repository),
maven2-repository.dev.java.net
(
https://maven2-repository.dev.java.net/repository),
maven2.java.net-wsinterop (
http://maven.dyndns.org/2)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:206)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:524)
... 32 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
locate resource in repository
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:100)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:94)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:446)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:347)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:190)
... 34 more
Caused by: java.io.FileNotFoundException:
http://maven.dyndns.org/glassfish/org/glassfish/api/api/10.0-SNAPSHOT/api-10.0-SNAPSHOT.pom
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147)
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
... 38 more
[INFO] ------------------------------------------------------------------------
Bhakti Mehta wrote:
> I am trying to reproduce it too, we are working on certain issues with
> fresh checkout and trying to address those, but this is different
> Can you run with -e and send the log.
> Regards,
> Bhakti
> Marina Vatkina wrote:
>
>> This is on the latest 'svn update' followed by 'mvn clean install'.
>>
>> -marina
>>
>> [INFO] Building Common Utilities
>> [INFO] task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean]
>> [INFO] Deleting directory /export/v3/v3/common/common-util/target
>> [INFO] [antrun:run {execution: default}]
>> [INFO] Executing tasks
>> [delete] Deleting:
>> /export/v3/v3/common/common-util/src/main/java/com/sun/appserv/server/util/Version.java
>>
>> [copy] Copying 1 file to
>> /export/v3/v3/common/common-util/src/main/java/com/sun/appserv/server/util
>>
>> [INFO] Executed tasks
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.glassfish.api
>> ArtifactId: api
>> Version: 10.0-SNAPSHOT
>>
>> Reason: Unable to locate resource in repository
>>
>> org.glassfish.api:api:pom:10.0-SNAPSHOT
>>
>> from the specified remote repositories:
>> repo1.maven.org (http://repo1.maven.org/maven2),
>> maven2.java.net (http://download.java.net/maven/2),
>> glassfish-repository (http://download.java.net/maven/glassfish),
>> java.net (http://download.java.net/maven/1),
>> maven2.java.net-backup
>> (https://maven2-repository.dev.java.net/nonav/repository),
>> maven-repository.dev.java.net
>> (https://maven-repository.dev.java.net/repository),
>> glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/),
>> central (http://repo1.maven.org/maven2),
>> java-dev-repository
>> (https://maven-repository.dev.java.net/nonav/repository),
>> maven2-repository.dev.java.net
>> (https://maven2-repository.dev.java.net/repository),
>> maven2.java.net-wsinterop (http://maven.dyndns.org/2)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>