Skip to content

Update to use Maven Annotations - #15

Merged
lukaszlenart merged 4 commits into
orphan-oss:masterfrom
hazendaz:master
Dec 30, 2014
Merged

Update to use Maven Annotations#15
lukaszlenart merged 4 commits into
orphan-oss:masterfrom
hazendaz:master

Conversation

@hazendaz

Copy link
Copy Markdown
Contributor

No description provided.

Upgrade to using java 5 annotations for maven as it is much cleaner.
Update assembly plugin
minor cleanup on formatting to be in sync.
maven-plugin-api to 3.2.5
maven-plugin-descriptor to 2.2.1
maven-assembly-plugin to 2.5.3
maven-surefire-plugin to 2.18.1
junit to 4.12

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed anymore

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not real clear here on what isn't necessary now. Method is called throughout code. Do you mean the cast to artifact? I think that is what you mean but not completely sure.

@lukaszlenart

Copy link
Copy Markdown
Collaborator

Looks good, few minor issues and I'm good :) Nice work!

Remove unnecessary artifact cast and use spacing similar to area of code
for runtimebits.
@lukaszlenart

Copy link
Copy Markdown
Collaborator

Let's rock!

lukaszlenart added a commit that referenced this pull request Dec 30, 2014
Update to use Maven Annotations
@lukaszlenart
lukaszlenart merged commit e773e9c into orphan-oss:master Dec 30, 2014
@lukaszlenart

Copy link
Copy Markdown
Collaborator

Because of the org.eclipse.m2e plugin there is a lot of warnings now :(

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://uk.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of uk has elapsed or updates are forced
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://uk.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of uk has elapsed or updates are forced

@hazendaz

Copy link
Copy Markdown
Contributor Author

Very strange. I do not believe I have seen that one before as an issue. Have you tried deleting that item from your local .m2/repository and trying again? If that doesn't end up helping that plugin is 100% safe to delete. All it does more or less is remove other warnings about life cycle issues which in turn can be modified to ignore anyways in eclipse.

--- Original Message ---

From: "Lukasz Lenart" notifications@github.com
Sent: January 15, 2015 3:21 AM
To: "lukaszlenart/launch4j-maven-plugin" launch4j-maven-plugin@noreply.github.com
Cc: "Jeremy Landis" jeremylandis@hotmail.com
Subject: Re: [launch4j-maven-plugin] Update to use Maven Annotations (#15)

Because of the org.eclipse.m2e plugin there is a lot of warnings now :(

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://uk.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of uk has elapsed or updates are forced
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://uk.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of uk has elapsed or updates are forced

Reply to this email directly or view it on GitHub:
#15 (comment)

@lukaszlenart

Copy link
Copy Markdown
Collaborator

try mvn clean source:jar - it happens only during release

@hazendaz

Copy link
Copy Markdown
Contributor Author

This can be ignored but if you want to delve farther, I found this http://stackoverflow.com/questions/7905501/get-rid-of-pom-not-found-warning-for-org-eclipse-m2elifecycle-mapping

@lukaszlenart

Copy link
Copy Markdown
Collaborator

Thanks! Moved the plugin into a profile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants