system/src/sc/repos/mvn/MvnRepositoryManager.java
public RepositoryPackage registerNameForPackage(RepositoryPackage pkg, String name) {
      if (pkg instanceof MvnRepositoryPackage) {
         MvnRepositoryPackage mpkg = (MvnRepositoryPackage) pkg;
         String groupId = mpkg.getGroupId();
         if (groupId != null) {
            String newName = groupId + "/" + name;
            if (!pkg.packageName.equals(newName)) {
               pkg = system.registerAlternateName(pkg, newName);
            }
         }
      }
      return pkg;
   }
/**
    * For nested modules, we create the package with one name, then once we read the POM we figure out it's name in the maven package
    * space.  If there are dependencies to a module we need to resolve them against the maven name or we'll load the whole thing again.
    */
For nested modules, we create the package with one name, then once we read the POM we figure out it's name in the maven package
space.  If there are dependencies to a module we need to resolve them against the maven name or we'll load the whole thing again.
For nested modules we create the package with one name then once we read the POM we figure out it ' s name in the maven package space . If there are dependencies to a module we need to resolve them against the maven name or we ' ll load the whole thing again .
public RepositoryPackage registerNameForPackage(RepositoryPackage pkg, String name) {
      if (pkg instanceof MvnRepositoryPackage) {
         MvnRepositoryPackage mpkg = (MvnRepositoryPackage) pkg;
         String groupId = mpkg.getGroupId();
         if (groupId != null) {
            String newName = groupId + "/" + name;
            if (!pkg.packageName.equals(newName)) {
               pkg = system.registerAlternateName(pkg, newName);
            }
         }
      }
      return pkg;
   }
public RepositoryPackage registerNameForPackage ( RepositoryPackage pkg , String name ) { if ( pkg instanceof MvnRepositoryPackage ) { MvnRepositoryPackage mpkg = ( MvnRepositoryPackage ) pkg ; String groupId = mpkg . getGroupId ( ) ; if ( groupId != null ) { String newName = groupId + "/" + name ; if ( ! pkg . packageName . equals ( newName ) ) { pkg = system . registerAlternateName ( pkg , newName ) ; } } } return pkg ; }
For nested modules, we create the package with one name, then once we read the POM we figure out it's name in the maven package
 space.
For nested modules we create the package with one name then once we read the POM we figure out it ' s name in the maven package space .