Git Product home page Git Product logo

www-composum-com's People

Contributors

stoerr avatar

Watchers

 avatar  avatar  avatar

www-composum-com's Issues

Create Github Package for public part of site

I think Github packages is appropriate for this, since the packages doesn't belong into maven central but have to be public, as a kind of perpetual snapshot, also not fit into the IST repository. One annoying point about Github packages is that you have to use a personal token to access the maven repository or use the GITHUB_TOKEN in a Github Action, which made a bit of headache for composum-launch, but, well, it is solveable, and I don't expect anybody to use that as maven repository except composum-launch.

For the record, interesting points about deploying to Github Repo:

  • In the settings.xml it needs
        <server>
              <id>github</id>
              <username>${env.GITHUB_ACTOR}</username>
              <password>${env.GITHUB_TOKEN}</password>
          </server>

  • The github workflows need the environment variables for these settings
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      GITHUB_ACTOR: ${{ github.actor }}
  • in the pom.xml with the same id as in servers:
	<distributionManagement>
		<repository>
			<id>github</id>
			<name>GitHub IST GmbH www-composum-com Apache Maven Packages</name>
			<url>https://maven.pkg.github.com/ist-dresden/www-composum-com</url>
		</repository>
		<snapshotRepository>
			<id>github</id>
			<name>GitHub IST GmbH www-composum-com Apache Maven Packages</name>
			<url>https://maven.pkg.github.com/ist-dresden/www-composum-com</url>
		</snapshotRepository>
	</distributionManagement>

  • when accessing it from another project, it needs the same server id in the settings, and a profile in the pom or settings or a repository entry like this, id of repository has to be like the entry in settings:
		<profile>
			<!-- Needed for downloading the example site www-composum-com -->
			<id>github-www-composum-com</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<repositories>
				<repository>
					<id>github</id>
					<url>https://maven.pkg.github.com/ist-dresden/www-composum-com</url>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
					<releases>
						<enabled>true</enabled>
					</releases>
				</repository>
			</repositories>
		</profile>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.