this.target = target;
this.composerPackage = composerPackage;
// load package with versions
AsyncPackageDownloader downloader = new AsyncPackagistDownloader();
downloader.addPackageListener(new PackageListenerInterface() {
public void packageLoaded(final RepositoryPackage repositoryPackage) {
dataArrived = true;
pkg = repositoryPackage;
// get major and minor