Uploading of site descriptors

View: New views
5 Messages — Rating Filter:   Alert me  

Uploading of site descriptors

by Patrick Ernst-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

we are using Artifactory 2.07 and if we try to upload a parent pom with an associated site.xml descriptor, the pom.xml will be uploaded correctly.

[INFO] Retrieving previous build number from central
8K uploaded  (parent-2.0.0-20090905.103734-2.pom)

However, for the site.xml we always get the following error message:

[INFO] Uploading site descriptor for parent 2.0.0-20090905.103928-3 site.xml
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] not adding permissions to wagon connection
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------

The complete error trace is attached at the end.

Is this a general problem or how must we configure our Artifactory 2.07 to work properly with site descriptors.

Best regards,

Patrick


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
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:597)
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.plugin.MojoExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
... 17 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:129)
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
... 19 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:449)
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:113)
... 20 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:181)
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:445)
... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Sat Sep 05 12:39:34 CEST 2009
[INFO] Final Memory: 24M/79M
[INFO] ------------------------------------------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: Uploading of site descriptors

by Yoav Landman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Patrick,

What does the server side (artifactory.log) say when getting this error?
Yoav


On Sat, Sep 5, 2009 at 1:48 PM, Patrick Ernst <patrick6585@...> wrote:
Hello,

we are using Artifactory 2.07 and if we try to upload a parent pom with an associated site.xml descriptor, the pom.xml will be uploaded correctly.

[INFO] Retrieving previous build number from central
8K uploaded  (parent-2.0.0-20090905.103734-2.pom)

However, for the site.xml we always get the following error message:

[INFO] Uploading site descriptor for parent 2.0.0-20090905.103928-3 site.xml
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] not adding permissions to wagon connection
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------

The complete error trace is attached at the end.

Is this a general problem or how must we configure our Artifactory 2.07 to work properly with site descriptors.

Best regards,

Patrick


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
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:597)
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.plugin.MojoExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
... 17 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:129)
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
... 19 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:449)
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:113)
... 20 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:181)
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:445)
... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Sat Sep 05 12:39:34 CEST 2009
[INFO] Final Memory: 24M/79M
[INFO] ------------------------------------------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: Uploading of site descriptors

by Patrick Ernst-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Yoav,

the artifactory access logs says:

2009-09-06 11:02:54,605 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:02:54,749 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml.sha1 for ernst/88.134.114.130.
2009-09-06 11:02:55,548 [ACCEPTED DEPLOY] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-SNAPSHOT.pom for ernst/88.134.114.130.
2009-09-06 11:02:58,581 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:02:58,765 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml.sha1 for ernst/88.134.114.130.
2009-09-06 11:03:00,776 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:03:01,075 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/maven-metadata.xml.sha1 for ernst/88.134.114.130.

The other two logs are stating no new information during the the deployment.
The Maven command executed is 

mvn clean install deploy.

Regargs,

- Patrick

On Sep 5, 2009, at 7:17 PM, Yoav Landman wrote:

Patrick,

What does the server side (artifactory.log) say when getting this error?
Yoav


On Sat, Sep 5, 2009 at 1:48 PM, Patrick Ernst <patrick6585@...> wrote:
Hello,

we are using Artifactory 2.07 and if we try to upload a parent pom with an associated site.xml descriptor, the pom.xml will be uploaded correctly.

[INFO] Retrieving previous build number from central
8K uploaded  (parent-2.0.0-20090905.103734-2.pom)

However, for the site.xml we always get the following error message:

[INFO] Uploading site descriptor for parent 2.0.0-20090905.103928-3 site.xml
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] not adding permissions to wagon connection
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------

The complete error trace is attached at the end.

Is this a general problem or how must we configure our Artifactory 2.07 to work properly with site descriptors.

Best regards,

Patrick


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
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:597)
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.plugin.MojoExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
... 17 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:129)
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
... 19 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:449)
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:113)
... 20 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:181)
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:445)
... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Sat Sep 05 12:39:34 CEST 2009
[INFO] Final Memory: 24M/79M
[INFO] ------------------------------------------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: Uploading of site descriptors

by Yoav Landman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We will try to see if we can reproduce it locally. Which Maven version?

On Sun, Sep 6, 2009 at 12:08 PM, Patrick Ernst <patrick6585@...> wrote:
Hi Yoav,

the artifactory access logs says:

