Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings when building with Jenkings #54

Open
gsergiu opened this issue Sep 30, 2015 · 1 comment
Open

Warnings when building with Jenkings #54

gsergiu opened this issue Sep 30, 2015 · 1 comment
Milestone

Comments

@gsergiu
Copy link
Contributor

gsergiu commented Sep 30, 2015

The following maven warnings needs to be analized and corrected where possible.

Started by user Sergiu Gordea
Building on master in workspace /data/jenkins/jobs/annotation-api-snapshots/workspace

git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url https://github.com/europeana/annotation # timeout=10
Fetching upstream changes from https://github.com/europeana/annotation
git --version # timeout=10
git -c core.askpass=true fetch --tags --progress https://github.com/europeana/annotation +refs/heads/:refs/remotes/origin/
git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 0f88e5f (origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f 0f88e5f
git rev-list 0f88e5f # timeout=10
provisoning config files...
copy managed file [Annotations config] to file:/data/jenkins/jobs/annotation-api-snapshots/workspace/annotation/annotation-web/src/main/resources/config/annotation.properties
[workspace] $ mvn -f annotation/pom.xml -Dmaven.repo.local=/data/jenkins/jobs/annotation-api-snapshots/workspace/.repository clean install -DskipTests=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:api2-common:jar:0.2.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:annotation-api:0.2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/annotation/pom.xml, line 94, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ eu.europeana:corelib:2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/.repository/eu/europeana/corelib/2.1-SNAPSHOT/corelib-2.1-SNAPSHOT.pom, line 212, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-definitions:jar:0.2.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:annotation-api:0.2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/annotation/pom.xml, line 94, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ eu.europeana:corelib:2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/.repository/eu/europeana/corelib/2.1-SNAPSHOT/corelib-2.1-SNAPSHOT.pom, line 212, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-utils:jar:0.2.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:annotation-api:0.2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/annotation/pom.xml, line 94, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ eu.europeana:corelib:2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/.repository/eu/europeana/corelib/2.1-SNAPSHOT/corelib-2.1-SNAPSHOT.pom, line 212, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-mongo:jar:0.2.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:annotation-api:0.2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/annotation/pom.xml, line 94, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ eu.europeana:corelib:2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/.repository/eu/europeana/corelib/2.1-SNAPSHOT/corelib-2.1-SNAPSHOT.pom, line 212, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-solr:jar:0.2.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:annotation-api:0.2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/annotation/pom.xml, line 94, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ eu.europeana:corelib:2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/.repository/eu/europeana/corelib/2.1-SNAPSHOT/corelib-2.1-SNAPSHOT.pom, line 212, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-web:war:0.2.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 217, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ eu.europeana:corelib:2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/.repository/eu/europeana/corelib/2.1-SNAPSHOT/corelib-2.1-SNAPSHOT.pom, line 212, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-api:pom:0.2.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 94, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ eu.europeana:corelib:2.1-SNAPSHOT, /data/jenkins/jobs/annotation-api-snapshots/workspace/.repository/eu/europeana/corelib/2.1-SNAPSHOT/corelib-2.1-SNAPSHOT.pom, line 212, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

@gsergiu
Copy link
Contributor Author

gsergiu commented Jul 8, 2020

List of warnings in V0.3:

[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:api2-common:jar:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:api2-common:[unknown-version], /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/api2-common/pom.xml, line 65, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-definitions:jar:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-utils:jar:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-dereferenciation:jar:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:annotation-dereferenciation:[unknown-version], /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/annotation-dereferenciation/pom.xml, line 80, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-mongo:jar:0.3
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-context-support:jar -> duplicate declaration of version ${version.spring} @ eu.europeana.annotation:annotation-mongo:[unknown-version], /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/annotation-mongo/pom.xml, line 57, column 15
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-solr:jar:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-web:war:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-client:jar:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:annotation-client:[unknown-version], /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/annotation-client/pom.xml, line 118, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-import:jar:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ eu.europeana.annotation:annotation-import:[unknown-version], /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/annotation-import/pom.xml, line 41, column 12
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for eu.europeana.annotation:annotation-api:pom:0.3
[WARNING] 'version' contains an expression but should be a constant. @ eu.europeana.annotation:annotation-api:${version.annotationApi}, /var/lib/jenkins/jobs/annotation-api-production-v3/workspace/annotation/pom.xml, line 8, column 11
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

@gsergiu gsergiu added this to the V0.3.1 milestone Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant