[maven-scm] Fix bad requires from maven-scm-test
by Bruno Wolff III
commit a2be2111340b23c062f373b4a4da68bc97af5093
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Fri Nov 18 14:52:45 2011 -0600
Fix bad requires from maven-scm-test
The definition of epoch in the spec file was removed in the
previous release. However %{epoch} was still being used in a requires
for mavem-scm-test which casued problems when causing maven-scm-test.
maven-scm.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/maven-scm.spec b/maven-scm.spec
index 8563930..8efd53c 100644
--- a/maven-scm.spec
+++ b/maven-scm.spec
@@ -30,7 +30,7 @@
Name: maven-scm
Version: 1.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Common API for doing SCM operations
License: ASL 2.0
Group: Development/Libraries
@@ -95,7 +95,7 @@ tools (e.g. Continum) in providing them a common API for doing SCM operations.
%package test
Summary: Tests for %{name}
Group: Development/Tools
-Requires: maven-scm = %{epoch}:%{version}-%{release}
+Requires: maven-scm = %{version}-%{release}
%description test
Tests for %{name}.
@@ -178,6 +178,9 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%{_javadocdir}/*
%changelog
+* Fri Nov 18 2011 Bruno Wolff III <bruno(a)wolff.to> 1.5-3
+- Fix issue with bad requires by maven-scm-test
+
* Tue Nov 15 2011 Jaromir Capik <jcapik(a)redhat.com> 1.5-2
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
12 years, 6 months
[Bug 750203] New: Maven2 randomly fails build project
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Maven2 randomly fails build project
https://bugzilla.redhat.com/show_bug.cgi?id=750203
Summary: Maven2 randomly fails build project
Product: Fedora
Version: 16
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: maven2
AssignedTo: yyang(a)redhat.com
ReportedBy: pahan(a)hubbitus.info
QAContact: extras-qa(a)fedoraproject.org
CC: dbhole(a)redhat.com, yyang(a)redhat.com,
akurtako(a)redhat.com, sochotni(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Description of problem:
We use maven2 to our project. It consists from several modules. Maven build
randomly failed build all project like:
$ mvn install -Dmaven.test.skip=true -Pcopy-dep
[skip]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:21.666s
[INFO] Finished at: Mon Oct 31 14:32:57 MSK 2011
[INFO] Final Memory: 21M/289M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project imus-esb-core: Could not resolve
dependencies for project
ru.antinform.ascug.esb.module:imus-esb-core:jar:1.4.6-SNAPSHOT: Could not find
artifact ru.antinform.ascug.domain:ascug-domain:jar:tests:1.4.6-SNAPSHOT ->
[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/DependencyResolutionExce...
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :imus-esb-core
When I rerun it as:
$ mvn install -Dmaven.test.skip=true -Pcopy-dep -rf :imus-esb-core
it is most possible imus-esb-core module wilol be built.
Wery strange, but resolve problems seams randoms on first glance.
Sequential rerun and continue allow me built full project, but it take very
long time...
Version-Release number of selected component (if applicable):
$ rpm -qa 'maven*'
maven-release-2.2-3.fc16.noarch
maven-test-tools-1.2-9.fc16.noarch
maven-resources-plugin-2.5-4.fc16.noarch
maven-shared-file-management-1.2.2-18.fc16.noarch
maven-toolchain-2.2.1-28.fc16.noarch
maven-shared-invoker-2.0.12-18.fc16.noarch
maven-doxia-1.2-2.fc16.noarch
maven-parent-20-1.fc16.noarch
maven-deploy-plugin-2.7-1.fc16.noarch
maven-shared-reporting-api-3.0-18.fc16.noarch
maven-shared-15-18.fc16.noarch
maven-monitor-2.2.1-28.fc16.noarch
maven-javadoc-plugin-2.8-1.fc16.noarch
maven-surefire-provider-junit-2.9-1.fc16.noarch
maven-enforcer-plugin-1.0.1-2.fc16.noarch
maven-surefire-2.9-1.fc16.noarch
maven-artifact-manager-2.2.1-28.fc16.noarch
maven-shared-repository-builder-1.0-18.fc16.noarch
maven-install-plugin-2.3.1-3.fc16.noarch
maven-antrun-plugin-1.6-4.fc16.noarch
maven-project-2.2.1-28.fc16.noarch
maven-plugin-tools-model-2.7-1.fc16.noarch
maven-3.0.3-15.fc16.x86_64
maven-jxr-2.3-1.fc16.noarch
maven-compiler-plugin-2.3.2-4.fc16.noarch
maven-pmd-plugin-2.5-5.fc16.noarch
maven-surefire-plugin-2.9-1.fc16.noarch
maven-shared-monitor-1.0-18.fc16.noarch
maven-plugin-tools-beanshell-2.7-1.fc16.noarch
maven-dependency-plugin-2.3-1.fc16.noarch
maven2-2.2.1-28.fc16.noarch
maven-rar-plugin-2.2-6.fc16.noarch
maven-enforcer-rules-1.0.1-2.fc16.noarch
maven-shared-common-artifact-filters-1.3-18.fc16.noarch
maven-shared-dependency-tree-1.3-18.fc16.noarch
maven-project-info-reports-plugin-2.4-1.fc16.noarch
maven-plugin-build-helper-1.5-3.fc15.noarch
maven-archiver-2.4.1-7.fc16.noarch
maven-plugin-registry-2.2.1-28.fc16.noarch
maven-error-diagnostics-2.2.1-28.fc16.noarch
maven-wagon-1.0-0.3.b7.22.fc16.noarch
maven-plugin-testing-1.2-9.fc16.noarch
maven-eclipse-plugin-2.8-5.fc16.noarch
maven-stage-plugin-1.0-0.3.alpha2.fc16.noarch
maven-shared-reporting-impl-2.1-18.fc16.noarch
maven-shared-dependency-analyzer-1.2-18.fc16.noarch
maven-model-2.2.1-28.fc16.noarch
maven-plugin-tools-2.7-1.fc16.noarch
maven-war-plugin-2.1.1-4.fc16.noarch
maven-scm-1.5-1.fc16.noarch
maven2-common-poms-1.0-39.fc16.noarch
maven-release-manager-2.2-3.fc16.noarch
maven-doxia-sitetools-1.2-1.fc16.noarch
maven-enforcer-api-1.0.1-2.fc16.noarch
maven-clean-plugin-2.4.1-4.fc16.noarch
maven-surefire-report-plugin-2.9-1.fc16.noarch
maven-remote-resources-plugin-1.2.1-2.fc16.noarch
maven-assembly-plugin-2.2.1-3.fc16.noarch
maven-plugin-plugin-2.7-1.fc16.noarch
maven-jar-plugin-2.3.2-1.fc16.noarch
maven-enforcer-1.0.1-2.fc16.noarch
maven-shared-artifact-resolver-1.1-18.fc16.noarch
maven-profile-2.2.1-28.fc16.noarch
maven-plugin-tools-java-2.7-1.fc16.noarch
maven-one-plugin-1.2-6.fc16.noarch
maven-idea-plugin-2.2-5.fc16.noarch
maven-shared-model-converter-2.3-18.fc16.noarch
maven-plugin-tools-api-2.7-1.fc16.noarch
maven-plugin-bundle-2.0.0-10.fc16.noarch
maven-release-plugin-2.2-3.fc16.noarch
maven-source-plugin-2.1.2-6.fc16.noarch
maven-shared-downloader-1.2-18.fc16.noarch
maven-site-plugin-2.3-3.fc16.noarch
maven-plugin-jxr-2.3-1.fc16.noarch
maven-plugin-testing-harness-1.2-9.fc16.noarch
maven-filtering-1.0-4.fc16.noarch
maven-shared-io-1.2-18.fc16.noarch
maven-gpg-plugin-1.3-1.fc16.noarch
maven-doxia-tools-1.2-5.fc15.noarch
How reproducible:
Error reproduced each time, but concrete errors seams random.
Built on щзутовл 1.6:
# LANG=C alternatives --config java
There are 3 programs which provide 'java'.
Selection Command
-----------------------------------------------
+ 1 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
2 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
* 3 /usr/java/jdk1.7.0/jre/bin/java
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 6 months
[maven-pmd-plugin] Update to latest upstream.
by Alexander Kurtakov
commit 2669c40ed28092cad47bcd5684cf8a6b1e6e42e7
Author: Alexander Kurtakov < <akurtako(a)redhat.com>
Date: Fri Nov 18 11:28:00 2011 +0200
Update to latest upstream.
.gitignore | 1 +
maven-pmd-plugin.spec | 9 +++++----
sources | 2 +-
3 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6477378..12f3e72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
maven-pmd-plugin-2.5.tar.xz
/maven-pmd-plugin-2.5-source-release.zip
+maven-pmd-plugin-2.6-source-release.zip
diff --git a/maven-pmd-plugin.spec b/maven-pmd-plugin.spec
index d8ad9d8..d4891f3 100644
--- a/maven-pmd-plugin.spec
+++ b/maven-pmd-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-pmd-plugin
-Version: 2.5
-Release: 5%{?dist}
+Version: 2.6
+Release: 1%{?dist}
Summary: Maven PMD Plugin
Group: Development/Libraries
@@ -37,8 +37,6 @@ Requires: pmd
Requires: junit
Requires: jpackage-utils
Requires: java
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
Provides: maven2-plugin-pmd = %{version}-%{release}
Obsoletes: maven2-plugin-pmd <= 0:2.0.8
@@ -92,6 +90,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%{_javadocdir}/%{name}
%changelog
+* Fri Nov 18 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.6-1
+- Update to latest upstream.
+
* Wed Jul 6 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.5-5
- Adapt to current guidelines.
diff --git a/sources b/sources
index 101465e..c845d66 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8af1a9a23b126a982a42105341d579e0 maven-pmd-plugin-2.5-source-release.zip
+5db28bb18bad1c711277aebe56aafe36 maven-pmd-plugin-2.6-source-release.zip
12 years, 6 months