maybeec / lexeme

Language-aware XML Merger
Apache License 2.0
0 stars 2 forks source link

deploy first beta release to maven central #5

Closed maybeec closed 8 years ago

maybeec commented 8 years ago

waiting for https://issues.sonatype.org/browse/OSSRH-22393 to get resolved.

maybeec commented 8 years ago

@themetalone please check the release on staging repository to work properly with CobiGen. The staging repository is https://oss.sonatype.org/content/repositories/comgithubmaybeec-1000/. Just check the resolution and compatibility locally by temporarily including the repository in CobiGen's pom.

themetalone commented 8 years ago

I tried to check but ran into some problems. Following Mavens Guide to Testing staged repositories I added an profile to the xml-plugin pom. Although, Eclipse still cannot find it but running a mvn clean install -Pstaged-releases only tells me that some CobiGen dependencies cannot be resolved.

maybeec commented 8 years ago

Can you post your exact snippet added? Can you please also delete all lexeme libraries from your local repository first or run mvn with -U parameter.

themetalone commented 8 years ago

At the moment the maven build doenst work but probably because of my setup:

I added the following to the pom

    <dependency>
      <artifactId>lexeme</artifactId>
      <groupId>com.github.maybeec</groupId>
      <version>1.0.0</version>
    </dependency>
  </dependencies>

  <profiles>
    <profile>
      <id>staged-releases</id>
      <pluginRepositories>
        <pluginRepository>
          <id>staged-releases</id>
          <url>https://oss.sonatype.org/content/repositories/comgithubmaybeec-1000/</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
 </profiles>

and got

PS A:\xml\cobigen\cobigen-xmlplugin> mvn clean install -Pstaged-releases -U
[INFO] ------------------------------------------------------------------------
[INFO] Building CobiGen - XML Plug-In 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/com/capgemini/cobigen-core/1.2.0/cobigen-core-1.2.0.pom
[WARNING] The POM for com.capgemini:cobigen-core:jar:1.2.0 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/com/github/maybeec/lexeme/1.0.0/lexeme-1.0.0.pom
[WARNING] The POM for com.github.maybeec:lexeme:jar:1.0.0 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/com/capgemini/cobigen-core/1.2.0/cobigen-core-1.2.0.jar
Downloading: https://repo.maven.apache.org/maven2/com/github/maybeec/lexeme/1.0.0/lexeme-1.0.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cobigen-xmlplugin: Could not resolve dependencies for project com.capgemini:co
bigen-xmlplugin:jar:2.2.0-SNAPSHOT: The following artifacts could not be resolved: com.capgemini:cobigen-core:jar:1.2.0,
 com.github.maybeec:lexeme:jar:1.0.0: Could not find artifact com.capgemini:cobigen-core:jar:1.2.0 in central (https://r
epo.maven.apache.org/maven2) -> [Help 1]
maybeec commented 8 years ago

did you open up console with console.bat? seems that nexus is not registered as a repository. Today, I am also available at the university the whole day. So if you like, come around.

themetalone commented 8 years ago

I think I'll do that before 11:30