File tree Expand file tree Collapse file tree
src/main/java/com/commercetools/sync/commons/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import io .sphere .sdk .client .SolutionInfo ;
44
5+ import static java .lang .String .format ;
56import static java .util .Optional .ofNullable ;
67
78public class SyncSolutionInfo extends SolutionInfo {
@@ -16,13 +17,14 @@ public class SyncSolutionInfo extends SolutionInfo {
1617 *
1718 */
1819 public SyncSolutionInfo () {
20+ final String libraryName = "commercetools-sync-java" ;
1921 final String implementationTitle = ofNullable (getClass ().getPackage ().getImplementationTitle ())
20- .orElse ("DEBUG-TITLE" );
22+ .orElse (libraryName );
2123 final String implementationVersion = ofNullable (getClass ().getPackage ().getImplementationVersion ())
2224 .orElse ("DEBUG-VERSION" );
2325 setName (implementationTitle );
2426 setVersion (implementationVersion );
25- setWebsite ("https://github.com/commercetools/commercetools-sync-java" );
27+ setWebsite (format ( "https://github.com/commercetools/%s" , libraryName ) );
2628 setEmergencyContact ("ps-dev@commercetools.com" );
2729 }
2830}
You can’t perform that action at this time.
0 commit comments