2009-09-06 11:02:54,605 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:02:54,749 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml.sha1 for ernst/88.134.114.130.
2009-09-06 11:02:55,548 [ACCEPTED DEPLOY] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-SNAPSHOT.pom for ernst/88.134.114.130.
2009-09-06 11:02:58,581 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:02:58,765 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml.sha1 for ernst/88.134.114.130.
2009-09-06 11:03:00,776 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:03:01,075 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/maven-metadata.xml.sha1 for ernst/88.134.114.130.

The other two logs are stating no new information during the the deployment.
The Maven command executed is 

mvn clean install deploy.

Regargs,

- Patrick

On Sep 5, 2009, at 7:17 PM, Yoav Landman wrote:

Patrick,

What does the server side (artifactory.log) say when getting this error?
Yoav


On Sat, Sep 5, 2009 at 1:48 PM, Patrick Ernst <patrick6585@...> wrote:
Hello,

we are using Artifactory 2.07 and if we try to upload a parent pom with an associated site.xml descriptor, the pom.xml will be uploaded correctly.

[INFO] Retrieving previous build number from central
8K uploaded  (parent-2.0.0-20090905.103734-2.pom)

However, for the site.xml we always get the following error message:

[INFO] Uploading site descriptor for parent 2.0.0-20090905.103928-3 site.xml
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] not adding permissions to wagon connection
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------

The complete error trace is attached at the end.

Is this a general problem or how must we configure our Artifactory 2.07 to work properly with site descriptors.

Best regards,

Patrick


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
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:597)
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.plugin.MojoExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
... 17 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:129)
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
... 19 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:449)
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:113)
... 20 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:181)
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:445)
... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Sat Sep 05 12:39:34 CEST 2009
[INFO] Final Memory: 24M/79M
[INFO] ------------------------------------------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: Uploading of site descriptors

by Patrick Ernst-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Apache Maven 2.2.0


On Sep 7, 2009, at 8:11 AM, Yoav Landman wrote:

We will try to see if we can reproduce it locally. Which Maven version?

On Sun, Sep 6, 2009 at 12:08 PM, Patrick Ernst <patrick6585@...> wrote:
Hi Yoav,

the artifactory access logs says:

2009-09-06 11:02:54,605 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:02:54,749 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml.sha1 for ernst/88.134.114.130.
2009-09-06 11:02:55,548 [ACCEPTED DEPLOY] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-SNAPSHOT.pom for ernst/88.134.114.130.
2009-09-06 11:02:58,581 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:02:58,765 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/2.0.0-SNAPSHOT/maven-metadata.xml.sha1 for ernst/88.134.114.130.
2009-09-06 11:03:00,776 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/maven-metadata.xml for ernst/88.134.114.130.
2009-09-06 11:03:01,075 [ACCEPTED DOWNLOAD] libs-snapshots-local:dfki/km/medico/parent/maven-metadata.xml.sha1 for ernst/88.134.114.130.

The other two logs are stating no new information during the the deployment.
The Maven command executed is 

mvn clean install deploy.

Regargs,

- Patrick

On Sep 5, 2009, at 7:17 PM, Yoav Landman wrote:

Patrick,

What does the server side (artifactory.log) say when getting this error?
Yoav


On Sat, Sep 5, 2009 at 1:48 PM, Patrick Ernst <patrick6585@...> wrote:
Hello,

we are using Artifactory 2.07 and if we try to upload a parent pom with an associated site.xml descriptor, the pom.xml will be uploaded correctly.

[INFO] Retrieving previous build number from central
8K uploaded  (parent-2.0.0-20090905.103734-2.pom)

However, for the site.xml we always get the following error message:

[INFO] Uploading site descriptor for parent 2.0.0-20090905.103928-3 site.xml
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] not adding permissions to wagon connection
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------

The complete error trace is attached at the end.

Is this a general problem or how must we configure our Artifactory 2.07 to work properly with site descriptors.

Best regards,

Patrick


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
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:597)
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.plugin.MojoExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
... 17 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:129)
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
... 19 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException: Error while deploying metadata: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:449)
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:113)
... 20 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://www.dfki.uni-kl.de/artifactory2/libs-snapshots-local/dfki/km/medico/parent/2.0.0-SNAPSHOT/parent-2.0.0-20090905.103928-3-site.xml. Return code is: 400
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:181)
at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:445)
... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Sat Sep 05 12:39:34 CEST 2009
[INFO] Final Memory: 24M/79M
[INFO] ------------------------------------------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users