You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2014/07/09 21:14:18 UTC

svn commit: r1609268 - in /maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources: ./ path/ path/to/

Author: rfscholte
Date: Wed Jul  9 19:14:17 2014
New Revision: 1609268

URL: http://svn.apache.org/r1609268
Log:
IT to verify that sources and javadoc are uploaded as well when using deploy-file

Added:
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/invoker.properties
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0-javadoc.jar   (with props)
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0-sources.jar   (with props)
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0.jar   (with props)
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/pom.xml
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/test.properties
    maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/verify.groovy

Added: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/invoker.properties?rev=1609268&view=auto
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/invoker.properties (added)
+++ maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/invoker.properties Wed Jul  9 19:14:17 2014
@@ -0,0 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.goals = org.apache.maven.plugins:maven-deploy-plugin:${project.version}:deploy-file
\ No newline at end of file

Added: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0-javadoc.jar
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0-javadoc.jar?rev=1609268&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0-javadoc.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0-sources.jar
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0-sources.jar?rev=1609268&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0.jar
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0.jar?rev=1609268&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/artifact-name-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/pom.xml?rev=1609268&view=auto
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/pom.xml (added)
+++ maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/path/to/pom.xml Wed Jul  9 19:14:17 2014
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.its.deploy.184</groupId>
+  <artifactId>artifact-name</artifactId>
+  <version>1.0</version>
+
+  <url>http://jira.codehaus.org/browse/MDEPLOY-184</url>
+
+</project>

Added: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/test.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/test.properties?rev=1609268&view=auto
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/test.properties (added)
+++ maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/test.properties Wed Jul  9 19:14:17 2014
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+url = file:target/repo
+repositoryId = some.repo.id
+file = ./path/to/artifact-name-1.0.jar
+pomFile = ./path/to/pom.xml
+sources = ./path/to/artifact-name-1.0-sources.jar
+javadoc = ./path/to/artifact-name-1.0-javadoc.jar
\ No newline at end of file

Added: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/verify.groovy?rev=1609268&view=auto
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/verify.groovy (added)
+++ maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-184_deployfile-with-javadoc-and-sources/verify.groovy Wed Jul  9 19:14:17 2014
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+assert new File( basedir, "target/repo/org/apache/maven/its/deploy/184/artifact-name/1.0/artifact-name-1.0.jar" ).exists()
+assert new File( basedir, "target/repo/org/apache/maven/its/deploy/184/artifact-name/1.0/artifact-name-1.0.pom" ).exists()
+assert new File( basedir, "target/repo/org/apache/maven/its/deploy/184/artifact-name/1.0/artifact-name-1.0-sources.jar" ).exists()
+assert new File( basedir, "target/repo/org/apache/maven/its/deploy/184/artifact-name/1.0/artifact-name-1.0-javadoc.jar" ).exists()