public void reset () { setGroupId ( null ); setArtifactId ( null ); setVersion ( null ); }
public ArchetypeDefinition createArchetypeDefinition(Properties properties) { ArchetypeDefinition definition = new ArchetypeDefinition(); definition.setGroupId(properties.getProperty(Constants.ARCHETYPE_GROUP_ID, null)); definition.setArtifactId(properties.getProperty(Constants.ARCHETYPE_ARTIFACT_ID, null)); definition.setVersion(properties.getProperty(Constants.ARCHETYPE_VERSION, null)); definition.setRepository(properties.getProperty(Constants.ARCHETYPE_REPOSITORY, null)); return definition; }
definition.setArtifactId(request.getArchetypeArtifactId()); definition.setVersion(request.getArchetypeVersion()); definition.setArtifactId(foundArchetype.getArtifactId()); definition.setVersion(foundArchetype.getVersion()); definition.setName(foundArchetype.getArtifactId()); definition.setVersion(null); definition.setGroupId(null); definition.setArtifactId(null); definition.setArtifactId(DEFAULT_ARCHETYPE_ARTIFACTID); definition.setArtifactId(selectedArchetype.getArtifactId()); definition.setVersion(selectedArchetype.getVersion()); definition.setName(selectedArchetype.getArtifactId());
ad.setArtifactId(request.getArchetypeArtifactId());
archetypeDefinition.setArtifactId(archetypeCreationQueryer.getArchetypeArtifactId(project.getArtifactId() + Constants.ARCHETYPE_SUFFIX));